From 953f33339c5fd113e78c532c607f2d427da59049 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Fri, 7 Nov 2025 07:19:52 +0000 Subject: [PATCH] ci: use Python 3.12 for type tests --- .github/workflows/typing.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/typing.yml b/.github/workflows/typing.yml index 5005dad2c..0bce0edef 100644 --- a/.github/workflows/typing.yml +++ b/.github/workflows/typing.yml @@ -10,15 +10,16 @@ jobs: steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2 - - name: Set up latest Python 3 + - name: Set up Python 3.12 uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # v2 with: - python-version: 3 + python-version: 3.12 - name: Install dependencies run: | python -m pip install --upgrade pip pip install mypy==0.921 types-protobuf==3.19.21 + pip install typed-ast==1.5.5 - name: Execute run_stubtest.py run: | @@ -31,10 +32,10 @@ jobs: steps: - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2 - - name: Set up latest Python 3 + - name: Set up Python 3.12 uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # v2 with: - python-version: 3 + python-version: 3.12 - name: Install dependencies run: |