pipenv-outdated-test % pipenv update --outdated -v
⠇ INFO:pipenv.patched.pip._internal.resolution.resolvelib.reporter:Reporter.ending(State(mapping=OrderedDict([('pipenv', LinkCandidate('https://files.pythonhosted.org/packages/b8/4a/cb380f5f617bac94384760f02c57d2b1db531dbe1e47fa473bc8053767e2/pipenv-2022.11.11-py2.py3-none-any.whl (from
Traceback (most recent call last):
File "/Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/pipenv", line 8, in <module>
sys.exit(cli())
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/cli/options.py", line 57, in main
return super().main(*args, **kwargs, windows_expand_args=False)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/cli/command.py", line 552, in update
do_outdated(
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/core.py", line 2072, in do_outdated
version = get_version(project.packages[name_in_pipfile])
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/tomlkit/items.py", line 1237, in __getitem__
return cast(Item, self._value[key])
File "/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv/vendor/tomlkit/container.py", line 606, in __getitem__
raise NonExistentKey(key)
pipenv.vendor.tomlkit.exceptions.NonExistentKey: 'Key "pipenv" does not exist.'
% pipenv install pipenv==2022.11.11 -d
% pipenv update --outdated
$ pipenv --support
Pipenv version: '2022.11.30'
Pipenv location: '/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv'
Python location: '/Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python'
OS Name: 'posix'
User pip version: '22.3'
user Python installations found:
3.10.8: /opt/brew/bin/python3
3.10.6: /Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python3
3.10.6: /Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python3
3.10.6: /Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python
3.10.4: /Users/shimpei-kodama/.pyenv/versions/3.10.4/bin/python3
3.10.2: /Users/shimpei-kodama/.pyenv/versions/3.10.2/bin/python3
3.10.1: /Users/shimpei-kodama/.pyenv/versions/3.10.1/bin/python3
3.10.0: /Users/shimpei-kodama/.pyenv/versions/3.10.0/bin/python3
3.9.15: /opt/brew/bin/python3.9
3.9.13: /Users/shimpei-kodama/.pyenv/versions/3.9.13/bin/python3
3.9.7: /Users/shimpei-kodama/.pyenv/versions/3.9.7/bin/python3
3.9.6: /usr/bin/python3
3.8.15: /opt/brew/bin/python3.8
3.8.9: /Users/shimpei-kodama/.pyenv/versions/3.8.9/bin/python3
3.8.6: /Users/shimpei-kodama/.pyenv/versions/3.8.6/bin/python3
3.7.15: /opt/brew/bin/python3.7m
3.7.15: /opt/brew/bin/python3.7
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.10.6',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '22.2.0',
'platform_system': 'Darwin',
'platform_version': 'Darwin Kernel Version 22.2.0: Fri Nov 11 02:08:47 PST '
'2022; root:xnu-8792.61.2~4/RELEASE_X86_64',
'python_full_version': '3.10.6',
'python_version': '3.10',
'sys_platform': 'darwin'}
System environment variables:
NVM_INC
LDFLAGS
HOMEBREW_DEV_CMD_RUN
SPARK_HOME
CPAD2_ROOT
TERM_PROGRAM
NVM_CD_FLAGS
PYENV_ROOT
SHELL
TERM
CLICOLOR
CPPFLAGS
TMPDIR
TERM_PROGRAM_VERSION
VOLTA_HOME
TERM_SESSION_ID
PYENV_VERSION
NVM_DIR
USER
MINT_PATH
PACKAGECLOUD_TOKEN
SSH_AUTH_SOCK
PYENV_DIR
MINT_LINK_PATH
PATH
__CFBundleIdentifier
PWD
JAVA_HOME
PKG_CONFIG_LIBDIR
CLOUDSDK_PYTHON
PYENV_HOOK_PATH
XPC_FLAGS
RBENV_SHELL
QMAKE
XPC_SERVICE_NAME
PYENV_SHELL
SHLVL
HOME
BUNDLE_JOBS
CFLAGS
PROMPT
LOGNAME
LC_CTYPE
NVM_BIN
DISPLAY
__CF_USER_TEXT_ENCODING
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH: /Users/shimpei-kodama/.pyenv/versions/3.10.6/bin:/opt/brew/Cellar/pyenv/2.3.6/libexec:/opt/brew/Cellar/pyenv/2.3.6/plugins/python-build/bin:/Users/shimpei-kodama/.nvm/versions/node/v18.12.0/bin:/Users/shimpei-kodama/go/bin:/Users/shimpei-kodama/.poetry/bin:/Users/shimpei-kodama/.tfenv/bin:/Users/shimpei-kodama/.pyenv/shims:/Users/shimpei-kodama/.pyenv/bin:/usr/local/bin/apache-maven-3.6.3/bin:/Users/shimpei-kodama/.volta/bin:/opt/brew/opt/openssl@1.1/bin:/Users/shimpei-kodama/.cpad2/bin:/Users/shimpei-kodama/.rbenv/shims:/Users/shimpei-kodama/.cpad2/rbenv:/opt/brew/bin:/opt/brew/sbin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/shimpei-kodama/.cargo/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/shimpei-kodama/.volta/bin:/opt/brew/opt/openssl@1.1/bin:/Users/shimpei-kodama/.cpad2/bin:/Users/shimpei-kodama/.rbenv/shims:/Users/shimpei-kodama/.cpad2/rbenv:/opt/brew/bin:/opt/brew/sbin:/Users/shimpei-kodama/.mint/bin:/Users/shimpei-kodama/Library/Application Support/Coursier/bin:/Users/shimpei-kodama/.mint/bin
SHELL: /bin/zsh
PWD: /Users/shimpei-kodama/github.com/shimpeko/pipenv-outdated-test
Contents of Pipfile ('/Users/shimpei-kodama/github.com/shimpeko/pipenv-outdated-test/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
[dev-packages]
pipenv = "==2022.11.11"
[requires]
python_version = "3.10"
Contents of Pipfile.lock ('/Users/shimpei-kodama/github.com/shimpeko/pipenv-outdated-test/Pipfile.lock'):
{
"_meta": {
"hash": {
"sha256": "eda47c4c373e6d93bed3419676cd2c9fd0a366088ef045c8805cc24e2a1bdc84"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.10"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.org/simple",
"verify_ssl": true
}
]
},
"default": {},
"develop": {
"certifi": {
"hashes": [
"sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3",
"sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18"
],
"markers": "python_version >= '3.6'",
"version": "==2022.12.7"
},
"distlib": {
"hashes": [
"sha256:14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46",
"sha256:f35c4b692542ca110de7ef0bea44d73981caeb34ca0b9b6b2e6d7790dda8f80e"
],
"version": "==0.3.6"
},
"filelock": {
"hashes": [
"sha256:7565f628ea56bfcd8e54e42bdc55da899c85c1abfe1b5bcfd147e9188cebb3b2",
"sha256:8df285554452285f79c035efb0c861eb33a4bcfa5b7a137016e32e6a90f9792c"
],
"markers": "python_version >= '3.7'",
"version": "==3.8.2"
},
"pipenv": {
"hashes": [
"sha256:7a75fe8df36226a84ad482d37c003eab131378339bc421b553d8425253980b2c",
"sha256:e69f64477e83595f3b891e1e58b1b1355d4c593432e63b078dc1be9bd93c5066"
],
"index": "pypi",
"version": "==2022.11.11"
},
"platformdirs": {
"hashes": [
"sha256:1a89a12377800c81983db6be069ec068eee989748799b946cce2a6e80dcc54ca",
"sha256:b46ffafa316e6b83b47489d240ce17173f123a9b9c83282141c3daf26ad9ac2e"
],
"markers": "python_version >= '3.7'",
"version": "==2.6.0"
},
"setuptools": {
"hashes": [
"sha256:57f6f22bde4e042978bcd50176fdb381d7c21a9efa4041202288d3737a0c6a54",
"sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75"
],
"markers": "python_version >= '3.7'",
"version": "==65.6.3"
},
"virtualenv": {
"hashes": [
"sha256:ce3b1684d6e1a20a3e5ed36795a97dfc6af29bc3970ca8dab93e11ac6094b3c4",
"sha256:f8b927684efc6f1cc206c9db297a570ab9ad0e51c16fa9e45487d36d1905c058"
],
"markers": "python_version >= '3.6'",
"version": "==20.17.1"
},
"virtualenv-clone": {
"hashes": [
"sha256:418ee935c36152f8f153c79824bb93eaf6f0f7984bae31d3f48f350b9183501a",
"sha256:44d5263bceed0bac3e1424d64f798095233b64def1c5689afa43dc3223caf5b0"
],
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
"version": "==0.5.7"
}
}
}
Issue description
pipenv update --outdatedfail withNonExistentKeyerror when there are outdated packages in dev-packages category.Expected result
Runs without error for
dev-packages.Actual result
Steps to replicate
$ pipenv --support
Pipenv version:
'2022.11.30'Pipenv location:
'/Users/shimpei-kodama/.local/lib/python3.10/site-packages/pipenv'Python location:
'/Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python'OS Name:
'posix'User pip version:
'22.3'user Python installations found:
3.10.8:/opt/brew/bin/python33.10.6:/Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python33.10.6:/Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python33.10.6:/Users/shimpei-kodama/.pyenv/versions/3.10.6/bin/python3.10.4:/Users/shimpei-kodama/.pyenv/versions/3.10.4/bin/python33.10.2:/Users/shimpei-kodama/.pyenv/versions/3.10.2/bin/python33.10.1:/Users/shimpei-kodama/.pyenv/versions/3.10.1/bin/python33.10.0:/Users/shimpei-kodama/.pyenv/versions/3.10.0/bin/python33.9.15:/opt/brew/bin/python3.93.9.13:/Users/shimpei-kodama/.pyenv/versions/3.9.13/bin/python33.9.7:/Users/shimpei-kodama/.pyenv/versions/3.9.7/bin/python33.9.6:/usr/bin/python33.8.15:/opt/brew/bin/python3.83.8.9:/Users/shimpei-kodama/.pyenv/versions/3.8.9/bin/python33.8.6:/Users/shimpei-kodama/.pyenv/versions/3.8.6/bin/python33.7.15:/opt/brew/bin/python3.7m3.7.15:/opt/brew/bin/python3.7PEP 508 Information:
System environment variables:
NVM_INCLDFLAGSHOMEBREW_DEV_CMD_RUNSPARK_HOMECPAD2_ROOTTERM_PROGRAMNVM_CD_FLAGSPYENV_ROOTSHELLTERMCLICOLORCPPFLAGSTMPDIRTERM_PROGRAM_VERSIONVOLTA_HOMETERM_SESSION_IDPYENV_VERSIONNVM_DIRUSERMINT_PATHPACKAGECLOUD_TOKENSSH_AUTH_SOCKPYENV_DIRMINT_LINK_PATHPATH__CFBundleIdentifierPWDJAVA_HOMEPKG_CONFIG_LIBDIRCLOUDSDK_PYTHONPYENV_HOOK_PATHXPC_FLAGSRBENV_SHELLQMAKEXPC_SERVICE_NAMEPYENV_SHELLSHLVLHOMEBUNDLE_JOBSCFLAGSPROMPTLOGNAMELC_CTYPENVM_BINDISPLAY__CF_USER_TEXT_ENCODINGPIP_DISABLE_PIP_VERSION_CHECKPIP_PYTHON_PATHPYTHONDONTWRITEBYTECODEPYTHONFINDER_IGNORE_UNSUPPORTEDPipenv–specific environment variables:
Debug–specific environment variables:
PATH:/Users/shimpei-kodama/.pyenv/versions/3.10.6/bin:/opt/brew/Cellar/pyenv/2.3.6/libexec:/opt/brew/Cellar/pyenv/2.3.6/plugins/python-build/bin:/Users/shimpei-kodama/.nvm/versions/node/v18.12.0/bin:/Users/shimpei-kodama/go/bin:/Users/shimpei-kodama/.poetry/bin:/Users/shimpei-kodama/.tfenv/bin:/Users/shimpei-kodama/.pyenv/shims:/Users/shimpei-kodama/.pyenv/bin:/usr/local/bin/apache-maven-3.6.3/bin:/Users/shimpei-kodama/.volta/bin:/opt/brew/opt/openssl@1.1/bin:/Users/shimpei-kodama/.cpad2/bin:/Users/shimpei-kodama/.rbenv/shims:/Users/shimpei-kodama/.cpad2/rbenv:/opt/brew/bin:/opt/brew/sbin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/shimpei-kodama/.cargo/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/shimpei-kodama/.volta/bin:/opt/brew/opt/openssl@1.1/bin:/Users/shimpei-kodama/.cpad2/bin:/Users/shimpei-kodama/.rbenv/shims:/Users/shimpei-kodama/.cpad2/rbenv:/opt/brew/bin:/opt/brew/sbin:/Users/shimpei-kodama/.mint/bin:/Users/shimpei-kodama/Library/Application Support/Coursier/bin:/Users/shimpei-kodama/.mint/binSHELL:/bin/zshPWD:/Users/shimpei-kodama/github.com/shimpeko/pipenv-outdated-testContents of
Pipfile('/Users/shimpei-kodama/github.com/shimpeko/pipenv-outdated-test/Pipfile'):Contents of
Pipfile.lock('/Users/shimpei-kodama/github.com/shimpeko/pipenv-outdated-test/Pipfile.lock'):{ "_meta": { "hash": { "sha256": "eda47c4c373e6d93bed3419676cd2c9fd0a366088ef045c8805cc24e2a1bdc84" }, "pipfile-spec": 6, "requires": { "python_version": "3.10" }, "sources": [ { "name": "pypi", "url": "https://pypi.org/simple", "verify_ssl": true } ] }, "default": {}, "develop": { "certifi": { "hashes": [ "sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3", "sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18" ], "markers": "python_version >= '3.6'", "version": "==2022.12.7" }, "distlib": { "hashes": [ "sha256:14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46", "sha256:f35c4b692542ca110de7ef0bea44d73981caeb34ca0b9b6b2e6d7790dda8f80e" ], "version": "==0.3.6" }, "filelock": { "hashes": [ "sha256:7565f628ea56bfcd8e54e42bdc55da899c85c1abfe1b5bcfd147e9188cebb3b2", "sha256:8df285554452285f79c035efb0c861eb33a4bcfa5b7a137016e32e6a90f9792c" ], "markers": "python_version >= '3.7'", "version": "==3.8.2" }, "pipenv": { "hashes": [ "sha256:7a75fe8df36226a84ad482d37c003eab131378339bc421b553d8425253980b2c", "sha256:e69f64477e83595f3b891e1e58b1b1355d4c593432e63b078dc1be9bd93c5066" ], "index": "pypi", "version": "==2022.11.11" }, "platformdirs": { "hashes": [ "sha256:1a89a12377800c81983db6be069ec068eee989748799b946cce2a6e80dcc54ca", "sha256:b46ffafa316e6b83b47489d240ce17173f123a9b9c83282141c3daf26ad9ac2e" ], "markers": "python_version >= '3.7'", "version": "==2.6.0" }, "setuptools": { "hashes": [ "sha256:57f6f22bde4e042978bcd50176fdb381d7c21a9efa4041202288d3737a0c6a54", "sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75" ], "markers": "python_version >= '3.7'", "version": "==65.6.3" }, "virtualenv": { "hashes": [ "sha256:ce3b1684d6e1a20a3e5ed36795a97dfc6af29bc3970ca8dab93e11ac6094b3c4", "sha256:f8b927684efc6f1cc206c9db297a570ab9ad0e51c16fa9e45487d36d1905c058" ], "markers": "python_version >= '3.6'", "version": "==20.17.1" }, "virtualenv-clone": { "hashes": [ "sha256:418ee935c36152f8f153c79824bb93eaf6f0f7984bae31d3f48f350b9183501a", "sha256:44d5263bceed0bac3e1424d64f798095233b64def1c5689afa43dc3223caf5b0" ], "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==0.5.7" } } }