Skip to content

Commit

Permalink
feat!: Python 3.12 Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Oct 26, 2024
1 parent 0796ba1 commit f851839
Show file tree
Hide file tree
Showing 13 changed files with 80 additions and 146 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8', '3.11']
os: [ubuntu-22.04]
python-version: ['3.12']
toxenv: [django42]
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
jobs:

push:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v3
with:
python-version: 3.8
python-version: 3.12

- name: Install pip
run: pip install pip
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 @@ -15,6 +15,7 @@ jobs:
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
with:
branch: ${{ github.event.inputs.branch || 'edx_release' }}
python_version: "3.12"
# optional parameters below; fill in if you'd like github or email notifications
# user_reviewers: ""
# team_reviewers: ""
Expand Down
24 changes: 6 additions & 18 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
#
# 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.8.0
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
bleach[css]==6.1.0
# via -r requirements/base.in
django==4.2.11
django==4.2.16
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.in
Expand All @@ -23,31 +19,23 @@ django-classy-tags==4.1.0
# via django-sekizai
django-js-asset==2.2.0
# via django-mptt
django-mptt==0.14.0
django-mptt==0.16.0
# via -r requirements/base.in
django-sekizai==4.1.0
# via -r requirements/base.in
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# markdown
markdown==3.3.7
# via
# -c requirements/constraints.txt
# -r requirements/base.in
six==1.16.0
# via bleach
sorl-thumbnail==12.10.0
sorl-thumbnail==12.11.0
# via -r requirements/base.in
sqlparse==0.4.4
sqlparse==0.5.1
# via django
tinycss2==1.2.1
# via bleach
typing-extensions==4.10.0
# via asgiref
webencodings==0.5.1
# via
# bleach
# tinycss2
zipp==3.18.1
# via importlib-metadata
25 changes: 10 additions & 15 deletions requirements/ci.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
#
cachetools==5.3.3
cachetools==5.5.0
# via
# -r requirements/tox.txt
# tox
Expand All @@ -16,41 +16,36 @@ colorama==0.4.6
# via
# -r requirements/tox.txt
# tox
distlib==0.3.8
distlib==0.3.9
# via
# -r requirements/tox.txt
# virtualenv
filelock==3.13.1
filelock==3.16.1
# via
# -r requirements/tox.txt
# tox
# virtualenv
packaging==24.0
packaging==24.1
# via
# -r requirements/tox.txt
# pyproject-api
# tox
platformdirs==4.2.0
platformdirs==4.3.6
# via
# -r requirements/tox.txt
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via
# -r requirements/tox.txt
# tox
pyproject-api==1.6.1
pyproject-api==1.8.0
# via
# -r requirements/tox.txt
# tox
tomli==2.0.1
# via
# -r requirements/tox.txt
# pyproject-api
# tox
tox==4.14.1
tox==4.23.2
# via -r requirements/tox.txt
virtualenv==20.25.1
virtualenv==20.27.0
# via
# -r requirements/tox.txt
# tox
2 changes: 1 addition & 1 deletion requirements/django.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
django==4.2.11
django==4.2.16
60 changes: 25 additions & 35 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,80 +1,70 @@
#
# 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
accessible-pygments==0.0.5
# via pydata-sphinx-theme
alabaster==0.7.13
alabaster==1.0.0
# via sphinx
babel==2.14.0
babel==2.16.0
# via
# pydata-sphinx-theme
# sphinx
beautifulsoup4==4.12.3
# via pydata-sphinx-theme
certifi==2024.2.2
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
docutils==0.19
docutils==0.21.2
# via
# pydata-sphinx-theme
# sphinx
idna==3.6
idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# sphinx
jinja2==3.1.3
jinja2==3.1.4
# via sphinx
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
packaging==24.0
# via
# pydata-sphinx-theme
# sphinx
pydata-sphinx-theme==0.14.4
packaging==24.1
# via sphinx
pydata-sphinx-theme==0.16.0
# via sphinx-book-theme
pygments==2.17.2
pygments==2.18.0
# via
# accessible-pygments
# pydata-sphinx-theme
# sphinx
pytz==2024.1
# via babel
requests==2.31.0
requests==2.32.3
# via sphinx
snowballstemmer==2.2.0
# via sphinx
soupsieve==2.5
soupsieve==2.6
# via beautifulsoup4
sphinx==6.2.1
sphinx==8.1.3
# via
# -r requirements/docs.in
# pydata-sphinx-theme
# sphinx-book-theme
sphinx-book-theme==1.0.1
sphinx-book-theme==1.1.3
# via -r requirements/docs.in
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
typing-extensions==4.10.0
typing-extensions==4.12.2
# via pydata-sphinx-theme
urllib3==2.2.1
urllib3==2.2.3
# via requests
zipp==3.18.1
# via importlib-metadata
8 changes: 4 additions & 4 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# 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.43.0
wheel==0.44.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==24.0
pip==24.2
# via -r requirements/pip.in
setuptools==69.2.0
setuptools==75.2.0
# via -r requirements/pip.in
21 changes: 5 additions & 16 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
#
# 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
#
build==1.1.1
build==1.2.2.post1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# build
packaging==24.0
packaging==24.1
# via build
pip-tools==7.4.1
# via -r requirements/pip_tools.in
pyproject-hooks==1.0.0
# via
# build
# pip-tools
tomli==2.0.1
pyproject-hooks==1.2.0
# via
# build
# pip-tools
# pyproject-hooks
wheel==0.43.0
wheel==0.44.0
# via pip-tools
zipp==3.18.1
# via importlib-metadata

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

0 comments on commit f851839

Please sign in to comment.