Might need older Tor for Python 3 as well.

This commit is contained in:
Itamar Turner-Trauring 2021-07-06 10:04:55 -07:00
parent a612dcff5a
commit 0acf2483ee
1 changed files with 2 additions and 7 deletions

View File

@ -164,16 +164,11 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sudo apt install tor
- 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.
# tests on macOS.
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
if: ${{ ( matrix.os == 'macos-latest' ) && ( matrix.python-version == '2.7' ) }}
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew extract --version 0.4.5.8 tor homebrew/cask
brew install tor@0.4.5.8