From c8aab085d7deefc9e7c1c5daf31a04f9416ea643 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Wed, 25 Nov 2020 08:16:37 -0500 Subject: [PATCH] Re-introduce vcpython27 in GitHub Actions Turns out that netifaces has not published a .whl package for Python 2.7 and 64-bit Windows. --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ newsfragments/3537.minor | 0 2 files changed, 27 insertions(+) create mode 100644 newsfragments/3537.minor diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bb99c2c8..fd5049104 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,15 @@ jobs: steps: + # Get vcpython27 on Windows + Python 2.7, to build netifaces + # extension. See https://chocolatey.org/packages/vcpython27 and + # https://github.com/crazy-max/ghaction-chocolatey + - name: Install MSVC 9.0 for Python 2.7 [Windows] + if: matrix.os == 'windows-latest' && matrix.python-version == '2.7' + uses: crazy-max/ghaction-chocolatey@v1 + with: + args: install vcpython27 + - name: Check out Tahoe-LAFS sources uses: actions/checkout@v2 @@ -69,6 +78,15 @@ jobs: steps: + # Get vcpython27 for Windows + Python 2.7, to build netifaces + # extension. See https://chocolatey.org/packages/vcpython27 and + # https://github.com/crazy-max/ghaction-chocolatey + - name: Install MSVC 9.0 for Python 2.7 [Windows] + if: matrix.os == 'windows-latest' && matrix.python-version == '2.7' + uses: crazy-max/ghaction-chocolatey@v1 + with: + args: install vcpython27 + - name: Install Tor [Ubuntu] if: matrix.os == 'ubuntu-latest' run: sudo apt install tor @@ -126,6 +144,15 @@ jobs: steps: + # Get vcpython27 for Windows + Python 2.7, to build netifaces + # extension. See https://chocolatey.org/packages/vcpython27 and + # https://github.com/crazy-max/ghaction-chocolatey + - name: Install MSVC 9.0 for Python 2.7 [Windows] + if: matrix.os == 'windows-latest' && matrix.python-version == '2.7' + uses: crazy-max/ghaction-chocolatey@v1 + with: + args: install vcpython27 + - name: Check out Tahoe-LAFS sources uses: actions/checkout@v2 diff --git a/newsfragments/3537.minor b/newsfragments/3537.minor new file mode 100644 index 000000000..e69de29bb