mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-02 18:40:55 +00:00
Work around Windows wonkiness
On Windows, attempting to upgrade `pip` within CI always yields this: ``` Run pip install -U pip Requirement already satisfied: pip in c:\hostedtoolcache\windows\python\3.10.11\x64\lib\site-packages (25.1.1) Collecting pip Downloading pip-25.2-py3-none-any.whl.metadata (4.7 kB) Downloading pip-25.2-py3-none-any.whl (1.8 MB) ---------------------------------------- 1.8/1.8 MB 48.1 MB/s eta 0:00:00 Notice: A new release of pip is available: 25.1.1 -> 25.2 Notice: To update, run: python.exe -m pip install --upgrade pip ERROR: To modify pip, please run the following command: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe -m pip install -U pip Error: Process completed with exit code 1. ```
This commit is contained in:
parent
d0797bd272
commit
79e5de103a
1 changed files with 2 additions and 1 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -29,7 +29,8 @@ jobs:
|
|||
- name: Prepare
|
||||
shell: bash
|
||||
run: |
|
||||
pip install -U pip
|
||||
# TODO: Workaround for Windows tests failing when upgrading `pip` with exit code 1
|
||||
# pip install -U pip
|
||||
pip install -r requirements.txt pytest
|
||||
|
||||
- name: Install pytest-run-parallel under free-threading
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue