Commit Graph

53 Commits

Author SHA1 Message Date
edX requirements bot
dda76a97af chore: Upgrade Python requirements 2024-12-05 10:48:15 -05:00
Irtaza Akram
ec2a698604 cleanup references of python 2 & <3.11 (#35799)
* chore: cleanup of old python references
2024-11-15 16:58:20 +05:00
Feanil Patel
5cb29848c3 chore: Update lxml
Run `make upgrade-package package='lxml[html_clean]'` to update lxml and
then `make compile-requirements`
2024-11-05 10:44:02 -05:00
edX requirements bot
e1ecf7296c chore: Upgrade Python requirements (#35735) 2024-10-29 12:17:40 +05:00
David Ormsbee
e286d78a29 chore: requirements updates (edx-search 4.1.0 and others) 2024-10-23 12:47:10 -04:00
Usama Sadiq
fcf78db09e fix: pin urllib3 in user retirement scripts (#35699)
* fix: pin urllib3 in user_retirement scripts
2024-10-22 19:16:40 +05:00
edX requirements bot
6d53952a1e chore: Upgrade Python requirements (#35688) 2024-10-22 18:14:37 +05:00
Muhammad Farhan
f078b1444f fix: remove urllib3<2.0.0 constraint and update dependencies (#35533) 2024-10-21 15:35:06 +05:00
edX requirements bot
178ffbbf7c chore: Upgrade Python requirements (#35651) 2024-10-16 22:14:29 +05:00
Diana Huang
e99769b0dd Revert "feat: Unpin xmlsec and lxml."
This reverts commit 6c045c7b39.
2024-10-11 10:58:42 -04:00
Diana Huang
6c045c7b39 feat: Unpin xmlsec and lxml.
We are now on Python 3.11 and running tests
on the latest version of Ubuntu, which seems to mean
we don't need these pins anymore. In fact, it seems
to break while on these pins.
2024-10-10 15:38:15 -04:00
github-actions[bot]
6c3d8fa520 feat: Upgrade Python dependency edx-django-utils (#35575)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: dianakhuang <2952947+dianakhuang@users.noreply.github.com>
2024-10-01 15:35:50 -04:00
edX requirements bot
f5e3635504 chore: Upgrade Python requirements 2024-09-26 10:13:02 -04:00
edX requirements bot
860ca3c204 chore: Upgrade Python requirements 2024-08-19 22:23:27 -04:00
Justin Hynes
e4855536fd Revert: revert generic retirement update (#35317)
* Revert "fix: change settings config to empty list not dict"

This reverts commit b65550c796.

* Revert "fix: dependencies again"

This reverts commit c06416bed7.

* Revert "feat: updated user retirement docs"

This reverts commit c9641b35d4.

* Revert "fix: install dependencies"

This reverts commit a5442b2409.

* Revert "Revert "fix: dependencies""

This reverts commit 4cde950007.

* Revert "fix: dependencies"

This reverts commit 8a1c30ebc5.

* Revert "fix: Add CI update for tests"

This reverts commit 64098b6dab.

* Revert "fix: tests"

This reverts commit 5e636dea16.

* Revert "fix: generalize internal services"

This reverts commit e8f9db428d.

* Revert "fix: quality"

This reverts commit 77ca0f754a.

* Revert "feat: Commerce Coordinator step in retirement pipeline"

This reverts commit c24c87499f.
2024-08-15 12:28:52 -04:00
Jade Olivier
c06416bed7 fix: dependencies again 2024-08-14 11:24:59 +02:00
Jade Olivier
c9641b35d4 feat: updated user retirement docs 2024-08-14 10:21:24 +02:00
Jade Olivier
a5442b2409 fix: install dependencies 2024-08-14 10:21:24 +02:00
Jade Olivier
4cde950007 Revert "fix: dependencies"
This reverts commit 2659ae9fff3ec9a85298cae623097177bd869659.
2024-08-14 10:21:24 +02:00
Jade Olivier
8a1c30ebc5 fix: dependencies 2024-08-14 10:21:24 +02:00
Jade Olivier
5e636dea16 fix: tests 2024-08-14 10:21:24 +02:00
Jade Olivier
e8f9db428d fix: generalize internal services 2024-08-14 10:21:24 +02:00
Jade Olivier
77ca0f754a fix: quality 2024-08-14 10:21:23 +02:00
Jade Olivier
c24c87499f feat: Commerce Coordinator step in retirement pipeline 2024-08-14 10:21:23 +02:00
edX requirements bot
834dc31073 chore: Upgrade Python requirements (#35241) 2024-08-06 19:18:33 +00:00
github-actions[bot]
3c64b747e5 feat: Upgrade Python dependency edx-django-utils (#35235)
Update to latest version with updates to function trace functionality.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: dianakhuang <2952947+dianakhuang@users.noreply.github.com>
2024-08-06 10:25:00 -04:00
Deborah Kaplan
a7f6cf160c feat: removing the from the retirement pipeline (#35215)
although the demographics IDA has not been entirely deprecated as yet,
it is about to be, so removing from the retirement pipeline.
2024-08-01 13:23:50 -04:00
Deborah Kaplan
089b34a6bf feat: removing the demographics application stage 2 (#35186)
* removing the application folder
* removing references in all other files

FIXES: APER-3560
2024-07-26 11:13:35 -04:00
edX requirements bot
9c303728b3 chore: Upgrade Python requirements 2024-07-16 11:14:27 -04:00
Feanil Patel
623061fde5 chore: Run make upgarde with Python 3.11 2024-06-11 11:30:22 -04:00
Muhammad Soban Javed
31572c2f13 chore: upgrade edx-django-utils to 5.14.2 (#34881) 2024-06-04 16:31:19 +05:00
Muhammad Soban Javed
d8675f8a06 feat: add FrontendMonitoringMiddleware in lms and studio (#34823)
* feat: add FrontendMonitoringMiddleware in lms and studio

* chore: upgrade edx-django-utils to 5.14.1
2024-05-23 16:29:59 +05:00
Kyle McCormick
11626148d9 refactor: switch from mock to unittest.mock (#34844)
As of Python 3.3, the 3rd-party `mock` package has been subsumed into the
standard `unittest.mock` package. Refactoring tests to use the latter will
allow us to drop `mock` as a dependency, which is currently coming in
transitively through requirements/edx/paver.in.

We don't actually drop the `mock` dependency in this PR. That will happen
naturally in:

* https://github.com/openedx/edx-platform/pull/34830
2024-05-22 13:52:24 -04:00
github-actions[bot]
73d3995dae feat: Upgrade Python dependency edx-enterprise, and introduce importlib-metadata (#34794)
* feat: Upgrade Python dependency edx-enterprise

Version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

* fix: reintroduce importlib_metadata

* chore: Updating Python Requirements (#34798)

---------

Co-authored-by: brobro10000 <82611798+brobro10000@users.noreply.github.com>
Co-authored-by: Hamzah Ullah <hamzahullah@yahoo.com>
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2024-05-14 15:22:06 -04:00
Feanil Patel
7734f023c8 chore: Run make upgrade 2024-05-08 15:49:14 -04:00
feanil
1d3fb01d3e feat: Upgrade Python dependency pytz
Routine requirement upgrade.  Doing it individually because there are too many changes in `make upgrade`.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-05-08 12:21:12 -04:00
magajh
4d87410890 chore: upgrade Django to 4.2.13 2024-05-08 11:19:11 -04:00
feanil
9c3fb1ee12 feat: Upgrade Python dependency certifi
Routine requirement upgrade.  Doing it individually because there are too many changes in `make upgrade`.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-05-08 11:01:32 -04:00
Feanil Patel
6f45093af2 chore: Upgrade cryptography and pyopenssl
Ran 'make upgrade-package package="cryptography --upgrade-package pyopenssl"`
2024-05-08 08:50:48 -04:00
feanil
a92c215d70 feat: Upgrade Python dependency Jinja2
Routine requirement upgrade.  Doing it individually because there are too many changes in `make upgrade`.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-05-07 18:18:21 -04:00
feanil
e94b942ec9 feat: Upgrade Python dependency cachetools
Routine requirement upgrade.  Doing it individually because there are too many changes in `make upgrade`.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/feanil/fix_one_upgrade`
2024-05-07 15:39:08 -04:00
Muhammad Farhan Khan
d3d3225fa6 Move user-retirement scripts docs near code (#34695)
* chore: Move user-retirement scripts docs near code

---------

Co-authored-by: Feanil Patel <feanil@axim.org>
2024-05-07 14:45:04 -04:00
Feanil Patel
25ecaa8f76 chore: Run package=sqlparse make upgrade-package 2024-05-06 14:44:13 -04:00
Feanil Patel
1d485ca2b8 build: Don't require the backports.zoneinfo package for newer python.
We do this so that we can build requirements files that could work to
`pip install` on both the old (3.8) and new (3.11) versions of python.
2024-05-01 10:03:42 -04:00
Usama Sadiq
188e486699 fix: fix lxml constraint issue (#34652)
* fix: pin lxml<5.0 version
* fix: update lxml constraint comment
---------
Co-authored-by: UsamaSadiq <UsamaSadiq@users.noreply.github.com>
2024-04-30 20:08:29 +05:00
Tim McCormack
afe93559b9 Revert "build: Python requirements upgrade and lxml build without binary (#34…" (#34661)
This reverts commit 52adce48d1 because we were getting this in the build pipeline:

```
WARNING: lxml 5.2.1 does not provide the extra 'html-clean'
ERROR: Exception:
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
    status = self.run(options, args)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
    return func(self, options, args)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 315, in run
    requirement_set = resolver.resolve(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve
    result = self._result = resolver.resolve(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 366, in resolve
    failure_causes = self._attempt_to_pin_criterion(name)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 221, in _attempt_to_pin_criterion
    satisfied = all(
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 222, in <genexpr>
    self._p.is_satisfied_by(requirement=r, candidate=candidate)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/provider.py", line 178, in is_satisfied_by
    return requirement.is_satisfied_by(candidate)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/requirements.py", line 84, in is_satisfied_by
    assert candidate.name == self.name, (
AssertionError: Internal issue: Candidate is not for this requirement lxml[html-clean,html-clean] vs lxml[html-clean]
WARNING: You are using pip version 21.2.1; however, version 24.0 is available.
You should consider upgrading via the '/edx/app/edxapp/venvs/edxapp/bin/python -m pip install --upgrade pip' command.
```
2024-04-29 21:06:45 +00:00
edX requirements bot
52adce48d1 build: Python requirements upgrade and lxml build without binary (#34655)
* build: build lxml without binary in requirements and CI workflows
---------
Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2024-04-29 23:48:57 +05:00
Usama Sadiq
734a5508ee fix: fix constraints path (#34638) 2024-04-26 21:15:51 +05:00
Usama Sadiq
9630d4080a build: use constraints in scripts requirements as well (#34635) 2024-04-26 16:17:40 +05:00
Usama Sadiq
7cf97ec0de fix: pin moto<5.0 (#34595) 2024-04-24 18:08:58 +05:00