ResourceWarning when pipenv install --python 3.11 -r requirements.txt
Issue description
When running the command: pipenv install --python 3.11 -r requirements.txt I keep getting a ResourceWarning
Actual result
Creating a Pipfile for this project... Requirements file provided! Importing into Pipfile... /usr/local/Cellar/[email protected]/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/email/feedparser.py:473: ResourceWarning: unclosed file <_io.FileIO name='/var/folders/_v/pf108g9d54787vxcmfrw8txm0000gn/T/tmpgfcmgvsr' mode='rb+' closefd=True> for lineno, line in enumerate(lines): ResourceWarning: Enable tracemalloc to get the object allocation traceback
$ pipenv --support
Pipenv version: '2023.12.1'
Pipenv location: '/usr/local/Cellar/pipenv/2023.12.1/libexec/lib/python3.12/site-packages/pipenv'
Python location: '/usr/local/Cellar/pipenv/2023.12.1/libexec/bin/python'
OS Name: 'posix'
User pip version: '23.3.2'
user Python installations found:
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.12.3',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '23.4.0',
'platform_system': 'Darwin',
'platform_version': 'Darwin Kernel Version 23.4.0: Fri Mar 15 00:11:05 PDT '
'2024; root:xnu-10063.101.17~1/RELEASE_X86_64',
'python_full_version': '3.12.3',
'python_version': '3.12',
'sys_platform': 'darwin'}
System environment variables:
PYENV_ROOTTERMSHELLTMPDIRTERM_SESSION_IDUSERCOMMAND_MODESSH_AUTH_SOCK__CF_USER_TEXT_ENCODINGPATHTERMINAL_EMULATOR__CFBundleIdentifierPWDLANGXPC_FLAGSXPC_SERVICE_NAMEPYENV_SHELLSHLVLHOMEIDEA_INITIAL_DIRECTORYLOGNAMELC_CTYPE_PIP_DISABLE_PIP_VERSION_CHECKPYTHONDONTWRITEBYTECODEPYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH:/Users/juan19.99/.pyenv/versions/3.11.0/bin:/Users/juan19.99/.pyenv/versions/3.10.10/bin:/Users/juan19.99/.pyenv/shims:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/juan19.99/.local/bin:/usr/local/mysql/binSHELL:/bin/bashLANG:en_US.UTF-8PWD:/Users/juan19.99/Documents/projects/ML-Zero-To-Hero
Contents of Pipfile ('/Users/juan19.99/Documents/projects/ML-Zero-To-Hero/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
jupyterlab = "*"
numpy = "*"
pandas = "*"
[dev-packages]
[requires]
python_version = "3.11"
python_full_version = "3.11.0"
Duplicate of this from last week: https://github.com/pypa/pipenv/issues/6151