Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade Python requirements #2218

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 37 additions & 33 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# 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
Expand All @@ -10,20 +10,15 @@ asgiref==3.8.1
# via django
attrs==23.2.0
# via openedx-events
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
bleach==6.1.0
# via -r requirements/base.in
boto3==1.34.91
boto3==1.34.144
# via -r requirements/base.in
botocore==1.34.91
botocore==1.34.144
# via
# boto3
# s3transfer
certifi==2024.2.2
certifi==2024.7.4
# via requests
cffi==1.16.0
# via pynacl
Expand All @@ -37,14 +32,15 @@ code-annotations==1.8.0
# via edx-toggles
defusedxml==0.7.1
# via -r requirements/base.in
django==4.2.11
django==4.2.14
# via
# -c requirements/constraints.txt
# -r requirements/base.in
# django-crum
# django-model-utils
# django-waffle
# djangorestframework
# edx-django-release-util
# edx-django-utils
# edx-i18n-tools
# edx-submissions
Expand All @@ -56,7 +52,7 @@ django-crum==0.7.9
# via
# edx-django-utils
# edx-toggles
django-model-utils==4.5.0
django-model-utils==4.5.1
# via
# -r requirements/base.in
# edx-submissions
Expand All @@ -68,26 +64,33 @@ django-waffle==4.1.0
# via
# edx-django-utils
# edx-toggles
djangorestframework==3.15.1
djangorestframework==3.15.2
# via
# -r requirements/base.in
# edx-submissions
edx-django-utils==5.12.0
dnspython==2.6.1
# via pymongo
edx-ccx-keys==1.3.0
# via openedx-events
edx-django-release-util==1.4.0
# via edx-submissions
edx-django-utils==5.14.2
# via
# -r requirements/base.in
# edx-toggles
# openedx-events
edx-i18n-tools==1.6.0
# via -r requirements/base.in
edx-opaque-keys[django]==2.8.0
edx-opaque-keys[django]==2.10.0
# via
# -r requirements/base.in
# edx-ccx-keys
# openedx-events
edx-submissions==3.7.0
edx-submissions==3.7.5
# via -r requirements/base.in
edx-toggles==5.2.0
# via -r requirements/base.in
fastavro==1.9.4
fastavro==1.9.5
# via openedx-events
fs==2.0.18
# via
Expand All @@ -99,7 +102,7 @@ idna==2.8
# via
# -c requirements/constraints.txt
# requests
jinja2==3.1.3
jinja2==3.1.4
# via code-annotations
jmespath==1.0.1
# via
Expand All @@ -115,26 +118,26 @@ loremipsum==1.0.5
# via
# -c requirements/constraints.txt
# -r requirements/base.in
lxml[html-clean]==5.2.1
lxml[html-clean]==5.2.2
# via
# -r requirements/base.in
# edx-i18n-tools
# lxml-html-clean
# xblock
lxml-html-clean==0.1.1
# via lxml
mako==1.3.3
mako==1.3.5
# via xblock
markupsafe==2.1.5
# via
# jinja2
# mako
# xblock
newrelic==9.9.0
newrelic==9.12.0
# via edx-django-utils
openedx-events==9.9.2
openedx-events==9.11.0
# via -r requirements/base.in
openedx-filters==1.8.1
openedx-filters==1.9.0
# via -r requirements/base.in
path==13.1.0
# via
Expand All @@ -147,11 +150,11 @@ pbr==6.0.0
# via stevedore
polib==1.2.0
# via edx-i18n-tools
psutil==5.9.8
psutil==6.0.0
# via edx-django-utils
pycparser==2.22
# via cffi
pymongo==3.13.0
pymongo==4.8.0
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
Expand All @@ -175,22 +178,25 @@ pytz==2024.1
pyyaml==6.0.1
# via
# code-annotations
# edx-django-release-util
# edx-i18n-tools
# xblock
requests==2.31.0
requests==2.32.3
# via python-swiftclient
s3transfer==0.10.1
s3transfer==0.10.2
# via boto3
simplejson==3.19.2
# via xblock
six==1.16.0
# via
# bleach
# edx-ccx-keys
# edx-django-release-util
# fs
# html5lib
# python-dateutil
# python-swiftclient
sqlparse==0.5.0
sqlparse==0.5.1
# via django
stevedore==5.2.0
# via
Expand All @@ -199,15 +205,13 @@ stevedore==5.2.0
# edx-opaque-keys
text-unidecode==1.3
# via python-slugify
typing-extensions==4.11.0
# via
# asgiref
# edx-opaque-keys
urllib3==1.26.18
typing-extensions==4.12.2
# via edx-opaque-keys
urllib3==2.2.2
# via
# botocore
# requests
voluptuous==0.14.2
voluptuous==0.15.2
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand Down
31 changes: 13 additions & 18 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# 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.4.0
# via
# -r requirements/tox.txt
# tox
certifi==2024.2.2
certifi==2024.7.4
# via requests
chardet==5.2.0
# via
Expand All @@ -20,17 +20,17 @@ colorama==0.4.6
# via
# -r requirements/tox.txt
# tox
coverage==6.5.0
coverage[toml]==7.6.0
# via coveralls
coveralls==3.3.1
coveralls==4.0.1
# via -r requirements/ci.in
distlib==0.3.8
# via
# -r requirements/tox.txt
# virtualenv
docopt==0.6.2
# via coveralls
filelock==3.13.4
filelock==3.15.4
# via
# -r requirements/tox.txt
# tox
Expand All @@ -39,12 +39,12 @@ idna==2.8
# via
# -c requirements/constraints.txt
# requests
packaging==24.0
packaging==24.1
# via
# -r requirements/tox.txt
# pyproject-api
# tox
platformdirs==4.2.1
platformdirs==4.2.2
# via
# -r requirements/tox.txt
# tox
Expand All @@ -53,22 +53,17 @@ pluggy==1.5.0
# via
# -r requirements/tox.txt
# tox
pyproject-api==1.6.1
pyproject-api==1.7.1
# via
# -r requirements/tox.txt
# tox
requests==2.31.0
requests==2.32.3
# via coveralls
tomli==2.0.1
# via
# -r requirements/tox.txt
# pyproject-api
# tox
tox==4.14.2
tox==4.16.0
# via -r requirements/tox.txt
urllib3==2.2.1
urllib3==2.2.2
# via requests
virtualenv==20.26.0
virtualenv==20.26.3
# via
# -r requirements/tox.txt
# tox
8 changes: 8 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ 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
Expand All @@ -31,3 +32,10 @@ elasticsearch<7.14.0
# So we need to pin it globally, for now.
# Ticket for unpinning: https://github.com/openedx/edx-lint/issues/407
importlib-metadata<7

# 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
Loading