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

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
15 changes: 7 additions & 8 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,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
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
21 changes: 9 additions & 12 deletions requirements/development.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
#
# 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
#
astroid==3.1.0 # via -r requirements/testing.txt, pylint
dill==0.3.8 # via -r requirements/testing.txt, pylint
exceptiongroup==1.2.1 # via -r requirements/testing.txt, pytest
astroid==3.3.5 # via -r requirements/testing.txt, pylint
dill==0.3.9 # via -r requirements/testing.txt, pylint
iniconfig==2.0.0 # via -r requirements/testing.txt, pytest
isort==5.13.2 # via -r requirements/testing.txt, pylint
mccabe==0.7.0 # via -r requirements/testing.txt, pylint
packaging==24.0 # via -r requirements/testing.txt, pytest
platformdirs==4.2.1 # via -r requirements/testing.txt, pylint
packaging==24.1 # via -r requirements/testing.txt, pytest
platformdirs==4.3.6 # via -r requirements/testing.txt, pylint
pluggy==1.5.0 # via -r requirements/testing.txt, pytest
pycodestyle==2.11.1 # via -r requirements/testing.txt
pylint==3.1.0 # via -r requirements/testing.txt
pytest==8.1.1 # via -r requirements/testing.txt
tomli==2.0.1 # via -r requirements/testing.txt, pylint, pytest
tomlkit==0.12.4 # via -r requirements/testing.txt, pylint
typing-extensions==4.11.0 # via -r requirements/testing.txt, astroid, pylint
pycodestyle==2.12.1 # via -r requirements/testing.txt
pylint==3.3.1 # via -r requirements/testing.txt
pytest==8.3.3 # via -r requirements/testing.txt
tomlkit==0.13.2 # via -r requirements/testing.txt, pylint
8 changes: 4 additions & 4 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
# 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
#
wheel==0.43.0 # via -r requirements/pip.in
wheel==0.44.0 # via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==24.0 # via -r requirements/pip.in
setuptools==69.5.1 # via -r requirements/pip.in
pip==24.2 # via -r requirements/pip.in
setuptools==75.1.0 # via -r requirements/pip.in
13 changes: 5 additions & 8 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
#
# 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
#
build==1.2.1 # via pip-tools
build==1.2.2.post1 # via pip-tools
click==8.1.7 # via pip-tools
importlib-metadata==6.11.0 # via -c requirements/common_constraints.txt, build
packaging==24.0 # via build
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 # via build, pip-tools, pyproject-hooks
wheel==0.43.0 # via pip-tools
zipp==3.18.1 # via importlib-metadata
pyproject-hooks==1.2.0 # via build, pip-tools
wheel==0.44.0 # via pip-tools

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
9 changes: 4 additions & 5 deletions requirements/sandbox.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#
# 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
django==3.2.25 # via -c requirements/common_constraints.txt, -c requirements/constraints.txt, -r requirements/sandbox.in
numpy==1.24.4 # via -r requirements/sandbox.in
pytz==2024.1 # via django
numpy==2.1.2 # via -r requirements/sandbox.in
pytz==2024.2 # via django
six==1.16.0 # via -r requirements/sandbox.in
sqlparse==0.5.0 # via django
typing-extensions==4.11.0 # via asgiref
sqlparse==0.5.1 # via django
21 changes: 9 additions & 12 deletions requirements/testing.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
#
# 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
#
astroid==3.1.0 # via pylint
dill==0.3.8 # via pylint
exceptiongroup==1.2.1 # via pytest
astroid==3.3.5 # via pylint
dill==0.3.9 # via pylint
iniconfig==2.0.0 # via pytest
isort==5.13.2 # via -r requirements/testing.in, pylint
mccabe==0.7.0 # via pylint
packaging==24.0 # via pytest
platformdirs==4.2.1 # via pylint
packaging==24.1 # via pytest
platformdirs==4.3.6 # via pylint
pluggy==1.5.0 # via pytest
pycodestyle==2.11.1 # via -r requirements/testing.in
pylint==3.1.0 # via -r requirements/testing.in
pytest==8.1.1 # via -r requirements/testing.in
tomli==2.0.1 # via pylint, pytest
tomlkit==0.12.4 # via pylint
typing-extensions==4.11.0 # via astroid, pylint
pycodestyle==2.12.1 # via -r requirements/testing.in
pylint==3.3.1 # via -r requirements/testing.in
pytest==8.3.3 # via -r requirements/testing.in
tomlkit==0.13.2 # via pylint
17 changes: 8 additions & 9 deletions requirements/tox.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
#
# 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 # via tox
cachetools==5.5.0 # via tox
chardet==5.2.0 # via tox
colorama==0.4.6 # via tox
distlib==0.3.8 # via virtualenv
filelock==3.13.4 # via tox, virtualenv
packaging==24.0 # via pyproject-api, tox
platformdirs==4.2.1 # via tox, virtualenv
filelock==3.16.1 # via tox, virtualenv
packaging==24.1 # via pyproject-api, tox
platformdirs==4.3.6 # via tox, virtualenv
pluggy==1.5.0 # via tox
pyproject-api==1.6.1 # via tox
tomli==2.0.1 # via pyproject-api, tox
tox==4.14.2 # via -r requirements/tox.in
virtualenv==20.26.0 # via tox
pyproject-api==1.8.0 # via tox
tox==4.21.2 # via -r requirements/tox.in
virtualenv==20.26.6 # via tox
Loading