Skip to content

Commit 91b671c

Browse files
committed
Fix Python
1 parent 076d3fb commit 91b671c

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
python: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
48+
python: [ '3.7.17', '3.8.1', '3.9.23', '3.10.18', '3.11.13' ]
4949

5050
services:
5151
redis:
@@ -55,12 +55,9 @@ jobs:
5555

5656
steps:
5757
- uses: actions/checkout@v2
58-
- name: Install Python ${{ matrix.python }}
59-
run: |
60-
sudo add-apt-repository -y ppa:deadsnakes/ppa
61-
sudo apt-get -qq update
62-
sudo apt-get install -y python${{ matrix.python }} python${{ matrix.python }}-distutils
63-
sudo pip install autopep8
58+
- uses: actions/setup-python@v5
59+
with:
60+
python-version: ${{ matrix.python }}
6461
- name: Run Python tests
6562
run: |
6663
bin/before-install

bin/before-install

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ end
1010
case ENV['SUITE']
1111
when 'python'
1212
Dir.chdir('python/') do
13-
run('sudo', 'pip', 'install', '-U', 'pip')
14-
run('sudo', 'pip', 'install', 'setuptools==68.0.0')
1513
run('pip', '--version')
1614
run('sudo', 'make', 'install')
1715
end

0 commit comments

Comments
 (0)