You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to create or update lock files due to pytest version issue.
Expected result
Should install packages without version conflicts.
Actual result
pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pytest requires Python '>=3.5' but the running Python is 2.7.5
File "/home/user/.local/lib/python2.7/site-packages/pipenv/resolver.py", line 126, in <module>
main()
File "/home/user/.local/lib/python2.7/site-packages/pipenv/resolver.py", line 119, in main
parsed.requirements_dir, parsed.packages)
File "/home/user/.local/lib/python2.7/site-packages/pipenv/resolver.py", line 85, in _main
requirements_dir=requirements_dir,
File "/home/user/.local/lib/python2.7/site-packages/pipenv/resolver.py", line 69, in resolve
req_dir=requirements_dir
File "/home/user/.local/lib/python2.7/site-packages/pipenv/utils.py", line 726, in resolve_deps
req_dir=req_dir,
File "/home/user/.local/lib/python2.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
resolved_tree = resolver.resolve()
File "/home/user/.local/lib/python2.7/site-packages/pipenv/utils.py", line 385, in resolve
results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
has_changed, best_matches = self._resolve_one_round()
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 206, in _resolve_one_round
for dep in self._iter_dependencies(best_match):
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/piptools/resolver.py", line 301, in _iter_dependencies
dependencies = self.repository.get_dependencies(ireq)
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 234, in get_dependencies
legacy_results = self.get_legacy_dependencies(ireq)
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 426, in get_legacy_dependencies
results, ireq = self.resolve_reqs(download_dir, ireq, wheel_cache)
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 297, in resolve_reqs
results = resolver._resolve_one(reqset, ireq)
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/notpip/_internal/resolve.py", line 274, in _resolve_one
self.requires_python = check_dist_requires_python(dist, absorb=False)
File "/home/user/.local/lib/python2.7/site-packages/pipenv/patched/notpip/_internal/utils/packaging.py", line 62, in check_dist_requires_python
'.'.join(map(str, sys.version_info[:3])),)
pipenv.patched.notpip._internal.exceptions.UnsupportedPythonVersion: pytest requires Python '>=3.5' but the running Python is 2.7.5
Issue description
Unable to create or update lock files due to pytest version issue.
Expected result
Should install packages without version conflicts.
Actual result
Steps to replicate
$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/home/user/.local/lib/python2.7/site-packages/pipenv'
Python location:
'/usr/bin/python2'
Python installations found:
2.7.5
:/home/user/.local/share/virtualenvs/jido.inventory-Y-_EA1m9/bin/python2
2.7.5
:/usr/bin/python
PEP 508 Information:
System environment variables:
GILT_REPO
PYTHONDONTWRITEBYTECODE
LESSOPEN
SSH_CLIENT
SELINUX_USE_CURRENT_RANGE
LOGNAME
USER
HOME
PATH
PS1
LANG
TERM
SHELL
SHLVL
HISTSIZE
MANPATH
PYTHONFINDER_IGNORE_UNSUPPORTED
PIPENV_ACTIVE
XDG_RUNTIME_DIR
SSH_AUTH_SOCK
VIRTUAL_ENV
SELINUX_ROLE_REQUESTED
PIP_PYTHON_PATH
XDG_SESSION_ID
_
SSH_CONNECTION
SSH_TTY
HOSTNAME
SELINUX_LEVEL_REQUESTED
HISTCONTROL
PWD
PIP_SHIMS_BASE_MODULE
PIP_DISABLE_PIP_VERSION_CHECK
MAIL
LS_COLORS
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/home/user/.local/share/virtualenvs/org.inventory-Y-_EA1m9/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/home/user/.local/bin:/home/user/bin
SHELL
:/bin/bash
LANG
:en_US.UTF-8
PWD
:/home/user/org.inventory
VIRTUAL_ENV
:/home/user/.local/share/virtualenvs/org.inventory-Y-_EA1m9
Contents of
Pipfile
('/home/user/org.inventory/Pipfile'):The text was updated successfully, but these errors were encountered: