From 3105b8d57eebb74867daadf1ca32dfa6a55040df Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Thu, 2 Nov 2023 11:12:33 -0700 Subject: [PATCH] Pin python at 3.11. Github changed their mac runners to use 3.12 by default, which removed setuptools and is causing breakages in some of our tests. PiperOrigin-RevId: 578917538 --- .github/workflows/test_upb.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_upb.yml b/.github/workflows/test_upb.yml index 9eb236f051b95..ebe59aa7e11ac 100644 --- a/.github/workflows/test_upb.yml +++ b/.github/workflows/test_upb.yml @@ -100,6 +100,7 @@ jobs: with: cache: pip cache-dependency-path: 'python/requirements.txt' + python-version: '3.11' # 3.12 doesn't have setuptools - name: Run tests uses: protocolbuffers/protobuf-ci/bazel@v2 with: