Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python -m ensurepip doesn't create the pip.exe shortcut on python-3.13.0b1 #12697

Closed
1 task done
stonebig opened this issue May 11, 2024 · 2 comments
Closed
1 task done
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior

Comments

@stonebig
Copy link
Contributor

stonebig commented May 11, 2024

Description

installed a Python-3.13.0b1 build on windows (on a normal and a free-threaded one).

patch tempfile.py with _os.mkdir(file), so ensurepip can work.

if the free-threading test, replace python.ex per python313t.exe and pythonw.exe per pythonw313t.exe

on both case, python -m ensurepip create pip3.exe, pip3.13.exe, but not pip.exe

Expected behavior

having also pip.exe in python-3.13.0b1.amd64\Scripts

pip version

24.0 (as it comes from ensurepip)

Python version

cpython-3.13.0b1

OS

Windows11

How to Reproduce

python -m ensurepip

Output

image

Code of Conduct

@stonebig stonebig added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels May 11, 2024
@stonebig stonebig changed the title python -m ensurepip doesn't create the pip.exe shortcut python -m ensurepip doesn't create the pip.exe shortcut on python-3.13.0b1 May 11, 2024
@uranusjr
Copy link
Member

Sounds like this should be reported to CPython instead if the change needs to be made in tempfile?

@stonebig
Copy link
Contributor Author

Ha yes, was done already python/cpython#118788

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants