Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commitdba4245
committed
Fix installation test for Python 3.12 and Windows
Starting in Python 3.12, global and virtual Python environments nolonger automatically ship setuptools (per the "ensurepip" item inhttps://docs.python.org/3.12/whatsnew/3.12.html#removed). Projectsthat use setuptools as a build backend are still supported,including with setup.py using techniques such as "pip install .".In Windows, the "bin" subdir of a virtual environment dir is called"Scripts" instead. Unlike in a global environment (where no namesare universal, and "python3" and "pip3" are more common for thePython 3 commands on some popular Unix-like systems), in a virtualenvironment the "python" and "pip" commands are always present and"python3" and "pip3" are not guaranteed to be present.This commit changes test_installation accordingly. The CI workflowsand documentation still need to be updated.1 parentc8e303f commitdba4245
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| |||
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 |
| - | |
16 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
| |||
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
35 |
| - | |
| 37 | + | |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
42 |
| - | |
| 44 | + | |
43 | 45 |
| |
44 | 46 |
| |
45 | 47 |
| |
|
0 commit comments
Comments
(0)