From 921f211018eee797b6c1f3d3eee00b5d01acf62e Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Fri, 25 Feb 2022 11:43:18 -0500 Subject: [PATCH] Use windows-2019 for GitHub Actions jobs The windows-latest GitHub Actions virtual environment just switched from windows-2019 to windows-2022. The windows-2022 virtual environment cannot build Python C extensions (see actions/virtual-environments#5141). As a temporary workaround, switch to using windows-2019. Fixes #177. --- .github/workflows/python-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index e68c64d..2d441f5 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -20,7 +20,7 @@ jobs: - os: ubuntu-latest python-version: 3.7 toxenv: py37-test-pytest46 - - os: windows-latest + - os: windows-2019 python-version: 3.7 toxenv: py37-test-pytest50 - os: macos-latest @@ -29,7 +29,7 @@ jobs: - os: ubuntu-latest python-version: 3.7 toxenv: py37-test-pytest52 - - os: windows-latest + - os: windows-2019 python-version: 3.8 toxenv: py38-test-pytest53 - os: ubuntu-latest