Should pipenv lock
be generating a marker of null
when extras
used?
#5486
Labels
PR: awaiting-review
The PR related to this issue is awaiting review by a maintainer.
Type: Bugfix
This issue provides a fix for a known bug.
Type: Regression
This issue is a regression of a previous behavior.
Issue description
A
Pipfile.lock
is being generated with amarker
ofnull
. When being passed to other tools to parse that lockfile, such aspipfile2req
its erroring on that entry. I took a quick look at PEP 508 and it didn't say anything about amarker
ofnull
but did suggest it should only be a string.Expected result
I'm guessing, if the result is
null
just don't include markers.Actual result
When possible, provide the verbose output (
--verbose
), especially for locking and dependencies resolving issues.Steps to replicate
Looks great. Now let's specify
{extras}
We now have a
markers
null
in the output.$ pipenv --support
Pipenv version:
'2022.11.11'
Pipenv location:
'/Users/andy/Library/Python/3.9/lib/python/site-packages/pipenv'
Python location:
'/Library/Developer/CommandLineTools/usr/bin/python3'
OS Name:
'posix'
User pip version:
'22.3'
user Python installations found:
3.9.6
:/usr/bin/python3
PEP 508 Information:
System environment variables:
TERM_SESSION_ID
SSH_AUTH_SOCK
LC_TERMINAL_VERSION
COLORFGBG
ITERM_PROFILE
XPC_FLAGS
LANG
PWD
SHELL
__CFBundleIdentifier
TERM_PROGRAM_VERSION
TERM_PROGRAM
PATH
LC_TERMINAL
COLORTERM
COMMAND_MODE
TERM
HOME
TMPDIR
USER
XPC_SERVICE_NAME
LOGNAME
ITERM_SESSION_ID
__CF_USER_TEXT_ENCODING
SHLVL
OLDPWD
HOMEBREW_PREFIX
HOMEBREW_CELLAR
HOMEBREW_REPOSITORY
MANPATH
INFOPATH
ZSH
PAGER
LESS
LSCOLORS
GITHUB_TOKEN
VERCEL_TOKEN
PNPM_HOME
NVM_DIR
NVM_CD_FLAGS
NVM_BIN
NVM_INC
_
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Users/andy/.nvm/versions/node/v19.1.0/bin:/Users/andy/Library/Python/3.9/bin:/Users/andy/Library/pnpm:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
SHELL
:/bin/zsh
LANG
:en_CA.UTF-8
PWD
:/Users/andy/c/pipenv/test
Contents of
Pipfile
('/Users/andy/c/pipenv/test/Pipfile'):Contents of
Pipfile.lock
('/Users/andy/c/pipenv/test/Pipfile.lock'):The text was updated successfully, but these errors were encountered: