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

Control of the TMPDIR used by Pex and its subprocesses (notably Pip). #1067

Closed
jsirois opened this issue Oct 9, 2020 · 1 comment · Fixed by #1068
Closed

Control of the TMPDIR used by Pex and its subprocesses (notably Pip). #1067

jsirois opened this issue Oct 9, 2020 · 1 comment · Fixed by #1068
Assignees

Comments

@jsirois
Copy link
Member

jsirois commented Oct 9, 2020

The Pex CLI can consume alot of disk space in the process of downloading and installing wheels in PEX files. Although Pex does most of its work in the --pex-root, Pip subprocesses still do some of their heavy lifting in TMPDIR. This can be controlled by exporting TMPDIR but its not necessarily obvious to do this. It probably makes sense for Pex to add an option to control this or else default to using a TMPDIR in PEX_ROOT.

@jsirois jsirois mentioned this issue Oct 9, 2020
5 tasks
@jsirois
Copy link
Member Author

jsirois commented Oct 9, 2020

Motivating issue: pantsbuild/pants#10936

@jsirois jsirois self-assigned this Oct 9, 2020
jsirois added a commit to jsirois/pex that referenced this issue Oct 9, 2020
This allows for explicit control of the temporary directory both Pex
and its subprocesses use.

Fixes pex-tool#1067
jsirois added a commit that referenced this issue Oct 9, 2020
This allows for explicit control of the temporary directory both Pex
and its subprocesses use.

Fixes #1067
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant