@@ -137,17 +137,17 @@ jobs:
137137 run : |
138138 # Upgrade pip and setuptools and wheel to get as clean an install as
139139 # possible.
140- python -mpip install --upgrade pip setuptools wheel
140+ python -m pip install --upgrade pip setuptools wheel
141141
142142 # Install dependencies from PyPI.
143- python -mpip install --upgrade $PRE \
143+ python -m pip install --upgrade $PRE \
144144 cycler kiwisolver numpy pillow pyparsing python-dateutil \
145145 -r requirements/testing/all.txt \
146146 ${{ matrix.extra-requirements }}
147147
148148 # Install optional dependencies from PyPI.
149149 # Sphinx is needed to run sphinxext tests
150- python -mpip install --upgrade sphinx
150+ python -m pip install --upgrade sphinx
151151
152152 # GUI toolkits are pip-installable only for some versions of Python
153153 # so don't fail if we can't install them. Make it easier to check
@@ -160,8 +160,8 @@ jobs:
160160 # pycairo 1.20+ requires a new version of Cairo, unavailable on
161161 # Ubuntu 16.04, so PyGObject must be installed without build
162162 # isolation in order to pick up the lower pre-installed version.
163- python -mpip install --upgrade 'pycairo<1.20.0' 'cairocffi>=0.8' &&
164- python -mpip install --upgrade --no-build-isolation PyGObject &&
163+ python -m pip install --upgrade 'pycairo<1.20.0' 'cairocffi>=0.8' &&
164+ python -m pip install --upgrade --no-build-isolation PyGObject &&
165165 python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
166166 echo 'PyGObject is available' ||
167167 echo 'PyGObject is not available'
@@ -170,16 +170,16 @@ jobs:
170170 # Sept 2020) for either pyqt5 (there are only wheels for 10.13+) or
171171 # pyside2 (the latest version (5.13.2) with 10.12 wheels has a
172172 # fatal to us bug, it was fixed in 5.14.0 which has 10.13 wheels)
173- python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
173+ python -m pip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
174174 python -c 'import PyQt5.QtCore' &&
175175 echo 'PyQt5 is available' ||
176176 echo 'PyQt5 is not available'
177- python -mpip install --upgrade pyside2 &&
177+ python -m pip install --upgrade pyside2 &&
178178 python -c 'import PySide2.QtCore' &&
179179 echo 'PySide2 is available' ||
180180 echo 'PySide2 is not available'
181181 fi
182- python -mpip install --upgrade \
182+ python -m pip install --upgrade \
183183 -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 \
184184 wxPython &&
185185 python -c 'import wx' &&
@@ -199,7 +199,7 @@ jobs:
199199
200200 # All dependencies must have been pre-installed, so that the minver
201201 # constraints are held.
202- python -mpip install --no-deps -e .
202+ python -m pip install --no-deps -e .
203203
204204 if [[ "${{ runner.os }}" != 'macOS' ]]; then
205205 unset CPPFLAGS
0 commit comments