Skip to content

Commit

Permalink
chore: Upgrade Python requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
opencraft-requirements-bot committed Aug 5, 2024
1 parent 37a84a7 commit 6409e9b
Show file tree
Hide file tree
Showing 9 changed files with 363 additions and 386 deletions.
28 changes: 14 additions & 14 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
#
# 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.7.2
asgiref==3.8.1
# via django
attrs==23.1.0
attrs==24.1.0
# via -r requirements/base.in
django==3.2.19
django==4.2.14
# via
# -c requirements/common_constraints.txt
# -r requirements/base.in
edx-opaque-keys[django]==2.3.0
dnspython==2.6.1
# via pymongo
edx-opaque-keys[django]==2.10.0
# via -r requirements/base.in
fastavro==1.7.4
fastavro==1.9.5
# via -r requirements/base.in
pbr==5.11.1
pbr==6.0.0
# via stevedore
pymongo==3.13.0
pymongo==4.8.0
# via edx-opaque-keys
pytz==2023.3
sqlparse==0.5.1
# via django
sqlparse==0.4.4
# via django
stevedore==5.1.0
stevedore==5.2.0
# via edx-opaque-keys
typing-extensions==4.12.2
# via edx-opaque-keys
typing-extensions==4.6.3
# via asgiref
40 changes: 22 additions & 18 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,30 +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.6
cachetools==5.4.0
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.12.1
filelock==3.15.4
# via
# tox
# virtualenv
packaging==23.1
# via tox
platformdirs==3.5.3
# via virtualenv
pluggy==1.0.0
# via tox
py==1.11.0
# via tox
six==1.16.0
packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.2.2
# via
# tox
# virtualenv
pluggy==1.5.0
# via tox
tomli==2.0.1
pyproject-api==1.7.1
# via tox
tox==3.28.0
# via
# -c requirements/common_constraints.txt
# -r requirements/ci.in
virtualenv==20.23.0
tox==4.16.0
# via -r requirements/ci.in
virtualenv==20.26.3
# via tox
24 changes: 16 additions & 8 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@


# using LTS django version
Django<4.0
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

# tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos.
# Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810
tox<4.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

# edx-sphinx-theme is not compatible with latest Sphinx==6.0.0 version
# Pinning Sphinx version unless the compatibility issue gets resolved
# For details, see issue https://github.com/openedx/edx-sphinx-theme/issues/197
sphinx<6.0.0
# 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
Loading

0 comments on commit 6409e9b

Please sign in to comment.