Commit Graph

105 Commits

Author SHA1 Message Date
edX requirements bot
e21d4b40db chore: Upgrade Python requirements 2025-03-04 11:16:09 -05:00
Irtaza Akram
a8a8ae3286 fix: replace pkg_resources with importlib.resources (#36213) 2025-02-13 17:43:07 +05:00
Jesper Hodge
1f43d17b21 Revert "Replace pkg_resources with importlib.resources" (#36208) 2025-02-05 08:51:50 -05:00
Feanil Patel
da0d365ee3 Merge pull request #36044 from openedx/pkg_resources-depr
Replace pkg_resources with importlib.resources
2025-01-23 11:05:45 -05:00
edX requirements bot
f452798565 chore: Upgrade Python requirements (#36076)
* chore: Upgrade Python requirements

* chore: Upgrade Python requirements (#36079)

* feat: Upgrade Python dependency urllib3 (#36081)

upgrade: upgrade urllib3 version

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

Co-authored-by: mumarkhan999 <42294172+mumarkhan999@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mumarkhan999 <42294172+mumarkhan999@users.noreply.github.com>
2025-01-08 16:45:31 +05:00
Irtaza Akram
acdbff8b4c fix: remove pkg_resources 2025-01-08 16:45:19 +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
f5e3635504 chore: Upgrade Python requirements 2024-09-26 10:13:02 -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
Feanil Patel
7734f023c8 chore: Run make upgrade 2024-05-08 15:49:14 -04: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
edX requirements bot
255292a2c0 chore: Updating Python Requirements (#34258) 2024-02-20 16:14:17 +05:00
edX requirements bot
d2dc8cd0ac chore: Updating Python Requirements (#34183) 2024-02-06 18:23:44 +05:00
edX requirements bot
b2cc7f8f7e chore: Updating Python Requirements (#33843)
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2023-11-30 16:43:46 +05:00
edX requirements bot
c240fd8b52 Python Requirements Update (#33737)
* chore: Updating Python Requirements
* fix: fix test failure occurring due to faker upgrade
---------

Co-authored-by: UsamaSadiq <usama7274@gmail.com>
2023-11-17 23:56:24 +05:00
edX requirements bot
e46c1d1e61 Python Requirements Update (#33695)
* chore: Updating Python Requirements
* fix: fix completion test query count
---------

Co-authored-by: UsamaSadiq <usama7274@gmail.com>
2023-11-13 14:37:53 +05:00
edX requirements bot
9ddde642f8 chore: Updating Python Requirements (#33397) 2023-10-03 12:11:17 +05:00
edX requirements bot
b862bbeba6 chore: Updating Python Requirements (#33383) 2023-10-02 17:10:01 +05:00
Adam Stankiewicz
32a1820360 chore: upgrade to edx-enterprise 4.2.0 (#33305) 2023-09-20 18:32:47 +00:00
edX requirements bot
a44c6d3d4a chore: Updating Python Requirements (#32829) 2023-07-25 12:48:44 +05:00
edX requirements bot
f2d30d9fbd chore: Updating Python Requirements (#32729) 2023-07-13 13:39:32 +05:00
Awais Qureshi
4bd032ab15 chore: adding pin to avoid test failures. (#32440)
* chore: adding pin to avoid test failures.
---------

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2023-06-14 12:44:39 +05:00
edX requirements bot
25139a08bd chore: Updating Python Requirements (#32321) 2023-06-01 20:20:49 +05:00
Usama Sadiq
6e597b5519 Revert "feat!: upgrading django-storages. (#32311)" (#32340)
This reverts commit cc0d5cdb76.
2023-06-01 17:38:37 +05:00
Awais Qureshi
cc0d5cdb76 feat!: upgrading django-storages. (#32311)
* feat!: upgrading django-storages
2023-06-01 15:33:14 +05:00
Usama Sadiq
065ba5fd73 Pin urllib3 version to urllib3<2.0.0 (#32224)
* fix: constrain urllib3<2.0.0
* fix: pin docutils<0.20 version
2023-05-11 17:58:06 +05:00
edX requirements bot
f3f4b856eb chore: Updating Python Requirements (#32182) 2023-05-08 13:39:36 +05:00
Awais Qureshi
a899d28b6d chore: upgraing boto3 and botocore versions. (#31925) 2023-03-17 18:01:25 +05:00
Awais Qureshi
5f95a78a17 build: Unpin few packages. (#31554)
* build: Unpin few packages. These pins were added to minimize the changeset.

* chore: Updating Python Requirements (#31555)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2023-01-17 11:50:09 +05:00
Awais Qureshi
90f4f6543d build: Adding constraints to avoid multiple major upgrades. (#31551)
* build: Adding constraints to avoid multiple major upgrades
2023-01-16 16:24:34 +05:00
Saleem Latif
0fcd4334f8 chore: Updated edx-enterprise version to 3.59.0 2022-12-12 17:26:02 +05:00
edX requirements bot
3744647bd6 chore: Updating Python Requirements 2022-10-03 17:21:24 +05:00
Kyle McCormick
29cebb7f92 Revert "chore: Updating Python Requirements"
This reverts commit 6d00e4b320.
2022-09-20 06:35:46 -04:00
edX requirements bot
6d00e4b320 chore: Updating Python Requirements 2022-09-19 13:54:21 -04:00
edX requirements bot
2d0f7ccc5c chore: Updating Python Requirements (#30982)
Co-authored-by: Mohammad Ahtasham ul Hassan <ahthassan74@gmail.com>
2022-09-13 12:48:48 +05:00
edX requirements bot
08d4538c8b Python Requirements Update (#30917)
* chore: Updating Python Requirements
* fix: fix relative paths in requirements

Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-08-30 15:12:50 +05:00
edX requirements bot
fee05710f4 Python Requirements Update (#30780)
* chore: Updating Python Requirements
2022-07-26 17:59:39 +05:00
Usama Sadiq
455521d686 fix: pin charset normalizer version (#30749)
* fix: pin charset-normalizer<2.1.0
* fix: pin markdown<3.4.0 version

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-07-20 14:03:40 +05:00
irfanuddinahmad
00c808c9f7 chore: upgraded edx-enterprise 2022-06-16 15:50:11 +05:00
edX requirements bot
a10661ddbc chore: Updating Python Requirements (#30581) 2022-06-14 15:12:57 +05:00
edX requirements bot
96a7ebc95c chore: Updating Python Requirements (#30467) 2022-05-24 14:14:17 +05:00
Robert Raposa
9fa79809d8 refactor: CookieMonitoringMiddleware moved to edx-django-utils
The CookieMonitoringMiddleware and its related script
moved to edx-django-utils.

ARCHBOM-2054
2022-03-17 16:59:00 -04:00
edX requirements bot
2862fa8775 chore: Updating Python Requirements (#29925) 2022-02-15 13:20:47 +05:00
edX requirements bot
429cee1fb2 chore: Updating Python Requirements (#29849) 2022-02-01 14:35:00 +05:00
edX requirements bot
551acc1a0e chore: Updating Python Requirements (#29740) 2022-01-11 13:35:28 +05:00
Tim McCormack
1e55b4e1b6 feat: Add utility for logging sensitive information using encryption (#29682)
Introduces `common.djangoapps.util.log_sensitive module` for
public-key encryption of sensitive debug information in log
messages, including CLI commands for generating keys and
decrypting log output.

Also:

- Adds `PyNaCl` to base requirements for encryption tools
- Requirements upgrade

ref: ARCHBOM-1940
2022-01-05 21:37:45 +00:00