From 145d26dbae8e0735a47042586d2e98e6b243a90f Mon Sep 17 00:00:00 2001 From: Johann Dahm Date: Wed, 10 Nov 2021 23:19:04 -0800 Subject: [PATCH] Temporarily pin tox CI to use Python 3.9.7 (#550) Downgrades the Python 3.9 version used in CI as described in #551 to avoid a Pydantic issue. --- .github/workflows/gt4py-tox.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gt4py-tox.yml b/.github/workflows/gt4py-tox.yml index 829f923114..36f258c997 100644 --- a/.github/workflows/gt4py-tox.yml +++ b/.github/workflows/gt4py-tox.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9] + python-version: [3.8, 3.9.7] steps: - uses: actions/checkout@v2 @@ -27,7 +27,7 @@ jobs: mv boost_1_76_0/boost boost/include/ echo "BOOST_ROOT=${PWD}/boost" >> $GITHUB_ENV - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install python dependencies @@ -35,7 +35,8 @@ jobs: python -m pip install --upgrade pip setuptools wheel - name: Test with tox run: | - pyversion_no_dot="${{ matrix.python-version }}" - pyversion_no_dot="${pyversion_no_dot/./}" + pyversion_no_dot=${{ matrix.python-version }} + pyversion_no_dot=${pyversion_no_dot//./} + pyversion_no_dot=${pyversion_no_dot:0:2} pip install tox clang-format tox -r -e py${pyversion_no_dot}-internal-cpu