regression: pipenv check not checking requirements inside venv #4281
Labels
Type: Bug 🐛
This issue is a bug.
Type: Duplicate
This issue is a duplicate of an already-existing issue.
Issue description
With the latest pipenv release we're noticing that the
pipenv check
command seems to be using the modules outside the venv instead of venvExpected result
Should be checking vulnerabities of modules inside venv
Actual result
When possible, provide the verbose output (
--verbose
), especially for locking and dependencies resolving issues.Steps to replicate
We have a Pipenv.lock file with:
install pyyaml
5.1
outside the venv.then run
pipenv sync
followed bypipenv check
and you'll get:$ pipenv --support
Pipenv version:
'2020.5.28'
Pipenv location:
'/usr/local/lib/python3.8/site-packages/pipenv'
Python location:
'/usr/local/opt/python@3.8/bin/python3.8'
Python installations found:
3.8.2
:/usr/local/opt/python@3.8/bin/python3
3.8.2
:/usr/local/opt/python@3.8/bin/python3.8
3.8.0
:/usr/local/bin/python3.8
3.7.3
:/usr/bin/python3
3.7.0
:/usr/local/bin/python3
3.7.0
:/usr/local/bin/python3.7m
3.7.0
:/usr/local/bin/python3.7
3.6.7
:/usr/local/bin/python3.6
3.6.7
:/usr/local/bin/python3.6m
3.5.9
:/Users/alex/.pyenv/versions/3.5.9/bin/python3
2.7.16
:/usr/bin/python2
2.7.16
:/usr/bin/python2.7
2.7.15
:/usr/local/bin/python2
2.7.15
:/usr/local/bin/python2.7
PEP 508 Information:
System environment variables:
SHELL
XPC_FLAGS
HISTCONTROL
TERM_PROGRAM_VERSION
PKG_CONFIG_PATH
HISTSIZE
HDF5_DIR
SSH_AUTH_SOCK
TERM_SESSION_ID
GPG_TTY
serverFlavor
PWD
LOGNAME
MANPATH
LaunchInstanceID
HOME
LANG
SECURITYSESSIONID
TMPDIR
CLICOLOR
FBNSECRETS_FORCE_USER
OPENSC_LIBS
NVM_DIR
TERM
USER
DISPLAY
SHLVL
XPC_SERVICE_NAME
HOMEBREW_GITHUB_API_TOKEN
PS1
PATH
GOPATH
TERM_PROGRAM
_
__CF_USER_TEXT_ENCODING
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:~/.local/bin:/usr/local/opt/python@3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/alex/bin:/usr/local/opt/go/libexec/bin:/Users/alex/gowork/bin:/Applications/Postgres.app/Contents/Versions/9.6/bin:/usr/local/bin:/usr/local/sbin:/Users/alex/Downloads/google-cloud-sdk/bin:/Users/alex/dev/fbn.com/ops/docker/ecr/bin
SHELL
:/usr/local/bin/bash
LANG
:en_US.UTF-8
PWD
:/Users/alex/dev/fbn.com/api/commodities
Contents of
Pipfile
('/Users/alex/dev/fbn.com/api/commodities/Pipfile'):Contents of
Pipfile.lock
('/Users/alex/dev/fbn.com/api/commodities/Pipfile.lock'):The text was updated successfully, but these errors were encountered: