-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-ensurepiptype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Building Python3.11.0 with --ensure-pip
seems to incorrectly createpip3.10
in addition to pip3
and pip3.11
, where pip3.10
is identical to pip3.11
.
Building Python3.11 at v3.11.0:
$ git log -n1 --oneline
deaf509e8f (HEAD, tag: v3.11.0) Python 3.11.0
$ ./configure --prefix=/tmp/python3.11 --with-ensurepip && make install
...omitted...
$ make install
...omitted...
Installing collected packages: setuptools, pip
WARNING: The scripts pip3, pip3.10 and pip3.11 are installed in '/tmp/python3.11/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
...omitted...
Observing the problem:
$ ls -1 /tmp/python3.11/bin/pip*
/tmp/python3.11/bin/pip3
/tmp/python3.11/bin/pip3.10
/tmp/python3.11/bin/pip3.11
$ diff -s /tmp/python3.11/bin/pip3.1{0,1}
Files /tmp/python3.11/bin/pip3.10 and /tmp/python3.11/bin/pip3.11 are identical
$ head -n1 /tmp/python3.11/bin/pip3.10
#!/tmp/python3.11/bin/python3.11
Your environment
Building on linux-x86_64.
Metadata
Metadata
Assignees
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-ensurepiptype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error