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

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
22 changes: 8 additions & 14 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
# 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
# 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:/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:/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:/openedx/edx-lint/issues/407
# Cause: https:/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:/openedx/edx-platform/issues/34586
# has been resolved and edx-platform is running with pymongo>=4.4.0
event-tracking<2.4.1
100 changes: 33 additions & 67 deletions requirements/dev.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 @@ asgiref==3.8.1
# via
# -r requirements/test.txt
# django
astroid==3.2.2
astroid==3.2.4
# via
# -r requirements/test.txt
# pylint
Expand All @@ -17,11 +17,6 @@ backports-tarfile==1.2.0
# via
# -r requirements/test.txt
# jaraco-context
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
# django
build==1.2.1
# via
# -r requirements/pip-tools.txt
Expand All @@ -30,11 +25,11 @@ cachetools==5.3.3
# via
# -r requirements/ci.txt
# tox
certifi==2024.6.2
certifi==2024.7.4
# via
# -r requirements/test.txt
# requests
cffi==1.16.0
cffi==1.17.0
# via
# -r requirements/test.txt
# cryptography
Expand Down Expand Up @@ -68,11 +63,11 @@ colorama==0.4.6
# via
# -r requirements/ci.txt
# tox
coverage[toml]==7.5.4
coverage[toml]==7.6.1
# via
# -r requirements/test.txt
# pytest-cov
cryptography==42.0.8
cryptography==43.0.0
# via
# -r requirements/test.txt
# secretstorage
Expand All @@ -86,7 +81,7 @@ distlib==0.3.8
# via
# -r requirements/ci.txt
# virtualenv
django==4.2.13
django==4.2.15
# via
# -c requirements/common_constraints.txt
# -r requirements/test.txt
Expand All @@ -101,19 +96,15 @@ django-waffle==4.1.0
# via
# -r requirements/test.txt
# edx-django-utils
docutils==0.20.1
docutils==0.21.2
# via
# -r requirements/test.txt
# readme-renderer
edx-django-utils==5.14.2
edx-django-utils==5.15.0
# via -r requirements/test.txt
edx-lint==5.3.6
edx-lint==5.3.7
# via -r requirements/test.txt
exceptiongroup==1.2.1
# via
# -r requirements/test.txt
# pytest
filelock==3.14.0
filelock==3.15.4
# via
# -r requirements/ci.txt
# tox
Expand All @@ -124,17 +115,11 @@ idna==3.7
# via
# -r requirements/test.txt
# requests
importlib-metadata==7.2.1
importlib-metadata==8.3.0
# via
# -r requirements/pip-tools.txt
# -r requirements/test.txt
# build
# keyring
# twine
importlib-resources==6.4.0
# via
# -r requirements/test.txt
# keyring
iniconfig==2.0.0
# via
# -r requirements/test.txt
Expand All @@ -147,11 +132,11 @@ jaraco-classes==3.4.0
# via
# -r requirements/test.txt
# keyring
jaraco-context==5.3.0
jaraco-context==6.0.1
# via
# -r requirements/test.txt
# keyring
jaraco-functools==4.0.1
jaraco-functools==4.0.2
# via
# -r requirements/test.txt
# keyring
Expand All @@ -164,7 +149,7 @@ jinja2==3.1.4
# via
# -r requirements/test.txt
# code-annotations
keyring==25.2.1
keyring==25.3.0
# via
# -r requirements/test.txt
# twine
Expand All @@ -184,16 +169,16 @@ mdurl==0.1.2
# via
# -r requirements/test.txt
# markdown-it-py
more-itertools==10.3.0
more-itertools==10.4.0
# via
# -r requirements/test.txt
# jaraco-classes
# jaraco-functools
newrelic==9.11.0
newrelic==9.13.0
# via
# -r requirements/test.txt
# edx-django-utils
nh3==0.2.17
nh3==0.2.18
# via
# -r requirements/test.txt
# readme-renderer
Expand All @@ -213,7 +198,7 @@ pbr==6.0.0
# stevedore
pip-tools==7.4.1
# via -r requirements/pip-tools.txt
pkginfo==1.11.1
pkginfo==1.10.0
# via
# -r requirements/test.txt
# twine
Expand All @@ -234,7 +219,7 @@ psutil==6.0.0
# via
# -r requirements/test.txt
# edx-django-utils
pycodestyle==2.12.0
pycodestyle==2.12.1
# via -r requirements/test.txt
pycparser==2.22
# via
Expand All @@ -245,9 +230,9 @@ pygments==2.18.0
# -r requirements/test.txt
# readme-renderer
# rich
pyjwt==2.8.0
pyjwt==2.9.0
# via -r requirements/test.txt
pylint==3.2.3
pylint==3.2.6
# via
# -r requirements/test.txt
# edx-lint
Expand Down Expand Up @@ -280,7 +265,7 @@ pyproject-hooks==1.1.0
# -r requirements/pip-tools.txt
# build
# pip-tools
pytest==8.2.2
pytest==8.3.2
# via
# -r requirements/test.txt
# pytest-cov
Expand All @@ -297,12 +282,12 @@ python-slugify==8.0.4
# via
# -r requirements/test.txt
# code-annotations
pyyaml==6.0.1
pyyaml==6.0.2
# via
# -r requirements/test.txt
# code-annotations
# responses
readme-renderer==43.0
readme-renderer==44.0
# via
# -r requirements/test.txt
# twine
Expand Down Expand Up @@ -338,7 +323,7 @@ six==1.16.0
# python-dateutil
slumber==0.7.1
# via -r requirements/test.txt
sqlparse==0.5.0
sqlparse==0.5.1
# via
# -r requirements/test.txt
# django
Expand All @@ -352,60 +337,41 @@ text-unidecode==1.3
# -r requirements/test.txt
# python-slugify
tomli==2.0.1
# via
# -r requirements/ci.txt
# -r requirements/pip-tools.txt
# -r requirements/test.txt
# build
# coverage
# pip-tools
# pylint
# pyproject-api
# pytest
# tox
tomlkit==0.12.5
# via -r requirements/ci.txt
tomlkit==0.13.2
# via
# -r requirements/test.txt
# pylint
tox==4.15.1
# via -r requirements/ci.txt
twine==5.1.0
twine==5.1.1
# via -r requirements/test.txt
typing-extensions==4.12.2
# via
# -r requirements/test.txt
# asgiref
# astroid
# pylint
# rich
urllib3==2.2.2
# via
# -r requirements/test.txt
# requests
# responses
# twine
virtualenv==20.26.2
virtualenv==20.26.3
# via
# -r requirements/ci.txt
# tox
wheel==0.43.0
wheel==0.44.0
# via
# -r requirements/pip-tools.txt
# pip-tools
zipp==3.17.0
# via
# -c requirements/constraints.txt
# -r requirements/pip-tools.txt
# -r requirements/test.txt
# importlib-metadata
# importlib-resources

# The following packages are considered to be unsafe in a requirements file:
pip==24.1
pip==24.2
# via
# -r requirements/pip-tools.txt
# pip-tools
setuptools==70.1.1
setuptools==73.0.0
# via
# -r requirements/pip-tools.txt
# pip-tools
Loading
Loading