Repository navigation
Releases: tox-dev/python-discovery
Releases · tox-dev/python-discovery
Release list
v1.9.0
Immutable
release. Only release title and notes can be modified.
Features
- Expose the 11 marker keys through
MarkerEnvironmentfor callers that type-checkPythonInfo.marker_environment(#179) by @gaborbernat.
v1.8.0
Immutable
release. Only release title and notes can be modified.
Features
- Expose the selected interpreter's dependency marker values as
PythonInfo.marker_environment(#178) by @gaborbernat.
v1.7.0
Immutable
release. Only release title and notes can be modified.
Features
- Accept the free-threaded, debug, architecture and machine suffixes after a version specifier, as in
>=3.13torcpython>=3.11,<3.14-64, and raiseValueErrorfor a spec that starts with a comparison operator but does not parse, such as>=3.13., instead of looking it up as an executable name (#176) by @gaborbernat. (#175)
Bug fixes
- Stop a
.python-versionfile that is not valid UTF-8, or that cannot be read, from aborting discovery through a pyenv, mise or asdf shim; a stray byte no longer hides the versions it names, and an unreadable file is skipped like a missing one (#173) by @darrenhuai and @gaborbernat.
Documentation
- Link every documentation page to its source and edit view on GitHub, and add a GitHub icon to the footer (#177) by @gaborbernat. (#174)
v1.6.7
Immutable
release. Only release title and notes can be modified.
Bug fixes
- Rank uv's minor version links behind the concrete install on Windows too, where uv creates them as directory junctions that
Path.is_symlink()does not report (#170) by @darrenhuai and @gaborbernat. - Stop a venv lookup from rewriting the
executableof earlier results,PythonInfo.current()andPythonInfo.current_system()when they share its base interpreter (#171) by @darrenhuai and @gaborbernat.
v1.6.6
Immutable
release. Only release title and notes can be modified.
Bug fixes
- Treat version specifiers with an item that cannot be parsed, such as
>=3.x,>=3.12 <4or>=3.12,foo, as literal executable paths instead of raising a bareAssertionErroror ignoring the item during discovery (#157) by @darrenhuai and @gaborbernat. - Accept relative interpreter paths that step up a directory, such as
../venv/bin/python, which were found and queried but never matched the spec (#158) by @darrenhuai and @gaborbernat. - Match
~=X.Ycompatible-release specifiers against later minor versions, as PEP 440 defines, instead of only the same minor;~=3.10now accepts 3.11 and newer 3.x (#159) by @darrenhuai and @gaborbernat.
v1.6.5
Immutable
release. Only release title and notes can be modified.
Packaging
- Releases now run on the shared tox-dev/github-workflows pipeline, with a locked release toolchain and generated GitHub Release notes (#164) by @gaborbernat.
v1.6.4
Immutable
release. Only release title and notes can be modified.
Documentation
- Clarify the executable paths accepted by
try_first_within the standalone usage example. (#150) by @travisfortney.
New Contributors
- @travisfortney made their first contribution in #150
1.6.3
Immutable
release. Only release title and notes can be modified.
Bug fixes
- Treat specs with dot-only version components, such as
python., as literal executable paths instead of raisingIndexErrorby @harbinresearcher and @gaborbernat. (#147) - Pass PEP 514
ExecutableArgumentsto registered Windows interpreters when querying them, so a registration that points at a launcher such aspy.exe -3.11reports the interpreter it selects by @blouirts123 and @gaborbernat. (#148)
New Contributors
- @harbinresearcher made their first contribution in #147
- @blouirts123 made their first contribution in #148
v1.6.2
Immutable
release. Only release title and notes can be modified.
Features
- Require Python 3.9 or newer for installation while still discovering Python 3.6 and 3.7 interpreters (#142) by @gaborbernat.
Bug fixes
- Discard malformed interpreter cache entries and query the interpreter again, including entries with missing, non-string or unusable
system_executablepaths by @darrenhuai and @gaborbernat. (#141) - Use the default interpreter query timeout and warn for invalid
PY_DISCOVERY_TIMEOUTvalues. Acceptinfor values above the subprocess wait limit to disable the timeout by @darrenhuai and @gaborbernat. (#143)
New Contributors
- @darrenhuai made their first contribution in #141
v1.6.1
Immutable
release. Only release title and notes can be modified.
Bug fixes
- Skip empty
PATHentries during interpreter discovery by @gaborbernat. (#132)
Documentation
- Document
system_exeacross the tutorial, the how-to guide and the explanation of how resolution reaches a base interpreter. The class diagram in the how-to guide hadsystem_executabletypedstrrather thanstr | Noneby @gaborbernat. (#128)