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/python@3.12/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
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/python@3.12/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_ROOT` - `TERM` - `SHELL` - `TMPDIR` - `TERM_SESSION_ID` - `USER` - `COMMAND_MODE` - `SSH_AUTH_SOCK` - `__CF_USER_TEXT_ENCODING` - `PATH` - `TERMINAL_EMULATOR` - `__CFBundleIdentifier` - `PWD` - `LANG` - `XPC_FLAGS` - `XPC_SERVICE_NAME` - `PYENV_SHELL` - `SHLVL` - `HOME` - `IDEA_INITIAL_DIRECTORY` - `LOGNAME` - `LC_CTYPE` - `_` - `PIP_DISABLE_PIP_VERSION_CHECK` - `PYTHONDONTWRITEBYTECODE` - `PYTHONFINDER_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/bin` - `SHELL`: `/bin/bash` - `LANG`: `en_US.UTF-8` - `PWD`: `/Users/juan19.99/Documents/projects/ML-Zero-To-Hero` --------------------------- Contents of `Pipfile` ('/Users/juan19.99/Documents/projects/ML-Zero-To-Hero/Pipfile'): ```toml [[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" ```