-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pipenv update on linux using python 3.10 leaves files in /tmp/ #5180
Comments
This issue seems to be related to the use of |
I've checked using Lines 387 to 394 in 2d250f5
Should we call |
That would be great @dbaxa -- I suspect there are other places where sub process is not cleaning up tmp data as well beyond just this .json file. Here is what my TMP folder looks like after clearing it out just the other day: |
Sorry for late response. I created a PR for this. I don't have such folders as @matteius does. Unless I interrupt So I think just make sure .json files are not leaking is enough. |
Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Issue description
pipenv update
leaves temp files in /tmp/ which should not persist/remain after python exits.Expected result
No temp files related to pipenv remain in /tmp/
Actual result
pipenv temp files are left in
/tmp
Steps to replicate
pipenv update
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.pipenv --support
$ pipenv --support
Pipenv version:
'2022.7.4'
Pipenv location:
'/home/user/.virtualenvs/myvenv/lib/python3.10/site-packages/pipenv'
Python location:
'/home/user/.virtualenvs/myvenv/bin/python'
Python installations found:
3.10.4
:/home/user/.virtualenvs/myvenv/bin/python
3.10.4
:/home/user/.virtualenvs/myvenv/bin/python3
3.10.4
:/home/user/.virtualenvs/myvenv/bin/python
3.10.4
:/home/user/.virtualenvs/myvenv/bin/python3
3.10.4
:/usr/bin/python3
3.10.4
:/usr/bin/python
3.10.4
:/bin/python3
3.10.4
:/bin/python
2.7.18
:/usr/bin/python2
2.7.18
:/usr/bin/python2.7
2.7.18
:/bin/python2
2.7.18
:/bin/python2.7
PEP 508 Information:
System environment variables:
SHELL
LANGUAGE
PWD
LOGNAME
XDG_SESSION_TYPE
MOTD_SHOWN
VIRTUALENVWRAPPER_SCRIPT
HOME
LANG
LS_COLORS
_VIRTUALENVWRAPPER_API
VIRTUAL_ENV
VIRTUALENVWRAPPER_WORKON_CD
SSH_CONNECTION
WORKON_HOME
LESSCLOSE
XDG_SESSION_CLASS
TERM
LESSOPEN
LIBVIRT_DEFAULT_URI
USER
VIRTUALENVWRAPPER_PROJECT_FILENAME
SHLVL
XDG_SESSION_ID
XDG_RUNTIME_DIR
PS1
SSH_CLIENT
MAVEN_OPTS
XDG_DATA_DIRS
BROWSER
PATH
VIRTUALENVWRAPPER_HOOK_DIR
DBUS_SESSION_BUS_ADDRESS
SSH_TTY
IRBRC
OLDPWD
GOPATH
ES_HOME
_
PIP_SHIMS_BASE_MODULE
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
PIPENV_VERBOSITY
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/user/.virtualenvs/myvenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/user/.local/bin/
SHELL
:/bin/bash
LANG
:en_AU.UTF-8
PWD
:/home/user/.virtualenvs/myvenv/lib/python3.10/site-packages/pipenv
VIRTUAL_ENV
:/home/user/.virtualenvs/myvenv
The text was updated successfully, but these errors were encountered: