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

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
9 changes: 2 additions & 7 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
certifi==2024.7.4
# via requests
Expand Down Expand Up @@ -42,11 +42,6 @@ pyproject-api==1.7.1
# via tox
requests==2.32.3
# via coveralls
tomli==2.0.1
# via
# coverage
# pyproject-api
# tox
tox==4.16.0
# via -r requirements/ci.in
urllib3==2.2.2
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
71 changes: 19 additions & 52 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 @@ -15,18 +15,13 @@ appdirs==1.4.4
# via fs
asgiref==3.8.1
# via django
astroid==3.2.3
astroid==3.2.4
# via
# pylint
# pylint-celery
backports-tarfile==1.2.0
# via jaraco-context
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
cachetools==5.3.3
cachetools==5.4.0
# via tox
certifi==2024.7.4
# via
Expand Down Expand Up @@ -69,13 +64,13 @@ coverage[toml]==7.6.0
# pytest-cov
coveralls==4.0.1
# via -r requirements/ci.in
cryptography==42.0.8
cryptography==43.0.0
# via
# pyjwt
# secretstorage
ddt==1.7.2
# via -r requirements/test.in
diff-cover==9.1.0
diff-cover==9.1.1
# via -r requirements/dev.in
dill==0.3.8
# via pylint
Expand Down Expand Up @@ -118,31 +113,27 @@ dnspython==2.6.1
# pymongo
docopt==0.6.2
# via coveralls
docutils==0.20.1
docutils==0.21.2
# via readme-renderer
drf-jwt==1.19.2
# via edx-drf-extensions
edx-django-release-util==1.4.0
# via -r requirements/base.in
edx-django-utils==5.14.2
edx-django-utils==5.15.0
# via
# edx-drf-extensions
# edx-toggles
edx-drf-extensions==10.3.0
# via -r requirements/base.in
edx-lint==5.3.6
edx-lint==5.3.7
# via -r requirements/quality.in
edx-opaque-keys==2.10.0
# via edx-drf-extensions
edx-toggles==5.2.0
# via -r requirements/base.in
email-validator==2.2.0
# via fastapi
exceptiongroup==1.2.1
# via
# anyio
# pytest
fastapi==0.111.0
fastapi==0.111.1
# via pact-python
fastapi-cli==0.0.4
# via fastapi
Expand Down Expand Up @@ -174,8 +165,6 @@ importlib-metadata==6.11.0
# -c requirements/common_constraints.txt
# keyring
# twine
importlib-resources==6.4.0
# via keyring
iniconfig==2.0.0
# via pytest
isort==5.13.2
Expand All @@ -186,7 +175,7 @@ jaraco-classes==3.4.0
# via keyring
jaraco-context==5.3.0
# via keyring
jaraco-functools==4.0.1
jaraco-functools==4.0.2
# via keyring
jeepney==0.8.0
# via
Expand Down Expand Up @@ -221,14 +210,12 @@ newrelic==9.12.0
# via edx-django-utils
nh3==0.2.18
# via readme-renderer
orjson==3.10.6
# via fastapi
packaging==24.1
# via
# pyproject-api
# pytest
# tox
pact-python==2.2.0
pact-python==2.2.1
# via -r requirements/test.in
pbr==6.0.0
# via stevedore
Expand All @@ -246,7 +233,7 @@ pluggy==1.5.0
# diff-cover
# pytest
# tox
psutil==5.9.8
psutil==6.0.0
# via
# edx-django-utils
# pact-python
Expand All @@ -265,11 +252,11 @@ pygments==2.18.0
# diff-cover
# readme-renderer
# rich
pyjwt[crypto]==2.8.0
pyjwt[crypto]==2.9.0
# via
# drf-jwt
# edx-drf-extensions
pylint==3.2.5
pylint==3.2.6
# via
# edx-lint
# pylint-celery
Expand All @@ -291,7 +278,7 @@ pyproject-api==1.7.1
# via tox
pysrt==1.1.2
# via -r requirements/base.in
pytest==8.2.2
pytest==8.3.2
# via
# pytest-cov
# pytest-django
Expand All @@ -311,7 +298,7 @@ pyyaml==6.0.1
# edx-django-release-util
# responses
# uvicorn
readme-renderer==43.0
readme-renderer==44.0
# via twine
requests==2.32.3
# via
Expand Down Expand Up @@ -349,7 +336,7 @@ sniffio==1.3.1
# httpx
snowballstemmer==2.2.0
# via pydocstyle
sqlparse==0.5.0
sqlparse==0.5.1
# via django
starlette==0.37.2
# via fastapi
Expand All @@ -360,13 +347,6 @@ stevedore==5.2.0
# edx-opaque-keys
text-unidecode==1.3
# via python-slugify
tomli==2.0.1
# via
# coverage
# pylint
# pyproject-api
# pytest
# tox
tomlkit==0.13.0
# via pylint
tox==4.16.0
Expand All @@ -377,28 +357,17 @@ typer==0.12.3
# via fastapi-cli
typing-extensions==4.12.2
# via
# annotated-types
# anyio
# asgiref
# astroid
# edx-opaque-keys
# fastapi
# pact-python
# pydantic
# pydantic-core
# pylint
# rich
# starlette
# typer
# uvicorn
ujson==5.10.0
# via fastapi
urllib3==2.2.2
# via
# requests
# responses
# twine
uvicorn[standard]==0.30.1
uvicorn[standard]==0.30.4
# via
# fastapi
# pact-python
Expand All @@ -413,9 +382,7 @@ websockets==12.0
yarl==1.9.4
# via pact-python
zipp==3.19.2
# via
# importlib-metadata
# importlib-resources
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
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
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.1.2
pip==24.2
# via -r requirements/pip.in
setuptools==70.3.0
setuptools==72.1.0
# via -r requirements/pip.in
Loading
Loading