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

Merged
merged 3 commits into from
Aug 1, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v2"
with:
python-version: "3.8"
python-version: "3.12"

- name: "Install Graphviz"
uses: "kamiazya/setup-graphviz@v1"
Expand Down
2 changes: 1 addition & 1 deletion en_us/contribute/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/course_authors/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/course_catalog_api_user_guide/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/data/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/developers/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/discovery_api/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/edx_style_guide/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/enterprise_api/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/install_operations/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/landing_page/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/olx/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/open_edx_course_authors/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/open_edx_release_notes/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/open_edx_students/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/shared/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/students_redirect/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion en_us/xblock-tutorial/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.12"

python:
install:
Expand Down
34 changes: 13 additions & 21 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#
# 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
#
accessible-pygments==0.0.4
accessible-pygments==0.0.5
# via pydata-sphinx-theme
alabaster==0.7.13
alabaster==0.7.16
# via sphinx
babel==2.15.0
# via
Expand All @@ -21,18 +21,14 @@ charset-normalizer==3.3.2
# via requests
click==8.1.7
# via sphinx-intl
docutils==0.19
docutils==0.21.2
# via
# pydata-sphinx-theme
# sphinx
idna==3.7
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==6.11.0
# via
# -c common_constraints.txt
# sphinx
jinja2==3.1.4
# via sphinx
markupsafe==2.1.5
Expand All @@ -41,52 +37,48 @@ packaging==24.1
# via
# pydata-sphinx-theme
# sphinx
pydata-sphinx-theme==0.14.4
pydata-sphinx-theme==0.15.4
# via sphinx-book-theme
pygments==2.18.0
# via
# accessible-pygments
# pydata-sphinx-theme
# sphinx
pytz==2024.1
# via babel
requests==2.32.3
# via sphinx
snowballstemmer==2.2.0
# via sphinx
soupsieve==2.5
# via beautifulsoup4
sphinx==6.2.1
sphinx==7.4.7
# via
# -r base.in
# pydata-sphinx-theme
# sphinx-book-theme
# sphinx-intl
# sphinx-reredirects
sphinx-book-theme==1.0.1
sphinx-book-theme==1.1.3
# via -r base.in
sphinx-intl==2.2.0
# via -r base.in
sphinx-reredirects==0.1.4
sphinx-reredirects==0.1.5
# via -r base.in
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-htmlhelp==2.0.6
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==1.0.8
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
typing-extensions==4.12.2
# via pydata-sphinx-theme
urllib3==2.2.2
# via requests
zipp==3.19.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
8 changes: 8 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ 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
Expand All @@ -30,3 +31,10 @@ django-simple-history==3.0.0
# 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