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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
31 changes: 12 additions & 19 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,21 +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
#
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
cffi==1.16.0
cffi==1.17.1
# via pynacl
click==8.1.7
click==8.1.8
# via edx-django-utils
django==4.2.11
django==4.2.17
# via
# -c requirements/common_constraints.txt
# -r requirements/base.in
Expand All @@ -25,25 +20,23 @@ django==4.2.11
# edx-django-utils
django-crum==0.7.9
# via edx-django-utils
django-waffle==4.1.0
django-waffle==4.2.0
# via edx-django-utils
djangorestframework==3.15.1
djangorestframework==3.15.2
# via -r requirements/base.in
edx-django-utils==5.12.0
edx-django-utils==7.1.0
# via -r requirements/base.in
newrelic==9.8.0
newrelic==10.4.0
# via edx-django-utils
pbr==6.0.0
pbr==6.1.0
# via stevedore
psutil==5.9.8
psutil==6.1.1
# via edx-django-utils
pycparser==2.22
# via cffi
pynacl==1.5.0
# via edx-django-utils
sqlparse==0.4.4
sqlparse==0.5.3
# via django
stevedore==5.2.0
stevedore==5.4.0
# via edx-django-utils
typing-extensions==4.10.0
# via asgiref
20 changes: 8 additions & 12 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
#
# 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
#
distlib==0.3.8
distlib==0.3.9
# via virtualenv
filelock==3.13.3
filelock==3.16.1
# via
# tox
# virtualenv
packaging==24.0
packaging==24.2
# via
# pyproject-api
# tox
platformdirs==4.2.0
platformdirs==4.3.6
# via
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via tox
py==1.11.0
# via tox
six==1.16.0
six==1.17.0
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==3.28.0
# via
# -r requirements/ci.in
# tox-travis
tox-travis==0.13
# via -r requirements/ci.in
virtualenv==20.25.1
virtualenv==20.28.0
# via 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
Loading
Loading