mirror of
https://github.com/codespell-project/codespell.git
synced 2025-05-17 23:46:43 +08:00
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:

committed by
Dimitri Papadopoulos Orfanos

parent
4caf26a356
commit
c40b6a44eb
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user