From a3bafb2ccd6b0920bf2fd4e05b2b7e5add8e682e Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Mon, 10 Jun 2024 15:50:06 -0400 Subject: [PATCH] temp: build: compile python requirements with 3.8, not 3.11 (#34960) We haven't quite dropped Py3.8 support yet, so we can't use these workflows if they're compiling with 3.11: * upgrade-one-python-dependency (upgrading a single, targeted dep) * compile-python-requirements (recompiling all deps without upgrading) So, we "downgrade" those workflows to use 3.8, for now. We should revert this commit when we drop 3.8 support. Note: The upgrade-python-requirements.yml workflow is still using 3.8, so this commit will update the other workflows to match that one. --- .github/workflows/compile-python-requirements.yml | 2 +- .github/workflows/upgrade-one-python-dependency.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile-python-requirements.yml b/.github/workflows/compile-python-requirements.yml index 0ff99b9c68..fda1d3b338 100644 --- a/.github/workflows/compile-python-requirements.yml +++ b/.github/workflows/compile-python-requirements.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Python environment uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.8" - name: Run make compile-requirements env: diff --git a/.github/workflows/upgrade-one-python-dependency.yml b/.github/workflows/upgrade-one-python-dependency.yml index 6ca5dfcb35..baed246246 100644 --- a/.github/workflows/upgrade-one-python-dependency.yml +++ b/.github/workflows/upgrade-one-python-dependency.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Python environment uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.8" - name: Update any pinned dependencies env: