Update pipenv/utils/resolver.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Matt Davis
2026-04-23 00:51:39 -04:00
committed by GitHub
parent 484c94bc8f
commit addbbf2b62
+1 -1
View File
@@ -56,7 +56,7 @@ def _is_python_version_specifier(value):
rather than a literal version string. Literal versions contain only digits
and dots; anything else indicates a specifier expression.
"""
return any(ch in _VERSION_SPECIFIER_CHARS for ch in value)
return any(not (ch.isdigit() or ch == ".") for ch in value)
def _get_pipfile_python_override(project):