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

Merged
merged 1 commit into from
Jul 22, 2024
Merged
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: 4 additions & 11 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,16 +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
#
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
certifi==2024.7.4
# via
# elasticsearch
Expand All @@ -23,7 +18,7 @@ chardet==3.0.4
# via requests
click==8.1.7
# via edx-django-utils
cryptography==42.0.8
cryptography==43.0.0
# via pyjwt
django==4.2.14
# via
Expand Down Expand Up @@ -155,16 +150,14 @@ six==1.16.0
# edx-django-release-util
# elasticsearch-dsl
# python-dateutil
sqlparse==0.5.0
sqlparse==0.5.1
# via django
stevedore==5.2.0
# via
# edx-django-utils
# edx-opaque-keys
typing-extensions==4.12.2
# via
# asgiref
# edx-opaque-keys
# via edx-opaque-keys
uritemplate==4.1.1
# via drf-yasg
urllib3==1.26.19
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 @@ -22,6 +22,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 @@ -35,3 +36,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
10 changes: 1 addition & 9 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,8 +8,6 @@ build==1.2.1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==8.0.0
# via build
packaging==24.1
# via build
pip-tools==7.4.1
Expand All @@ -18,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.1.0
# via -r requirements/pip.in
24 changes: 5 additions & 19 deletions requirements/test.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 @@ -13,12 +13,6 @@ astroid==1.6.6
# -c requirements/constraints.txt
# -r requirements/test.in
# pylint
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# django
# djangorestframework
certifi==2024.7.4
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -47,13 +41,13 @@ coverage[toml]==7.6.0
# via
# -r requirements/test.in
# pytest-cov
cryptography==42.0.8
cryptography==43.0.0
# via
# -r requirements/base.txt
# pyjwt
ddt==1.7.2
# via -r requirements/test.in
diff-cover==9.1.0
diff-cover==9.1.1
# via -r requirements/test.in
distlib==0.3.8
# via virtualenv
Expand Down Expand Up @@ -136,8 +130,6 @@ elasticsearch-dsl==7.4.1
# -r requirements/base.txt
# django-elasticsearch-dsl
# django-elasticsearch-dsl-drf
exceptiongroup==1.2.2
# via pytest
factory-boy==3.3.0
# via -r requirements/test.in
faker==26.0.0
Expand Down Expand Up @@ -230,7 +222,7 @@ pynacl==1.5.0
# via
# -r requirements/base.txt
# edx-django-utils
pytest==8.2.2
pytest==8.3.1
# via
# -r requirements/test.in
# pytest-cov
Expand Down Expand Up @@ -278,7 +270,7 @@ six==1.16.0
# pylint
# python-dateutil
# tox
sqlparse==0.5.0
sqlparse==0.5.1
# via
# -r requirements/base.txt
# django
Expand All @@ -290,17 +282,11 @@ stevedore==5.2.0
# edx-opaque-keys
text-unidecode==1.3
# via python-slugify
tomli==2.0.1
# via
# coverage
# pytest
# tox
tox==3.28.0
# via -r requirements/test.in
typing-extensions==4.12.2
# via
# -r requirements/base.txt
# asgiref
# edx-opaque-keys
uritemplate==4.1.1
# via
Expand Down
Loading