Skip to content

Commit

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

chore: Upgrade Python requirements
  • Loading branch information
farhan authored Jul 22, 2024
2 parents 565f02e + b2a4df9 commit 414849c
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 65 deletions.
10 changes: 2 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 @@ -8,10 +8,6 @@ appdirs==1.4.4
# via fs
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
django==4.2.14
# via
# -c requirements/common_constraints.txt
Expand Down Expand Up @@ -39,10 +35,8 @@ six==1.16.0
# -r requirements/base.in
# fs
# python-dateutil
sqlparse==0.5.0
sqlparse==0.5.1
# via django
typing-extensions==4.12.2
# via asgiref
web-fragments==2.2.0
# via xblock
webob==1.8.7
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
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
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
28 changes: 4 additions & 24 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 @@ -12,13 +12,8 @@ asgiref==3.8.1
# via
# -r requirements/base.txt
# django
astroid==3.2.3
astroid==3.2.4
# via pylint
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# django
coverage==7.6.0
# via -r requirements/test.txt
dill==0.3.8
Expand All @@ -27,10 +22,6 @@ django==4.2.14
# via
# -c requirements/common_constraints.txt
# -r requirements/base.txt
exceptiongroup==1.2.2
# via
# -r requirements/test.txt
# pytest
fs==2.4.16
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -72,7 +63,7 @@ pycodestyle==2.12.0
# via -r requirements/quality.in
pylint==3.2.5
# via -r requirements/quality.in
pytest==8.2.2
pytest==8.3.1
# via
# -r requirements/test.txt
# pytest-django
Expand All @@ -99,23 +90,12 @@ six==1.16.0
# -r requirements/base.txt
# fs
# python-dateutil
sqlparse==0.5.0
sqlparse==0.5.1
# via
# -r requirements/base.txt
# django
tomli==2.0.1
# via
# -r requirements/test.txt
# pylint
# pytest
tomlkit==0.13.0
# via pylint
typing-extensions==4.12.2
# via
# -r requirements/base.txt
# asgiref
# astroid
# pylint
web-fragments==2.2.0
# via
# -r requirements/base.txt
Expand Down
8 changes: 2 additions & 6 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,13 +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
#
coverage==7.6.0
# via -r requirements/test.in
exceptiongroup==1.2.2
# via pytest
iniconfig==2.0.0
# via pytest
mock==5.1.0
Expand All @@ -16,9 +14,7 @@ packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.2.2
pytest==8.3.1
# via pytest-django
pytest-django==4.8.0
# via -r requirements/test.in
tomli==2.0.1
# via pytest
8 changes: 2 additions & 6 deletions requirements/tox.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/tox.in
virtualenv==20.26.3
Expand Down
10 changes: 2 additions & 8 deletions requirements/travis.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
# -r requirements/tox.txt
# tox
Expand Down Expand Up @@ -57,12 +57,6 @@ pyproject-api==1.7.1
# tox
requests==2.32.3
# via coveralls
tomli==2.0.1
# via
# -r requirements/tox.txt
# coverage
# pyproject-api
# tox
tox==4.16.0
# via -r requirements/tox.txt
urllib3==2.2.2
Expand Down

0 comments on commit 414849c

Please sign in to comment.