question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use better temporary files mechanism in install_unpacked_wheel

See original GitHub issue

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: https://github.com/pypa/pip/blob/9e24b58f3cb656e96bcf143c7bc16affe7fea5eb/src/pip/_internal/operations/install/wheel.py#L589-L603

The goal of this issue is to use a better and safer approach.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
siAyushcommented, Mar 29, 2020

Sure

0reactions
McSinyxcommented, Mar 29, 2020

@siAyush, may I pick this up?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mechanism for creating and using a local temporary directory
Today we have a mechanism to build paths under the module's own directory, intended mainly for reading supporting files that are included along ......
Read more >
Temporary File Clean Up - Logi Analytics
To manage this, Info includes an automatic mechanism that "cleans up" files in temporary file folders by deleting them. Temporary file clean ...
Read more >
FIO21-C. Do not create temporary files in shared directories
Use higher-level IPC mechanisms such as remote procedure calls. Use a secure directory or a jail that can be accessed only by application...
Read more >
How to delete temporary files in Windows
Learn how to clear, delete or remove temporary files to gain additional disk storage space and improve computer performance on Windows PC.
Read more >
tempfile — Generate temporary files and directories — Python ...
Source code: Lib/tempfile.py This module creates temporary files and directories. It works on all supported platforms. TemporaryFile, NamedTemporaryFile ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found