From 7961c0f956de1e1c54b8ba5604e783c9977d39a9 Mon Sep 17 00:00:00 2001 From: Muhammad Ammar Date: Mon, 3 Nov 2025 21:21:33 +0500 Subject: [PATCH] Revert "Upgrade to python 3.12" --- .github/workflows/ci.yml | 4 ++-- .github/workflows/mysql8-migrations.yml | 2 +- .github/workflows/upgrade-python-requirements.yml | 2 +- .readthedocs.yaml | 2 +- requirements/base.txt | 6 +++--- requirements/ci.txt | 2 +- requirements/dev.txt | 6 +++--- requirements/doc.txt | 6 +++--- requirements/pip.txt | 4 ++-- requirements/pip_tools.txt | 4 ++-- requirements/production.txt | 6 +++--- requirements/test.txt | 6 +++--- requirements/tox.txt | 2 +- tox.ini | 2 +- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ee02b7e..3e34eced 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: os: - ubuntu-latest python-version: - - 3.12 + - 3.11 targets: [ 'quality','main.test','docs' ] steps: @@ -40,7 +40,7 @@ jobs: && export TOXENV=django42 && make test.requirements tox.requirements ${{ matrix.targets }}" - name: Run Coverage - if: matrix.python-version == '3.12' && matrix.targets=='main.test' + if: matrix.python-version == '3.11' && matrix.targets=='main.test' uses: py-cov-action/python-coverage-comment-action@v3 with: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/mysql8-migrations.yml b/.github/workflows/mysql8-migrations.yml index b11604b3..123478d2 100644 --- a/.github/workflows/mysql8-migrations.yml +++ b/.github/workflows/mysql8-migrations.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ 3.12 ] + python-version: [ 3.11 ] steps: - name: Checkout repo diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 28c1303e..f846ee96 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -15,7 +15,7 @@ jobs: uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master with: branch: ${{ github.event.inputs.branch || 'master' }} - python_version: "3.12" + python_version: "3.11" # optional parameters below; fill in if you'd like github or email notifications # user_reviewers: "" # team_reviewers: "" diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d8fe1a6d..8c9c31d5 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -8,7 +8,7 @@ version: 2 build: os: "ubuntu-lts-latest" tools: - python: "3.12" + python: "3.11" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/requirements/base.txt b/requirements/base.txt index e12fc4e9..bf5654c5 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -11,9 +11,9 @@ asgiref==3.10.0 # django-countries boto==2.49.0 # via -r requirements/base.in -boto3==1.40.57 +boto3==1.40.56 # via -r requirements/base.in -botocore==1.40.57 +botocore==1.40.56 # via # boto3 # s3transfer diff --git a/requirements/ci.txt b/requirements/ci.txt index 9ab7f504..1f4abdbc 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade diff --git a/requirements/dev.txt b/requirements/dev.txt index df077448..622b3bb2 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -11,9 +11,9 @@ asgiref==3.10.0 # django-countries boto==2.49.0 # via -r requirements/base.in -boto3==1.40.57 +boto3==1.40.56 # via -r requirements/base.in -botocore==1.40.57 +botocore==1.40.56 # via # boto3 # s3transfer diff --git a/requirements/doc.txt b/requirements/doc.txt index 3aba3541..d29654f8 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -21,9 +21,9 @@ beautifulsoup4==4.14.2 # via pydata-sphinx-theme boto==2.49.0 # via -r requirements/base.in -boto3==1.40.57 +boto3==1.40.56 # via -r requirements/base.in -botocore==1.40.57 +botocore==1.40.56 # via # boto3 # s3transfer diff --git a/requirements/pip.txt b/requirements/pip.txt index 444ccecf..9049ce8b 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,8 +1,8 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --allow-unsafe --output-file=requirements/pip.txt requirements/pip.in +# pip-compile --allow-unsafe --cert=None --client-cert=None --index-url=None --output-file=requirements/pip.txt --pip-args=None requirements/pip.in # wheel==0.45.1 # via -r requirements/pip.in diff --git a/requirements/pip_tools.txt b/requirements/pip_tools.txt index ce99a467..02a4c821 100644 --- a/requirements/pip_tools.txt +++ b/requirements/pip_tools.txt @@ -1,8 +1,8 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# make upgrade +# pip-compile --cert=None --client-cert=None --index-url=None --output-file=requirements/pip_tools.txt --pip-args=None requirements/pip_tools.in # build==1.3.0 # via pip-tools diff --git a/requirements/production.txt b/requirements/production.txt index afd64442..11365cd1 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -11,9 +11,9 @@ asgiref==3.10.0 # django-countries boto==2.49.0 # via -r requirements/base.in -boto3==1.40.57 +boto3==1.40.56 # via -r requirements/base.in -botocore==1.40.57 +botocore==1.40.56 # via # boto3 # s3transfer diff --git a/requirements/test.txt b/requirements/test.txt index 99f1c2b0..d035345e 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -13,9 +13,9 @@ astroid==3.3.11 # via pylint boto==2.49.0 # via -r requirements/base.in -boto3==1.40.57 +boto3==1.40.56 # via -r requirements/base.in -botocore==1.40.57 +botocore==1.40.56 # via # boto3 # s3transfer diff --git a/requirements/tox.txt b/requirements/tox.txt index 58806cdc..cd4c8c97 100644 --- a/requirements/tox.txt +++ b/requirements/tox.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade diff --git a/tox.ini b/tox.ini index fc024728..7296da4e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] skipsdist = True -envlist = py312-django{42} +envlist = py311-django{42} [testenv] passenv =