Skip to content

Commit 521ba31

Browse files
committed
Fix python CI tests
1 parent 8b07033 commit 521ba31

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
sudo add-apt-repository -y ppa:deadsnakes/ppa
5252
sudo apt-get -qq update
5353
sudo apt-get install -y python${{ matrix.python }} python${{ matrix.python }}-distutils
54+
sudo pip install --upgrade pip
5455
sudo pip install autopep8
5556
- name: Run Python tests
5657
run: |

bin/before-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ end
1010
case ENV['SUITE']
1111
when 'python'
1212
Dir.chdir('python/') do
13-
run('sudo', 'pip', 'install', '-U', 'pip')
13+
# run('sudo', 'pip', 'install', '-U', 'pip', '--break-system-packages')
1414
run('sudo', 'pip', 'install', 'setuptools==68.0.0')
1515
run('pip', '--version')
1616
run('sudo', 'make', 'install')

python/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ run_tests: clean
2929
test: autopep8 run_tests
3030

3131
install:
32+
@echo "Python version: $(python_version_full)"
33+
@echo "Python version major: $(python_version_major)"
3234
pip install --ignore-installed six -e .[test]
3335

3436
release:

0 commit comments

Comments
 (0)