Commit Graph

23 Commits

Author SHA1 Message Date
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
Feanil Patel
dbce490906 chore: Update edx-rest-api-client to a python 3.11 compatible version. 2024-04-09 11:24:09 -04:00
Feanil Patel
aa8497f260 chore: Update edx-django-utils to a python 3.11 compatible version. 2024-04-01 13:42:52 -04:00
Muhammad Farhan Khan
65ea55c8aa Move user retirement scripts code from the tubular repo (#34063)
* refactor: Migragte user retirement scripts code from the tubular repo
2024-02-22 11:09:00 -05:00