Skip to content

Commit 79e5de1

Browse files
authored
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. ```
1 parent d0797bd commit 79e5de1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
- name: Prepare
3030
shell: bash
3131
run: |
32-
pip install -U pip
32+
# TODO: Workaround for Windows tests failing when upgrading `pip` with exit code 1
33+
# pip install -U pip
3334
pip install -r requirements.txt pytest
3435
3536
- name: Install pytest-run-parallel under free-threading

0 commit comments

Comments
 (0)