We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca49c94 commit 5813770Copy full SHA for 5813770
docs/changelog/1317.bugfix.rst
@@ -0,0 +1 @@
1
+Fix Windows selects incorrect spec on first discovery - by :user:`gaborbernat`
src/tox/interpreters/windows/__init__.py
@@ -44,8 +44,7 @@ def locate_via_pep514(spec):
44
if not _PY_AVAILABLE:
45
from . import pep514
46
47
- for spec in pep514.discover_pythons():
48
- _PY_AVAILABLE.append(spec)
+ _PY_AVAILABLE.extend(pep514.discover_pythons())
49
_PY_AVAILABLE.append(CURRENT)
50
for cur_spec in _PY_AVAILABLE:
51
if cur_spec.satisfies(spec):
0 commit comments