Skip to content

Commit 500a6b9

Browse files
committed
Move setuptools install location and print version
Install setuptools before priting version of key libraries and include setuptools. Packages that can use setuptools will find it missing, so install before any pip gets run.
1 parent 32ba4a1 commit 500a6b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,15 @@ jobs:
100100
allow-prereleases: true
101101
cache: 'pip'
102102

103+
- name: Install build tools - setuptools
104+
run: pip install setuptools
105+
103106
# Display the Python version being used
104107
- name: Display Python and key module versions
105108
run: |
106109
python -c "import sys; print('python version: ', sys.version)"
107110
python -c "import sqlite3; print('sqlite version: ', sqlite3.sqlite_version)"
111+
python -c "import setuptools; print('setuptools version: ', setuptools.__version__);"
108112
109113
# Install the databases
110114
- name: Install mysql/mariadb
@@ -190,9 +194,6 @@ jobs:
190194
- name: Install pytest and other packages needed for running tests
191195
run: pip install flake8 mock pytest pytest-cov requests
192196

193-
- name: Install build tools - setuptools
194-
run: pip install setuptools
195-
196197
- name: Test build roundup and install locale so lang tests work.
197198
run: |
198199
sudo apt-get install gettext

0 commit comments

Comments
 (0)