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

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
38 changes: 17 additions & 21 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
#
# 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
#
aiohttp==3.9.3
aiohappyeyeballs==2.3.4
# via aiohttp
aiohttp==3.10.0
# via
# github-py
# pytest-aiohttp
aiosignal==1.3.1
# via aiohttp
async-timeout==4.0.3
# via aiohttp
attrs==23.2.0
# via aiohttp
cachetools==5.3.3
cachetools==5.4.0
# via google-auth
certifi==2024.2.2
certifi==2024.7.4
# via requests
charset-normalizer==3.3.2
# via requests
dockerfile==3.3.1
# via -r requirements/base.in
exceptiongroup==1.2.0
# via pytest
frozenlist==1.4.1
# via
# aiohttp
Expand All @@ -32,19 +30,19 @@ gitdb==4.0.11
# via gitpython
github-py @ git+https://github.com/ShineyDev/github.py.git@8e3514010eb35a91e012f2935f48138b3c35cef6
# via -r requirements/github.in
gitpython==3.1.42
gitpython==3.1.43
# via pytest-repo-health
google-auth==2.28.1
google-auth==2.32.0
# via
# google-auth-oauthlib
# gspread
google-auth-oauthlib==1.2.0
google-auth-oauthlib==1.2.1
# via gspread
gspread==5.11.3
# via
# -c requirements/constraints.txt
# -r requirements/base.in
idna==3.6
idna==3.7
# via
# requests
# yarl
Expand All @@ -60,13 +58,13 @@ packaging==21.3
# via
# -c requirements/constraints.txt
# pytest
pluggy==1.4.0
pluggy==1.5.0
# via pytest
pyasn1==0.5.1
pyasn1==0.6.0
# via
# pyasn1-modules
# rsa
pyasn1-modules==0.3.0
pyasn1-modules==0.4.0
# via google-auth
pyparsing==3.1.2
# via packaging
Expand All @@ -78,7 +76,7 @@ pytest==8.0.2
# pytest-repo-health
pytest-aiohttp==1.0.5
# via pytest-repo-health
pytest-asyncio==0.23.5
pytest-asyncio==0.23.8
# via
# -r requirements/base.in
# pytest-aiohttp
Expand All @@ -88,19 +86,17 @@ pyyaml==6.0.1
# via
# -r requirements/base.in
# pytest-repo-health
requests==2.31.0
requests==2.32.3
# via requests-oauthlib
requests-oauthlib==1.3.1
requests-oauthlib==2.0.0
# via google-auth-oauthlib
rsa==4.9
# via google-auth
smmap==5.0.1
# via gitdb
toml==0.10.2
# via -r requirements/base.in
tomli==2.0.1
# via pytest
urllib3==2.2.1
urllib3==2.2.2
# via requests
yarl==1.9.4
# via aiohttp
16 changes: 6 additions & 10 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#
# 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
colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.13.1
filelock==3.15.4
# via
# tox
# virtualenv
Expand All @@ -21,21 +21,17 @@ packaging==21.3
# -c requirements/constraints.txt
# pyproject-api
# tox
platformdirs==4.2.0
platformdirs==4.2.2
# via
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via tox
pyparsing==3.1.2
# via packaging
pyproject-api==1.5.0
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.0.0
# via -r requirements/ci.in
virtualenv==20.25.1
virtualenv==20.26.3
# via tox
17 changes: 17 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,24 @@ 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/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
Loading