Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
chore: Upgrade Python requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot committed Jul 25, 2024
1 parent 94c79db commit 1bf852f
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 140 deletions.
39 changes: 13 additions & 26 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 @@ -8,18 +8,11 @@ amqp==5.2.0
# via kombu
asgiref==3.8.1
# via django
async-timeout==4.0.3
# via redis
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# celery
# kombu
billiard==4.2.0
# via celery
celery==5.4.0
# via -r requirements/base.in
certifi==2024.2.2
certifi==2024.7.4
# via requests
cffi==1.16.0
# via pynacl
Expand Down Expand Up @@ -49,23 +42,23 @@ django-crum==0.7.9
# via edx-django-utils
django-waffle==4.1.0
# via edx-django-utils
edx-braze-client==0.2.3
edx-braze-client==0.2.5
# via -r requirements/base.in
edx-django-utils==5.12.0
edx-django-utils==5.14.2
# via edx-rest-api-client
edx-rest-api-client==5.7.0
edx-rest-api-client==5.7.1
# via -r requirements/base.in
idna==3.7
# via requests
kombu==5.3.7
# via celery
newrelic==9.9.0
newrelic==9.12.0
# via edx-django-utils
pbr==6.0.0
# via stevedore
prompt-toolkit==3.0.43
prompt-toolkit==3.0.47
# via click-repl
psutil==5.9.8
psutil==6.0.0
# via edx-django-utils
pycparser==2.22
# via cffi
Expand All @@ -77,9 +70,9 @@ python-dateutil==2.9.0.post0
# via celery
pytz==2024.1
# via django
redis==5.0.3
redis==5.0.7
# via -r requirements/base.in
requests==2.31.0
requests==2.32.3
# via
# edx-rest-api-client
# slumber
Expand All @@ -89,19 +82,13 @@ six==1.16.0
# python-dateutil
slumber==0.7.1
# via edx-rest-api-client
sqlparse==0.5.0
sqlparse==0.5.1
# via django
stevedore==5.2.0
# via edx-django-utils
typing-extensions==4.11.0
# via
# asgiref
# kombu
tzdata==2024.1
# via
# backports-zoneinfo
# celery
urllib3==2.2.1
# via celery
urllib3==2.2.2
# via requests
vine==5.1.0
# via
Expand Down
24 changes: 16 additions & 8 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@


# using LTS django version
Django<4.0
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

# tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos.
# Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810
tox<4.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
importlib-metadata<7

# edx-sphinx-theme is not compatible with latest Sphinx==6.0.0 version
# Pinning Sphinx version unless the compatibility issue gets resolved
# For details, see issue https://github.com/openedx/edx-sphinx-theme/issues/197
sphinx<6.0.0
# 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
4 changes: 2 additions & 2 deletions requirements/optional.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# 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
#
newrelic==9.9.0
newrelic==9.12.0
# via -r requirements/optional.in
6 changes: 3 additions & 3 deletions requirements/pip.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 @@ -8,7 +8,7 @@ wheel==0.43.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==24.0
pip==24.1.2
# via -r requirements/pip.in
setuptools==69.5.1
setuptools==71.1.0
# via -r requirements/pip.in
15 changes: 3 additions & 12 deletions requirements/pip_tools.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 @@ -8,25 +8,16 @@ build==1.2.1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==7.1.0
# via build
packaging==24.0
packaging==24.1
# via build
pip-tools==7.4.1
# via -r requirements/pip_tools.in
pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
pyproject-hooks==1.1.0
# via
# build
# pip-tools
# pyproject-hooks
wheel==0.43.0
# via pip-tools
zipp==3.18.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
40 changes: 12 additions & 28 deletions requirements/production.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 @@ -12,23 +12,13 @@ asgiref==3.8.1
# via
# -r requirements/base.txt
# django
async-timeout==4.0.3
# via
# -r requirements/base.txt
# redis
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# celery
# kombu
billiard==4.2.0
# via
# -r requirements/base.txt
# celery
celery==5.4.0
# via -r requirements/base.txt
certifi==2024.2.2
certifi==2024.7.4
# via
# -r requirements/base.txt
# requests
Expand Down Expand Up @@ -76,13 +66,13 @@ django-waffle==4.1.0
# via
# -r requirements/base.txt
# edx-django-utils
edx-braze-client==0.2.3
edx-braze-client==0.2.5
# via -r requirements/base.txt
edx-django-utils==5.12.0
edx-django-utils==5.14.2
# via
# -r requirements/base.txt
# edx-rest-api-client
edx-rest-api-client==5.7.0
edx-rest-api-client==5.7.1
# via -r requirements/base.txt
idna==3.7
# via
Expand All @@ -92,19 +82,19 @@ kombu==5.3.7
# via
# -r requirements/base.txt
# celery
newrelic==9.9.0
newrelic==9.12.0
# via
# -r requirements/base.txt
# edx-django-utils
pbr==6.0.0
# via
# -r requirements/base.txt
# stevedore
prompt-toolkit==3.0.43
prompt-toolkit==3.0.47
# via
# -r requirements/base.txt
# click-repl
psutil==5.9.8
psutil==6.0.0
# via
# -r requirements/base.txt
# edx-django-utils
Expand All @@ -130,9 +120,9 @@ pytz==2024.1
# django
pyyaml==6.0.1
# via -r requirements/production.in
redis==5.0.3
redis==5.0.7
# via -r requirements/base.txt
requests==2.31.0
requests==2.32.3
# via
# -r requirements/base.txt
# edx-rest-api-client
Expand All @@ -145,25 +135,19 @@ slumber==0.7.1
# via
# -r requirements/base.txt
# edx-rest-api-client
sqlparse==0.5.0
sqlparse==0.5.1
# via
# -r requirements/base.txt
# django
stevedore==5.2.0
# via
# -r requirements/base.txt
# edx-django-utils
typing-extensions==4.11.0
# via
# -r requirements/base.txt
# asgiref
# kombu
tzdata==2024.1
# via
# -r requirements/base.txt
# backports-zoneinfo
# celery
urllib3==2.2.1
urllib3==2.2.2
# via
# -r requirements/base.txt
# requests
Expand Down
Loading

0 comments on commit 1bf852f

Please sign in to comment.