Skip to content

Commit

Permalink
Upgrade python dependency toolchain in CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
DazWorrall committed May 22, 2023
1 parent 6e8be89 commit 231ee08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get -qq update
sudo apt-get install -y python2.7 python3.6 python3.7
# https://github.com/pypa/setuptools/issues/2988#issuecomment-1007991935
git clone https://github.com/pypa/setuptools.git && cd setuptools && sudo python3.10 setup.py install
sudo apt install python3.10-distutils
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
sudo pip install autopep8
- name: Run Python tests
run: |
Expand Down
1 change: 0 additions & 1 deletion bin/before-install
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ case ENV['SUITE']
when 'python'
Dir.chdir('python/') do
run('sudo', 'pip', 'install', '-U', 'pip')
run('sudo', 'pip', 'install', 'setuptools==33.1.1')
run('pip', '--version')
run('sudo', 'make', 'install')
end
Expand Down

0 comments on commit 231ee08

Please sign in to comment.