Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork937
Commit3dc5366
committed
Bootstrap
This works around a problem in Python 3.12 on Cygwin where `pip`fails to intall in a venv via `ensurepip` (both implicitly when thevenv is created normally, and explicitly when `python -m ensurepip`is attempted), by creating the venv with `--without-pip` and then,once the venv is set up, bootstrapping `pip` in it by running thehttps://bootstrap.pypa.io/get-pip.py script.Eventually, when `pip` is working automatically in a venv inPython 3.12 on Cygwin (the problem is specific to that combination,and the Cygwin `python312*` packages are still marked "test"), thisspecial-casing can be removed.pip
in Cygwin Python 3.12 venv in a separate step1 parent18c7b96 commit3dc5366
1 file changed
+9
-4
lines changedLines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 |
| - | |
| 70 | + | |
71 | 71 |
| |
72 | 72 |
| |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
73 | 78 |
| |
74 | 79 |
| |
75 | 80 |
| |
|
0 commit comments
Comments
(0)