Skip to content

Commit

Permalink
chore: Upgrade Python requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot committed Aug 27, 2024
1 parent c11abde commit 7319914
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 168 deletions.
26 changes: 10 additions & 16 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
certifi==2024.6.2
certifi==2024.7.4
# via requests
cffi==1.16.0
cffi==1.17.0
# via pynacl
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via edx-django-utils
django==4.2.13
django==4.2.15
# via
# -c requirements/common_constraints.txt
# django-crum
Expand All @@ -28,19 +24,19 @@ django-crum==0.7.9
# via edx-django-utils
django-waffle==4.1.0
# via edx-django-utils
edx-django-utils==5.14.2
edx-django-utils==5.15.0
# via -r requirements/base.in
idna==3.7
idna==3.8
# via requests
newrelic==9.11.0
newrelic==9.13.0
# via edx-django-utils
pbr==6.0.0
# via stevedore
psutil==6.0.0
# via edx-django-utils
pycparser==2.22
# via cffi
pyjwt==2.8.0
pyjwt==2.9.0
# via -r requirements/base.in
pynacl==1.5.0
# via edx-django-utils
Expand All @@ -50,11 +46,9 @@ requests==2.32.3
# slumber
slumber==0.7.1
# via -r requirements/base.in
sqlparse==0.5.0
sqlparse==0.5.1
# via django
stevedore==5.2.0
stevedore==5.3.0
# via edx-django-utils
typing-extensions==4.12.2
# via asgiref
urllib3==2.2.2
# via requests
8 changes: 2 additions & 6 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
#
cachetools==5.3.3
cachetools==5.5.0
# via tox
chardet==5.2.0
# via tox
Expand All @@ -29,10 +29,6 @@ pluggy==1.5.0
# via tox
pyproject-api==1.6.1
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.15.1
# via -r requirements/ci.in
virtualenv==20.26.3
Expand Down
14 changes: 7 additions & 7 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ Django<5.0

# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process.
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html
# See https://github.com/openedx/edx-platform/issues/35126 for more info
elasticsearch<7.14.0

# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected
django-simple-history==3.0.0

# opentelemetry requires version 6.x at the moment:
# https://github.com/open-telemetry/opentelemetry-python/issues/3570
# Normally this could be added as a constraint in edx-django-utils, where we're
# adding the opentelemetry dependency. However, when we compile pip-tools.txt,
# that uses version 7.x, and then there's no undoing that when compiling base.txt.
# So we need to pin it globally, for now.
# Ticket for unpinning: https://github.com/openedx/edx-lint/issues/407
# Cause: https://github.com/openedx/event-tracking/pull/290
# event-tracking 2.4.1 upgrades to pymongo 4.4.0 which is not supported on edx-platform.
# We will pin event-tracking to do not break existing installations
# This can be unpinned once https://github.com/openedx/edx-platform/issues/34586
# has been resolved and edx-platform is running with pymongo>=4.4.0
event-tracking<2.4.1
Loading

0 comments on commit 7319914

Please sign in to comment.