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

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
14 changes: 7 additions & 7 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#
# 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
#
lxml==5.2.1
lxml==5.3.0
# via -r requirements/base.in
markupsafe==2.1.5
markupsafe==3.0.2
# via -r requirements/base.in
mpmath==1.3.0
# via sympy
numpy==1.24.4
numpy==2.1.3
# via
# -r requirements/base.in
# scipy
pyparsing==3.1.2
pyparsing==3.2.0
# via -r requirements/base.in
scipy==1.10.1
scipy==1.14.1
# via -r requirements/base.in
sympy==1.12
sympy==1.13.3
# via -r requirements/base.in
39 changes: 17 additions & 22 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,72 +1,67 @@
#
# 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.5.0
# via
# -r requirements/tox.txt
# tox
certifi==2024.2.2
certifi==2024.8.30
# via requests
chardet==5.2.0
# via
# -r requirements/tox.txt
# tox
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
colorama==0.4.6
# via
# -r requirements/tox.txt
# tox
coverage==6.5.0
coverage[toml]==7.6.7
# via coveralls
coveralls==3.3.1
coveralls==4.0.1
# via -r requirements/ci.in
distlib==0.3.8
distlib==0.3.9
# via
# -r requirements/tox.txt
# virtualenv
docopt==0.6.2
# via coveralls
filelock==3.13.3
filelock==3.16.1
# via
# -r requirements/tox.txt
# tox
# virtualenv
idna==3.6
idna==3.10
# via requests
packaging==24.0
packaging==24.2
# via
# -r requirements/tox.txt
# pyproject-api
# tox
platformdirs==4.2.0
platformdirs==4.3.6
# via
# -r requirements/tox.txt
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via
# -r requirements/tox.txt
# tox
pyproject-api==1.6.1
pyproject-api==1.8.0
# via
# -r requirements/tox.txt
# tox
requests==2.31.0
requests==2.32.3
# via coveralls
tomli==2.0.1
# via
# -r requirements/tox.txt
# pyproject-api
# tox
tox==4.14.2
tox==4.23.2
# via -r requirements/tox.txt
urllib3==2.2.1
urllib3==2.2.3
# via requests
virtualenv==20.25.1
virtualenv==20.27.1
# via
# -r requirements/tox.txt
# tox
13 changes: 4 additions & 9 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,17 @@
# Note: Changes to this file will automatically be used by other repos, referencing
# this file from Github directly. It does not require packaging in edx-lint.


# using LTS django version
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
django-simple-history==3.0.0

# opentelemetry requires version 6.x at the moment:
# https://github.com/open-telemetry/opentelemetry-python/issues/3570
# Normally this could be added as a constraint in edx-django-utils, where we're
# adding the opentelemetry dependency. However, when we compile pip-tools.txt,
# that uses version 7.x, and then there's no undoing that when compiling base.txt.
# 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/edx-lint/issues/458
# This can be unpinned once https://github.com/openedx/edx-lint/issues/459 has been resolved.
pip<24.3
12 changes: 7 additions & 5 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#
# 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
#
wheel==0.43.0
wheel==0.45.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==24.0
# via -r requirements/pip.in
setuptools==69.2.0
pip==24.2
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/pip.in
setuptools==75.5.0
# via -r requirements/pip.in
21 changes: 5 additions & 16 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
#
# 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
#
build==1.2.1
build==1.2.2.post1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# build
packaging==24.0
packaging==24.2
# via build
pip-tools==7.4.1
# via -r requirements/pip_tools.in
pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
pyproject-hooks==1.2.0
# via
# build
# pip-tools
# pyproject-hooks
wheel==0.43.0
wheel==0.45.0
# via pip-tools
zipp==3.18.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
67 changes: 29 additions & 38 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# 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
#
astroid==3.1.0
astroid==3.3.5
# via
# pylint
# pylint-celery
cachetools==5.3.3
cachetools==5.5.0
# via tox
chardet==5.2.0
# via tox
Expand All @@ -19,29 +19,29 @@ click==8.1.7
# edx-lint
click-log==0.4.0
# via edx-lint
code-annotations==1.7.0
code-annotations==1.8.1
# via edx-lint
colorama==0.4.6
# via tox
coverage==7.4.4
coverage==7.6.7
# via -r requirements/test.in
dill==0.3.8
dill==0.3.9
# via pylint
distlib==0.3.8
distlib==0.3.9
# via virtualenv
edx-lint==5.3.6
edx-lint==5.4.1
# via -r requirements/test.in
filelock==3.13.3
filelock==3.16.1
# via
# tox
# virtualenv
isort==5.13.2
# via pylint
jinja2==3.1.3
jinja2==3.1.4
# via code-annotations
lxml==5.2.1
lxml==5.3.0
# via -r requirements/base.txt
markupsafe==2.1.5
markupsafe==3.0.2
# via
# -r requirements/base.txt
# jinja2
Expand All @@ -51,26 +51,26 @@ mpmath==1.3.0
# via
# -r requirements/base.txt
# sympy
numpy==1.24.4
numpy==2.1.3
# via
# -r requirements/base.txt
# scipy
packaging==24.0
packaging==24.2
# via
# pyproject-api
# tox
pbr==6.0.0
pbr==6.1.0
# via stevedore
platformdirs==4.2.0
platformdirs==4.3.6
# via
# pylint
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via tox
pycodestyle==2.11.1
pycodestyle==2.12.1
# via -r requirements/test.in
pylint==3.1.0
pylint==3.3.1
# via
# -r requirements/test.in
# edx-lint
Expand All @@ -79,42 +79,33 @@ pylint==3.1.0
# pylint-plugin-utils
pylint-celery==0.3
# via edx-lint
pylint-django==2.5.5
pylint-django==2.6.1
# via edx-lint
pylint-plugin-utils==0.8.2
# via
# pylint-celery
# pylint-django
pyparsing==3.1.2
pyparsing==3.2.0
# via -r requirements/base.txt
pyproject-api==1.6.1
pyproject-api==1.8.0
# via tox
python-slugify==8.0.4
# via code-annotations
pyyaml==6.0.1
pyyaml==6.0.2
# via code-annotations
scipy==1.10.1
scipy==1.14.1
# via -r requirements/base.txt
six==1.16.0
# via edx-lint
stevedore==5.2.0
stevedore==5.3.0
# via code-annotations
sympy==1.12
sympy==1.13.3
# via -r requirements/base.txt
text-unidecode==1.3
# via python-slugify
tomli==2.0.1
# via
# pylint
# pyproject-api
# tox
tomlkit==0.12.4
tomlkit==0.13.2
# via pylint
tox==4.14.2
tox==4.23.2
# via -r requirements/test.in
typing-extensions==4.10.0
# via
# astroid
# pylint
virtualenv==20.25.1
virtualenv==20.27.1
# via tox
Loading
Loading