Skip to content

Commit

Permalink
Merge pull request #88 from openedx/feanil/upgrade_requirements
Browse files Browse the repository at this point in the history
feanil/upgrade requirements
  • Loading branch information
Feanil Patel authored Mar 12, 2024
2 parents b36408e + 3faf767 commit ce6724f
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 152 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
os: [ubuntu-20.04]
python-version: ['3.8', '3.12']
toxenv: [quality, docs, pii_check, django42]
exclude:
- python-version: '3.8'
toxenv: 'docs'

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
description: 'Target branch to create requirements PR against'
required: true
default: 'main'
python_version: '3.12'
jobs:
call-upgrade-python-requirements-workflow:
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ sphinx:
configuration: docs/conf.py

python:
version: 3.8
version: 3.12
install:
- requirements: requirements/doc.txt
12 changes: 3 additions & 9 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
asgiref==3.7.2
# via django
async-timeout==4.0.3
# via redis
attrs==23.2.0
# via openedx-events
backports-zoneinfo==0.2.1
# via django
cffi==1.16.0
# via pynacl
click==8.1.7
Expand Down Expand Up @@ -52,7 +48,7 @@ jinja2==3.1.3
# via code-annotations
markupsafe==2.1.5
# via jinja2
newrelic==9.7.0
newrelic==9.7.1
# via edx-django-utils
openedx-events==9.5.2
# via -r requirements/base.in
Expand Down Expand Up @@ -82,8 +78,6 @@ stevedore==5.2.0
text-unidecode==1.3
# via python-slugify
typing-extensions==4.10.0
# via
# asgiref
# edx-opaque-keys
# via edx-opaque-keys
walrus==0.9.3
# via -r requirements/base.in
6 changes: 1 addition & 5 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand Down Expand Up @@ -28,10 +28,6 @@ pluggy==1.4.0
# via tox
pyproject-api==1.6.1
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.14.1
# via -r requirements/ci.in
virtualenv==20.25.1
Expand Down
42 changes: 3 additions & 39 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand All @@ -13,18 +13,10 @@ astroid==3.1.0
# -r requirements/quality.txt
# pylint
# pylint-celery
async-timeout==4.0.3
# via
# -r requirements/quality.txt
# redis
attrs==23.2.0
# via
# -r requirements/quality.txt
# openedx-events
backports-zoneinfo==0.2.1
# via
# -r requirements/quality.txt
# django
build==1.1.1
# via
# -r requirements/pip-tools.txt
Expand Down Expand Up @@ -115,10 +107,6 @@ edx-opaque-keys[django]==2.5.1
# openedx-events
edx-toggles==5.1.1
# via -r requirements/quality.txt
exceptiongroup==1.2.0
# via
# -r requirements/quality.txt
# pytest
fastavro==1.9.4
# via
# -r requirements/quality.txt
Expand All @@ -128,10 +116,6 @@ filelock==3.13.1
# -r requirements/ci.txt
# tox
# virtualenv
importlib-metadata==7.0.2
# via
# -r requirements/pip-tools.txt
# build
iniconfig==2.0.0
# via
# -r requirements/quality.txt
Expand All @@ -155,7 +139,7 @@ mccabe==0.7.0
# via
# -r requirements/quality.txt
# pylint
newrelic==9.7.0
newrelic==9.7.1
# via
# -r requirements/quality.txt
# edx-django-utils
Expand Down Expand Up @@ -289,19 +273,6 @@ text-unidecode==1.3
# via
# -r requirements/quality.txt
# python-slugify
tomli==2.0.1
# via
# -r requirements/ci.txt
# -r requirements/pip-tools.txt
# -r requirements/quality.txt
# build
# coverage
# pip-tools
# pylint
# pyproject-api
# pyproject-hooks
# pytest
# tox
tomlkit==0.12.4
# via
# -r requirements/quality.txt
Expand All @@ -311,24 +282,17 @@ tox==4.14.1
typing-extensions==4.10.0
# via
# -r requirements/quality.txt
# asgiref
# astroid
# edx-opaque-keys
# pylint
virtualenv==20.25.1
# via
# -r requirements/ci.txt
# tox
walrus==0.9.3
# via -r requirements/quality.txt
wheel==0.42.0
wheel==0.43.0
# via
# -r requirements/pip-tools.txt
# pip-tools
zipp==3.17.0
# via
# -r requirements/pip-tools.txt
# importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
59 changes: 15 additions & 44 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
accessible-pygments==0.0.4
# via pydata-sphinx-theme
alabaster==0.7.13
alabaster==0.7.16
# via sphinx
asgiref==3.7.2
# via
# -r requirements/test.txt
# django
async-timeout==4.0.3
# via
# -r requirements/test.txt
# redis
attrs==23.2.0
# via
# -r requirements/test.txt
Expand All @@ -24,10 +20,6 @@ babel==2.14.0
# via
# pydata-sphinx-theme
# sphinx
backports-zoneinfo==0.2.1
# via
# -r requirements/test.txt
# django
beautifulsoup4==4.12.3
# via pydata-sphinx-theme
build==1.1.1
Expand Down Expand Up @@ -77,7 +69,7 @@ django-waffle==4.1.0
# -r requirements/test.txt
# edx-django-utils
# edx-toggles
docutils==0.19
docutils==0.20.1
# via
# pydata-sphinx-theme
# readme-renderer
Expand All @@ -93,10 +85,6 @@ edx-opaque-keys[django]==2.5.1
# openedx-events
edx-toggles==5.1.1
# via -r requirements/test.txt
exceptiongroup==1.2.0
# via
# -r requirements/test.txt
# pytest
fastavro==1.9.4
# via
# -r requirements/test.txt
Expand All @@ -105,14 +93,10 @@ idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==7.0.2
importlib-metadata==6.11.0
# via
# build
# keyring
# sphinx
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# twine
importlib-resources==6.1.3
# via keyring
iniconfig==2.0.0
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -140,7 +124,7 @@ mdurl==0.1.2
# via markdown-it-py
more-itertools==10.2.0
# via jaraco-classes
newrelic==9.7.0
newrelic==9.7.1
# via
# -r requirements/test.txt
# edx-django-utils
Expand Down Expand Up @@ -173,7 +157,7 @@ pycparser==2.21
# via
# -r requirements/test.txt
# cffi
pydata-sphinx-theme==0.14.4
pydata-sphinx-theme==0.15.2
# via sphinx-book-theme
pygments==2.17.2
# via
Expand Down Expand Up @@ -205,8 +189,6 @@ python-slugify==8.0.4
# via
# -r requirements/test.txt
# code-annotations
pytz==2024.1
# via babel
pyyaml==6.0.1
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -234,24 +216,24 @@ snowballstemmer==2.2.0
# via sphinx
soupsieve==2.5
# via beautifulsoup4
sphinx==6.2.1
sphinx==7.2.6
# via
# -r requirements/doc.in
# pydata-sphinx-theme
# sphinx-book-theme
sphinx-book-theme==1.0.1
sphinx-book-theme==1.1.2
# via -r requirements/doc.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.5
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
sqlparse==0.4.4
# via
Expand All @@ -267,29 +249,18 @@ text-unidecode==1.3
# via
# -r requirements/test.txt
# python-slugify
tomli==2.0.1
# via
# -r requirements/test.txt
# build
# coverage
# pyproject-hooks
# pytest
twine==5.0.0
# via -r requirements/doc.in
typing-extensions==4.10.0
# via
# -r requirements/test.txt
# asgiref
# edx-opaque-keys
# pydata-sphinx-theme
# rich
urllib3==2.2.1
# via
# requests
# twine
walrus==0.9.3
# via -r requirements/test.txt
zipp==3.17.0
# via
# importlib-metadata
# importlib-resources
# via importlib-metadata
13 changes: 2 additions & 11 deletions requirements/pip-tools.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
Expand All @@ -8,8 +8,6 @@ build==1.1.1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==7.0.2
# via build
packaging==24.0
# via build
pip-tools==7.4.1
Expand All @@ -18,15 +16,8 @@ pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
# via
# build
# pip-tools
# pyproject-hooks
wheel==0.42.0
wheel==0.43.0
# via pip-tools
zipp==3.17.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
4 changes: 2 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# make upgrade
#
wheel==0.42.0
wheel==0.43.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
Expand Down
Loading

0 comments on commit ce6724f

Please sign in to comment.