Skip to content

Commit

Permalink
Merge pull request #902 from openedx/repo-tools/upgrade-python-requir…
Browse files Browse the repository at this point in the history
…ements-84d9f03

chore: Upgrade Python requirements
  • Loading branch information
Cristhian Garcia authored Jul 22, 2024
2 parents 16c9b0f + 2a244d1 commit 18b36fe
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 45 deletions.
12 changes: 4 additions & 8 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,7 +10,7 @@ asttokens==2.4.1
# via transifex-python
bcrypt==4.1.3
# via -r requirements/base.in
cachetools==5.3.3
cachetools==5.4.0
# via google-auth
certifi==2024.7.4
# via
Expand Down Expand Up @@ -41,7 +41,7 @@ kubernetes==30.1.0
# via tutor
markupsafe==2.1.5
# via jinja2
mypy==1.10.1
mypy==1.11.0
# via tutor
mypy-extensions==1.0.0
# via mypy
Expand Down Expand Up @@ -89,8 +89,6 @@ six==1.16.0
# asttokens
# kubernetes
# python-dateutil
tomli==2.0.1
# via mypy
toolz==0.12.1
# via pyseeyou
transifex-python==3.5.0
Expand All @@ -108,6 +106,4 @@ urllib3==2.2.2
websocket-client==1.8.0
# via kubernetes
zipp==3.19.2
# via
# importlib-metadata
# importlib-resources
# via importlib-metadata
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
31 changes: 8 additions & 23 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 @@ -10,7 +10,7 @@ appdirs==1.4.4
# via
# -r requirements/base.txt
# tutor
astroid==3.2.3
astroid==3.2.4
# via pylint
asttokens==2.4.1
# via
Expand All @@ -24,7 +24,7 @@ black==24.4.2
# via
# -r requirements/dev.in
# shandy-sqlfmt
cachetools==5.3.3
cachetools==5.4.0
# via
# -r requirements/base.txt
# google-auth
Expand All @@ -46,11 +46,11 @@ click==8.1.7
# shandy-sqlfmt
# transifex-python
# tutor
cryptography==42.0.8
cryptography==43.0.0
# via secretstorage
dill==0.3.8
# via pylint
docutils==0.20.1
docutils==0.21.2
# via readme-renderer
future==1.0.0
# via
Expand All @@ -68,14 +68,11 @@ importlib-metadata==8.0.0
# via
# -r requirements/base.txt
# keyring
# pyinstaller
# pyinstaller-hooks-contrib
# tutor
# twine
importlib-resources==6.4.0
# via
# -r requirements/base.txt
# keyring
# tutor
isort==5.13.2
# via pylint
Expand Down Expand Up @@ -114,7 +111,7 @@ more-itertools==10.3.0
# via
# jaraco-classes
# jaraco-functools
mypy==1.10.1
mypy==1.11.0
# via
# -r requirements/base.txt
# tutor
Expand Down Expand Up @@ -173,7 +170,7 @@ pyinstaller==6.9.0
# via -r requirements/dev.in
pyinstaller-hooks-contrib==2024.7
# via pyinstaller
pylint==3.2.5
pylint==3.2.6
# via -r requirements/dev.in
pyseeyou==1.0.2
# via
Expand All @@ -188,7 +185,7 @@ pyyaml==6.0.1
# -r requirements/base.txt
# kubernetes
# tutor
readme-renderer==43.0
readme-renderer==44.0
# via twine
regex==2024.5.15
# via
Expand Down Expand Up @@ -232,13 +229,6 @@ six==1.16.0
# asttokens
# kubernetes
# python-dateutil
tomli==2.0.1
# via
# -r requirements/base.txt
# black
# mypy
# pylint
# shandy-sqlfmt
tomlkit==0.13.0
# via pylint
toolz==0.12.1
Expand All @@ -256,11 +246,7 @@ twine==5.1.1
typing-extensions==4.12.2
# via
# -r requirements/base.txt
# astroid
# black
# mypy
# pylint
# rich
# tutor
urllib3==2.2.2
# via
Expand All @@ -276,7 +262,6 @@ zipp==3.19.2
# via
# -r requirements/base.txt
# importlib-metadata
# importlib-resources

# 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
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
2 changes: 1 addition & 1 deletion requirements/translations.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 Down

0 comments on commit 18b36fe

Please sign in to comment.