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

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
27 changes: 10 additions & 17 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
#
# 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
# djangorestframework
cffi==1.16.0
cffi==1.17.0
# via pynacl
click==8.1.7
# via edx-django-utils
django==4.2.11
django==4.2.15
# via
# -c requirements/common_constraints.txt
# -r requirements/base.in
Expand All @@ -27,23 +22,21 @@ django-crum==0.7.9
# via edx-django-utils
django-waffle==4.1.0
# via edx-django-utils
djangorestframework==3.15.1
djangorestframework==3.15.2
# via -r requirements/base.in
edx-django-utils==5.12.0
edx-django-utils==5.15.0
# via -r requirements/base.in
newrelic==9.8.0
newrelic==9.13.0
# via edx-django-utils
pbr==6.0.0
pbr==6.1.0
# via stevedore
psutil==5.9.8
psutil==6.0.0
# via edx-django-utils
pycparser==2.22
# via cffi
pynacl==1.5.0
# via edx-django-utils
sqlparse==0.4.4
sqlparse==0.5.1
# via django
stevedore==5.2.0
stevedore==5.3.0
# via edx-django-utils
typing-extensions==4.10.0
# via asgiref
16 changes: 6 additions & 10 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
#
# 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
#
distlib==0.3.8
# via virtualenv
filelock==3.13.3
filelock==3.15.4
# via
# tox
# virtualenv
packaging==24.0
packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.2.0
platformdirs==4.2.2
# via
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via tox
py==1.11.0
# via tox
six==1.16.0
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==3.28.0
# via
# -r requirements/ci.in
# tox-travis
tox-travis==0.13
# via -r requirements/ci.in
virtualenv==20.25.1
virtualenv==20.26.3
# via tox
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
99 changes: 31 additions & 68 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,22 +8,16 @@ asgiref==3.8.1
# via
# -r requirements/quality.txt
# django
astroid==3.1.0
astroid==3.2.4
# via
# -r requirements/quality.txt
# pylint
# pylint-celery
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/quality.txt
# django
# djangorestframework
build==1.2.1
# via
# -r requirements/pip-tools.txt
# pip-tools
cffi==1.16.0
cffi==1.17.0
# via
# -r requirements/quality.txt
# pynacl
Expand All @@ -40,11 +34,11 @@ click-log==0.4.0
# via
# -r requirements/quality.txt
# edx-lint
code-annotations==1.7.0
code-annotations==1.8.0
# via
# -r requirements/quality.txt
# edx-lint
coverage[toml]==7.4.4
coverage[toml]==7.6.1
# via
# -r requirements/quality.txt
# pytest-cov
Expand All @@ -58,7 +52,7 @@ distlib==0.3.8
# via
# -r requirements/ci.txt
# virtualenv
django==4.2.11
django==4.2.15
# via
# -c requirements/common_constraints.txt
# -r requirements/quality.txt
Expand All @@ -76,32 +70,23 @@ django-waffle==4.1.0
# via
# -r requirements/quality.txt
# edx-django-utils
djangorestframework==3.15.1
djangorestframework==3.15.2
# via -r requirements/quality.txt
edx-django-release-util==1.4.0
# via -r requirements/quality.txt
edx-django-utils==5.12.0
edx-django-utils==5.15.0
# via -r requirements/quality.txt
edx-i18n-tools==1.3.0
edx-i18n-tools==1.6.2
# via -r requirements/dev.in
edx-lint==5.3.6
edx-lint==5.4.0
# via -r requirements/quality.txt
exceptiongroup==1.2.0
# via
# -r requirements/quality.txt
# pytest
filelock==3.13.3
filelock==3.15.4
# via
# -r requirements/ci.txt
# tox
# virtualenv
freezegun==1.4.0
freezegun==1.5.1
# via -r requirements/quality.txt
importlib-metadata==6.11.0
# via
# -c requirements/common_constraints.txt
# -r requirements/pip-tools.txt
# build
iniconfig==2.0.0
# via
# -r requirements/quality.txt
Expand All @@ -110,11 +95,11 @@ isort==5.13.2
# via
# -r requirements/quality.txt
# pylint
jinja2==3.1.3
jinja2==3.1.4
# via
# -r requirements/quality.txt
# code-annotations
lxml==5.2.1
lxml==5.3.0
# via edx-i18n-tools
markupsafe==2.1.5
# via
Expand All @@ -124,57 +109,57 @@ mccabe==0.7.0
# via
# -r requirements/quality.txt
# pylint
newrelic==9.8.0
newrelic==9.13.0
# via
# -r requirements/quality.txt
# edx-django-utils
packaging==24.0
packaging==24.1
# via
# -r requirements/ci.txt
# -r requirements/pip-tools.txt
# -r requirements/quality.txt
# build
# pytest
# tox
path==16.10.0
path==16.16.0
# via edx-i18n-tools
pbr==6.0.0
pbr==6.1.0
# via
# -r requirements/quality.txt
# stevedore
pip-tools==7.4.1
# via -r requirements/pip-tools.txt
platformdirs==4.2.0
platformdirs==4.2.2
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
# pylint
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via
# -r requirements/ci.txt
# -r requirements/quality.txt
# pytest
# tox
polib==1.2.0
# via edx-i18n-tools
psutil==5.9.8
psutil==6.0.0
# via
# -r requirements/quality.txt
# edx-django-utils
py==1.11.0
# via
# -r requirements/ci.txt
# tox
pycodestyle==2.11.1
pycodestyle==2.12.1
# via -r requirements/quality.txt
pycparser==2.22
# via
# -r requirements/quality.txt
# cffi
pydocstyle==6.3.0
# via -r requirements/quality.txt
pylint==3.1.0
pylint==3.2.7
# via
# -r requirements/quality.txt
# edx-lint
Expand All @@ -198,12 +183,12 @@ pynacl==1.5.0
# via
# -r requirements/quality.txt
# edx-django-utils
pyproject-hooks==1.0.0
pyproject-hooks==1.1.0
# via
# -r requirements/pip-tools.txt
# build
# pip-tools
pytest==8.1.1
pytest==8.3.2
# via
# -r requirements/quality.txt
# pytest-cov
Expand All @@ -220,7 +205,7 @@ python-slugify==8.0.4
# via
# -r requirements/quality.txt
# code-annotations
pyyaml==6.0.1
pyyaml==6.0.2
# via
# -r requirements/quality.txt
# code-annotations
Expand All @@ -238,11 +223,11 @@ snowballstemmer==2.2.0
# via
# -r requirements/quality.txt
# pydocstyle
sqlparse==0.4.4
sqlparse==0.5.1
# via
# -r requirements/quality.txt
# django
stevedore==5.2.0
stevedore==5.3.0
# via
# -r requirements/quality.txt
# code-annotations
Expand All @@ -251,19 +236,7 @@ text-unidecode==1.3
# via
# -r requirements/quality.txt
# python-slugify
tomli==2.0.1
# via
# -r requirements/ci.txt
# -r requirements/pip-tools.txt
# -r requirements/quality.txt
# build
# coverage
# pip-tools
# pylint
# pyproject-hooks
# pytest
# tox
tomlkit==0.12.4
tomlkit==0.13.2
# via
# -r requirements/quality.txt
# pylint
Expand All @@ -273,24 +246,14 @@ tox==3.28.0
# tox-travis
tox-travis==0.13
# via -r requirements/ci.txt
typing-extensions==4.10.0
# via
# -r requirements/quality.txt
# asgiref
# astroid
# pylint
virtualenv==20.25.1
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.18.1
# via
# -r requirements/pip-tools.txt
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
Loading
Loading