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

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
18 changes: 5 additions & 13 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,15 +10,11 @@ arrow==1.3.0
# via cookiecutter
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
binaryornot==0.4.4
# via cookiecutter
boto3==1.34.144
boto3==1.34.145
# via fs-s3fs
botocore==1.34.144
botocore==1.34.145
# via
# boto3
# s3transfer
Expand Down Expand Up @@ -107,17 +103,13 @@ six==1.16.0
# fs
# fs-s3fs
# python-dateutil
sqlparse==0.5.0
sqlparse==0.5.1
# via django
text-unidecode==1.3
# via python-slugify
types-python-dateutil==2.9.0.20240316
# via arrow
typing-extensions==4.12.2
# via
# asgiref
# rich
urllib3==1.26.19
urllib3==2.2.2
# via
# botocore
# requests
Expand Down
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.4.0
# via tox
chardet==5.2.0
# via tox
Expand All @@ -28,10 +28,6 @@ pluggy==1.5.0
# via tox
pyproject-api==1.7.1
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.16.0
# via -r requirements/ci.in
virtualenv==20.26.3
Expand Down
8 changes: 8 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,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 @@ -30,3 +31,10 @@ django-simple-history==3.0.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
44 changes: 9 additions & 35 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 @@ -23,33 +23,27 @@ asgiref==3.8.1
# -r requirements/base.txt
# -r requirements/test.txt
# django
astroid==3.2.3
astroid==3.2.4
# via
# pylint
# pylint-celery
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# -r requirements/test.txt
# django
binaryornot==0.4.4
# via
# -r requirements/base.txt
# -r requirements/test.txt
# cookiecutter
boto3==1.34.144
boto3==1.34.145
# via
# -r requirements/base.txt
# -r requirements/test.txt
# fs-s3fs
botocore==1.34.144
botocore==1.34.145
# via
# -r requirements/base.txt
# -r requirements/test.txt
# boto3
# s3transfer
cachetools==5.3.3
cachetools==5.4.0
# via
# -r requirements/test.txt
# tox
Expand Down Expand Up @@ -110,12 +104,8 @@ django==4.2.14
# -r requirements/base.txt
# -r requirements/test.txt
# openedx-django-pyfs
edx-lint==5.3.6
edx-lint==5.3.7
# via -r requirements/quality.in
exceptiongroup==1.2.2
# via
# -r requirements/test.txt
# pytest
filelock==3.15.4
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -254,7 +244,7 @@ pyproject-api==1.7.1
# via
# -r requirements/test.txt
# tox
pytest==8.2.2
pytest==8.3.1
# via
# -r requirements/test.txt
# pytest-cov
Expand Down Expand Up @@ -327,7 +317,7 @@ six==1.16.0
# python-dateutil
snowballstemmer==2.2.0
# via pydocstyle
sqlparse==0.5.0
sqlparse==0.5.1
# via
# -r requirements/base.txt
# -r requirements/test.txt
Expand All @@ -339,14 +329,6 @@ text-unidecode==1.3
# -r requirements/base.txt
# -r requirements/test.txt
# python-slugify
tomli==2.0.1
# via
# -r requirements/test.txt
# coverage
# pylint
# pyproject-api
# pytest
# tox
tomlkit==0.13.0
# via pylint
tox==4.16.0
Expand All @@ -358,15 +340,7 @@ types-python-dateutil==2.9.0.20240316
# -r requirements/base.txt
# -r requirements/test.txt
# arrow
typing-extensions==4.12.2
# via
# -r requirements/base.txt
# -r requirements/test.txt
# asgiref
# astroid
# pylint
# rich
urllib3==1.26.19
urllib3==2.2.2
# via
# -r requirements/base.txt
# -r requirements/test.txt
Expand Down
12 changes: 1 addition & 11 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,10 +8,6 @@ build==1.2.1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==6.11.0
# via
# -c requirements/common_constraints.txt
# build
packaging==24.1
# via build
pip-tools==7.4.1
Expand All @@ -20,14 +16,8 @@ pyproject-hooks==1.1.0
# via
# build
# pip-tools
tomli==2.0.1
# via
# build
# pip-tools
wheel==0.43.0
# via pip-tools
zipp==3.19.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
4 changes: 2 additions & 2 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 @@ -10,5 +10,5 @@ wheel==0.43.0
# The following packages are considered to be unsafe in a requirements file:
pip==24.1.2
# via -r requirements/pip.in
setuptools==70.3.0
setuptools==71.0.4
# via -r requirements/pip.in
42 changes: 9 additions & 33 deletions requirements/quality.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 @@ -18,29 +18,24 @@ asgiref==3.8.1
# via
# -r requirements/test.txt
# django
astroid==3.2.3
astroid==3.2.4
# via
# pylint
# pylint-celery
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
# django
binaryornot==0.4.4
# via
# -r requirements/test.txt
# cookiecutter
boto3==1.34.144
boto3==1.34.145
# via
# -r requirements/test.txt
# fs-s3fs
botocore==1.34.144
botocore==1.34.145
# via
# -r requirements/test.txt
# boto3
# s3transfer
cachetools==5.3.3
cachetools==5.4.0
# via
# -r requirements/test.txt
# tox
Expand Down Expand Up @@ -91,12 +86,8 @@ django==4.2.14
# -c requirements/common_constraints.txt
# -r requirements/test.txt
# openedx-django-pyfs
edx-lint==5.3.6
edx-lint==5.3.7
# via -r requirements/quality.in
exceptiongroup==1.2.2
# via
# -r requirements/test.txt
# pytest
filelock==3.15.4
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -218,7 +209,7 @@ pyproject-api==1.7.1
# via
# -r requirements/test.txt
# tox
pytest==8.2.2
pytest==8.3.1
# via
# -r requirements/test.txt
# pytest-cov
Expand Down Expand Up @@ -276,7 +267,7 @@ six==1.16.0
# python-dateutil
snowballstemmer==2.2.0
# via pydocstyle
sqlparse==0.5.0
sqlparse==0.5.1
# via
# -r requirements/test.txt
# django
Expand All @@ -286,14 +277,6 @@ text-unidecode==1.3
# via
# -r requirements/test.txt
# python-slugify
tomli==2.0.1
# via
# -r requirements/test.txt
# coverage
# pylint
# pyproject-api
# pytest
# tox
tomlkit==0.13.0
# via pylint
tox==4.16.0
Expand All @@ -302,14 +285,7 @@ types-python-dateutil==2.9.0.20240316
# via
# -r requirements/test.txt
# arrow
typing-extensions==4.12.2
# via
# -r requirements/test.txt
# asgiref
# astroid
# pylint
# rich
urllib3==1.26.19
urllib3==2.2.2
# via
# -r requirements/test.txt
# botocore
Expand Down
Loading
Loading