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

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
116 changes: 59 additions & 57 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
#
# make upgrade
#
anki==23.12.1
anki==24.6.3
# via -r requirements/base.in
annotated-types==0.6.0
annotated-types==0.7.0
# via pydantic
anyio==4.3.0
anyio==4.6.0
# via
# httpx
# openai
asgiref==3.7.2
asgiref==3.8.1
# via
# django
# django-cors-headers
beautifulsoup4==4.12.3
# via anki
cached-property==1.5.2
# via genanki
certifi==2024.2.2
certifi==2024.8.30
# via
# httpcore
# httpx
# requests
cffi==1.16.0
cffi==1.17.1
# via
# cryptography
# pynacl
Expand All @@ -41,7 +41,7 @@ coreapi==2.3.3
# openapi-codec
coreschema==0.0.4
# via coreapi
cryptography==42.0.5
cryptography==43.0.1
# via
# pyjwt
# social-auth-core
Expand All @@ -52,9 +52,12 @@ defusedxml==0.8.0rc2
# python3-openid
# social-auth-core
distro==1.9.0
# via openai
django==4.2.10
# via
# anki
# openai
django==4.2.16
# via
# -c requirements/common_constraints.txt
# -r requirements/base.in
# django-cors-headers
# django-crum
Expand All @@ -67,7 +70,7 @@ django==4.2.10
# edx-django-utils
# edx-drf-extensions
# social-auth-app-django
django-cors-headers==4.3.1
django-cors-headers==4.4.0
# via -r requirements/base.in
django-crum==0.7.9
# via edx-django-utils
Expand All @@ -80,148 +83,147 @@ django-waffle==4.1.0
# -r requirements/base.in
# edx-django-utils
# edx-drf-extensions
djangorestframework==3.14.0
djangorestframework==3.15.2
# via
# -r requirements/base.in
# django-rest-swagger
# drf-jwt
# edx-drf-extensions
dnspython==2.7.0
# via pymongo
drf-jwt==1.19.2
# via edx-drf-extensions
edx-auth-backends==4.2.0
edx-auth-backends==4.4.0
# via -r requirements/base.in
edx-django-release-util==1.3.0
edx-django-release-util==1.4.0
# via -r requirements/base.in
edx-django-utils==5.10.1
edx-django-utils==5.16.0
# via
# -r requirements/base.in
# edx-drf-extensions
# edx-rest-api-client
edx-drf-extensions==10.2.0
edx-drf-extensions==10.4.0
# via -r requirements/base.in
edx-opaque-keys==2.5.1
edx-opaque-keys==2.11.0
# via edx-drf-extensions
edx-rest-api-client==5.6.1
edx-rest-api-client==6.0.0
# via -r requirements/base.in
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via anyio
frozendict==2.4.0
frozendict==2.4.5
# via genanki
genanki==0.13.1
# via -r requirements/base.in
h11==0.14.0
# via httpcore
httpcore==1.0.4
httpcore==1.0.6
# via httpx
httpx==0.27.0
httpx==0.27.2
# via openai
idna==3.6
idna==3.10
# via
# anyio
# httpx
# requests
importlib-metadata==7.0.1
importlib-metadata==8.5.0
# via markdown
itypes==1.2.0
# via coreapi
jinja2==3.1.3
jinja2==3.1.4
# via coreschema
markdown==3.5.2
jiter==0.5.0
# via openai
markdown==3.7
# via anki
markupsafe==2.1.5
# via jinja2
mysqlclient==2.2.4
# via -r requirements/base.in
newrelic==9.7.0
newrelic==10.0.0
# via edx-django-utils
oauthlib==3.2.2
# via
# requests-oauthlib
# social-auth-core
openai==1.12.0
openai==1.51.0
# via -r requirements/base.in
openapi-codec==1.3.2
# via django-rest-swagger
orjson==3.9.15
orjson==3.10.7
# via anki
pbr==6.0.0
pbr==6.1.0
# via stevedore
protobuf==4.25.3
protobuf==5.28.2
# via anki
psutil==5.9.8
psutil==6.0.0
# via edx-django-utils
pycparser==2.21
pycparser==2.22
# via cffi
pydantic==2.6.2
pydantic==2.9.2
# via openai
pydantic-core==2.16.3
pydantic-core==2.23.4
# via pydantic
pyjwt[crypto]==2.8.0
pyjwt[crypto]==2.9.0
# via
# drf-jwt
# edx-auth-backends
# edx-drf-extensions
# edx-rest-api-client
# social-auth-core
pymongo==3.13.0
pymongo==4.10.1
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
pysocks==1.7.1
# via requests
python3-openid==3.2.0
# via social-auth-core
pytz==2024.1
# via
# -r requirements/base.in
# djangorestframework
pyyaml==6.0.1
pytz==2024.2
# via -r requirements/base.in
pyyaml==6.0.2
# via
# edx-django-release-util
# genanki
requests[socks]==2.31.0
requests[socks]==2.32.3
# via
# anki
# coreapi
# edx-drf-extensions
# edx-rest-api-client
# requests-oauthlib
# slumber
# social-auth-core
requests-oauthlib==1.3.1
requests-oauthlib==2.0.0
# via social-auth-core
semantic-version==2.10.0
# via edx-drf-extensions
simplejson==3.19.2
simplejson==3.19.3
# via django-rest-swagger
six==1.16.0
# via
# edx-auth-backends
# edx-django-release-util
slumber==0.7.1
# via edx-rest-api-client
sniffio==1.3.1
# via
# anyio
# httpx
# openai
social-auth-app-django==5.4.0
social-auth-app-django==5.4.2
# via edx-auth-backends
social-auth-core==4.5.3
social-auth-core==4.5.4
# via
# edx-auth-backends
# social-auth-app-django
soupsieve==2.5
soupsieve==2.6
# via beautifulsoup4
sqlparse==0.4.4
sqlparse==0.5.1
# via django
stevedore==5.2.0
stevedore==5.3.0
# via
# edx-django-utils
# edx-opaque-keys
tqdm==4.66.2
tqdm==4.66.5
# via openai
typing-extensions==4.10.0
typing-extensions==4.12.2
# via
# anyio
# asgiref
Expand All @@ -231,11 +233,11 @@ typing-extensions==4.10.0
# pydantic-core
uritemplate==4.1.1
# via coreapi
urllib3==2.2.1
urllib3==2.2.3
# via requests
zipp==3.17.0
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
setuptools==69.1.1
setuptools==75.1.0
# via -r requirements/base.in
12 changes: 6 additions & 6 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@
#
distlib==0.3.8
# via virtualenv
filelock==3.13.1
filelock==3.16.1
# via
# tox
# virtualenv
packaging==23.2
packaging==24.1
# 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
# via tox
tomli==2.0.1
tomli==2.0.2
# via
# pyproject-api
# tox
Expand All @@ -34,5 +34,5 @@ tox==3.28.0
# tox-battery
tox-battery==0.6.2
# via -r requirements/ci.in
virtualenv==20.25.1
virtualenv==20.26.6
# via tox
11 changes: 9 additions & 2 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


# A central location for most common version constraints
# (across edx repos) for pip-installation.
#
Expand All @@ -15,11 +14,19 @@


# 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

# 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