From fadc7b142c02e608b41fe1c4f931e4278e74e700 Mon Sep 17 00:00:00 2001 From: Jeremy Ristau Date: Fri, 20 Nov 2026 23:03:54 -0500 Subject: [PATCH 1/3] build: compile requirements with Python 3.11 to match production The shared upgrade-python-requirements workflow defaults to Python 3.12, so the requirements bot pins versions that need 3.12 (e.g. edx-django-utils 8.2, code-annotations 3.0, sphinx 9.1). CI and edx.org's LMS run Python 3.11, so those pins fail to install and every bot PR goes red. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/upgrade-python-requirements.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index ac9a0241..b0df0c64 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -6,6 +6,7 @@ on: workflow_dispatch: inputs: branch: + python_version: "3.11" # match edx.org production (edx-platform runs Python 3.11) description: 'Target branch to create requirements PR against' required: true default: 'master' From 13b168eab5bd9037567bc52de9290fab466ce8cd Mon Sep 17 00:00:00 2001 From: Jeremy Ristau Date: Fri, 20 Nov 2026 23:10:51 -0500 Subject: [PATCH 2/3] build: also run quality checks on Python 3.12 Keeps requirements compiled on 3.11 (what edx.org runs today) while showing whether devstack's tooling is ready for 3.12. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/quality.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 78159b55..f040f191 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -20,6 +20,7 @@ jobs: matrix: python-version: - '3.11' + - '3.12' fail-fast: false steps: From f7a8def3ed816b1a7e3eda02ab146957a1a6bc24 Mon Sep 17 00:00:00 2001 From: Jeremy Ristau Date: Fri, 20 Nov 2026 23:15:00 -0500 Subject: [PATCH 3/3] fix: pass python_version to the reusable workflow, not the dispatch inputs The previous commit put python_version under workflow_dispatch.inputs.branch, which made the YAML invalid. Move it into the reusable workflow job's with block. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/upgrade-python-requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index b0df0c64..455ae32c 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -6,7 +6,6 @@ on: workflow_dispatch: inputs: branch: - python_version: "3.11" # match edx.org production (edx-platform runs Python 3.11) description: 'Target branch to create requirements PR against' required: true default: 'master' @@ -14,6 +13,7 @@ jobs: call-upgrade-python-requirements-workflow: with: branch: ${{ github.event.inputs.branch }} + python_version: "3.11" # match edx.org production (edx-platform runs Python 3.11) team_reviewers: "orbi-bom" email_address: orbi-bom-upgrade-prs@2u-internal.jsmalerts.atlassian.net send_success_notification: true