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.
This commit is contained in:
Dimitri Papadopoulos
2025-04-27 14:23:09 +02:00
committed by Dimitri Papadopoulos Orfanos
parent 4caf26a356
commit c40b6a44eb

View File

@ -53,7 +53,7 @@ jobs:
shell: bash -e {0}
run: |
python --version # just to check
pip install --upgrade pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
python -m pip install --upgrade pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
pip install --upgrade "setuptools!=47.2.0" docutils setuptools_scm[toml] twine
pip install -e ".[dev]" # install the codespell dev packages
- run: pip install aspell-python-py3