Use older Tor on macOS + Python 2.7

This commit is contained in:
Sajith Sasidharan 2021-07-05 08:37:49 -04:00
parent 943b7d73fb
commit d2fdd92b8b
2 changed files with 13 additions and 2 deletions

View File

@ -189,10 +189,21 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sudo apt install tor
- name: Install Tor [macOS]
if: matrix.os == 'macos-latest'
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
if: ${{ ( matrix.os == 'macos-latest' ) && ( matrix.python-version != '2.7' ) }}
run: brew install tor
# TODO: See https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3744.
# We have to use an older version of Tor for running integration
# tests on macOS using Python 2.7. We should stop doing this
# when Python 2.7 is dropped.
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
if: ${{ ( matrix.os == 'macos-latest' ) && ( matrix.python-version == '2.7' ) }}
run: |
brew extract --version 0.4.5.8 tor homebrew/cask
brew install tor@0.4.5.8
brew link --overwrite tor@0.4.5.8
- name: Install Tor [Windows]
if: matrix.os == 'windows-latest'
uses: crazy-max/ghaction-chocolatey@v1

0
newsfragments/3744.minor Normal file
View File