Skip to content

Commit c40b6a4

Browse files
Fix CI on Windows: pip upgrade pip
On Windows, pip.exe cannot update pip.exe if pip.exe is already running. Use an alternative command that avoids running the pip.exe executable.
1 parent 4caf26a commit c40b6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
shell: bash -e {0}
5454
run: |
5555
python --version # just to check
56-
pip install --upgrade pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
56+
python -m pip install --upgrade pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
5757
pip install --upgrade "setuptools!=47.2.0" docutils setuptools_scm[toml] twine
5858
pip install -e ".[dev]" # install the codespell dev packages
5959
- run: pip install aspell-python-py3

0 commit comments

Comments
 (0)