-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Use better temporary files mechanism in install_unpacked_wheel #7699
Comments
|
Would it be enough to keep |
Hey, @uranusjr can you please clear it more. About this "if we wrap the filehandle in an io.TextIOWrapper" . |
So the problem here is that |
@uranusjr I suggest avoiding complicating this issue by discussing trying to do this in-memory (since it's a good first issue). |
Thank you @uranusjr for simplifying it. Let me try it. |
@siAyush, may I pick this up? |
Sure |
install_unpacked_wheel
creates files such as INSTALLER or RECORD with a.pip
extension then renames them to the intended file in order to have an atomic file creation.Example:
pip/src/pip/_internal/operations/install/wheel.py
Lines 589 to 603 in 9e24b58
The goal of this issue is to use a better and safer approach.
The text was updated successfully, but these errors were encountered: