From 754a807a1ac1ac894997d881b7e417a4ecd27170 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 6 Mar 2026 15:58:56 -0500 Subject: [PATCH 1/2] chore: drop Python 3.11 support Remove Python 3.11 from CI matrix (ci.yml and migrations-mysql8-check.yml) and tox envlist. Part of https://github.com/openedx/public-engineering/issues/499 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 2 +- .github/workflows/migrations-mysql8-check.yml | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8399169..fed98eb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12"] + python-version: ["3.12"] toxenv: ["django52", "quality", "pii_check", "check_keywords"] services: diff --git a/.github/workflows/migrations-mysql8-check.yml b/.github/workflows/migrations-mysql8-check.yml index e4c26875..00037b6b 100644 --- a/.github/workflows/migrations-mysql8-check.yml +++ b/.github/workflows/migrations-mysql8-check.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12"] + python-version: ["3.12"] steps: - name: Checkout code diff --git a/tox.ini b/tox.ini index 6b961b0a..666c1b4e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{311,312}-django{52}, quality, pii_check, check_keywords +envlist = py{312}-django{52}, quality, pii_check, check_keywords skipsdist = true isolated_build = true # Enable isolated build environments From d413a8d181755e86a3336bc9c3fd0b43a5832f89 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 6 Mar 2026 16:23:18 -0500 Subject: [PATCH 2/2] chore: update requirements for Python 3.12 Regenerated all pinned requirements using Python 3.12. Co-Authored-By: Claude Sonnet 4.6 --- requirements/base.txt | 4 ++-- requirements/ci.txt | 12 ++++++------ requirements/pip-tools.txt | 2 +- requirements/pip.txt | 4 ++-- requirements/quality.txt | 14 +++++++------- requirements/test.txt | 14 +++++++------- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 7e10a6ee..c7129019 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade @@ -187,5 +187,5 @@ urllib3==1.26.20 # requests # The following packages are considered to be unsafe in a requirements file: -setuptools==82.0.0 +setuptools==82.0.1 # via -r requirements/base.in diff --git a/requirements/ci.txt b/requirements/ci.txt index b51e23d7..fc5012e1 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,16 +1,16 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -cachetools==7.0.4 +cachetools==7.0.5 # via tox colorama==0.4.6 # via tox distlib==0.4.0 # via virtualenv -filelock==3.25.0 +filelock==3.25.1 # via # python-discovery # tox @@ -28,11 +28,11 @@ pluggy==1.6.0 # via tox pyproject-api==1.10.0 # via tox -python-discovery==1.1.1 +python-discovery==1.1.3 # via virtualenv tomli-w==1.2.0 # via tox -tox==4.49.0 +tox==4.49.1 # via -r requirements/ci.in -virtualenv==21.1.0 +virtualenv==21.2.0 # via tox diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index c952cd2a..d89516b8 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade diff --git a/requirements/pip.txt b/requirements/pip.txt index 35dcee6b..c87fe302 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade @@ -12,5 +12,5 @@ wheel==0.46.3 # The following packages are considered to be unsafe in a requirements file: pip==26.0.1 # via -r requirements/pip.in -setuptools==82.0.0 +setuptools==82.0.1 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index 55724dde..58cdc0cd 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade @@ -26,7 +26,7 @@ attrs==25.4.0 # -r requirements/test.txt # jsonschema # referencing -cachetools==7.0.4 +cachetools==7.0.5 # via # -r requirements/test.txt # tox @@ -201,7 +201,7 @@ faker==40.8.0 # via # -r requirements/test.txt # factory-boy -filelock==3.25.0 +filelock==3.25.1 # via # -r requirements/test.txt # python-discovery @@ -373,7 +373,7 @@ python-dateutil==2.9.0.post0 # -r requirements/base.txt # -r requirements/test.txt # elasticsearch-dsl -python-discovery==1.1.1 +python-discovery==1.1.3 # via # -r requirements/test.txt # virtualenv @@ -445,7 +445,7 @@ tomlkit==0.14.0 # via # -r requirements/test.txt # pylint -tox==4.49.0 +tox==4.49.1 # via -r requirements/test.txt typing-extensions==4.15.0 # via @@ -472,13 +472,13 @@ urllib3==1.26.20 # -r requirements/test.txt # elasticsearch # requests -virtualenv==21.1.0 +virtualenv==21.2.0 # via # -r requirements/test.txt # tox # The following packages are considered to be unsafe in a requirements file: -setuptools==82.0.0 +setuptools==82.0.1 # via # -r requirements/base.txt # -r requirements/test.txt diff --git a/requirements/test.txt b/requirements/test.txt index 47d908a1..f55dd4a7 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade @@ -22,7 +22,7 @@ attrs==25.4.0 # -r requirements/base.txt # jsonschema # referencing -cachetools==7.0.4 +cachetools==7.0.5 # via tox camel-converter[pydantic]==5.1.0 # via @@ -147,7 +147,7 @@ factory-boy==3.3.3 # via -r requirements/test.in faker==40.8.0 # via factory-boy -filelock==3.25.0 +filelock==3.25.1 # via # python-discovery # tox @@ -266,7 +266,7 @@ python-dateutil==2.9.0.post0 # via # -r requirements/base.txt # elasticsearch-dsl -python-discovery==1.1.1 +python-discovery==1.1.3 # via virtualenv python-slugify==8.0.4 # via code-annotations @@ -319,7 +319,7 @@ tomli-w==1.2.0 # via tox tomlkit==0.14.0 # via pylint -tox==4.49.0 +tox==4.49.1 # via -r requirements/test.in typing-extensions==4.15.0 # via @@ -342,9 +342,9 @@ urllib3==1.26.20 # -r requirements/base.txt # elasticsearch # requests -virtualenv==21.1.0 +virtualenv==21.2.0 # via tox # The following packages are considered to be unsafe in a requirements file: -setuptools==82.0.0 +setuptools==82.0.1 # via -r requirements/base.txt