head 1.11; access; symbols pkgsrc-2026Q3:1.10.0.2 pkgsrc-2026Q3-base:1.10 pkgsrc-2026Q2:1.8.0.2 pkgsrc-2026Q2-base:1.8 pkgsrc-2026Q1:1.3.0.2 pkgsrc-2026Q1-base:1.3; locks; strict; comment @# @; 1.11 date 2026.09.22.13.07.19; author adam; state Exp; branches; next 1.10; commitid CZAzmANAoOZ6pCWG; 1.10 date 2026.09.02.14.14.54; author adam; state Exp; branches; next 1.9; commitid N16g5ktGAL4bq3UG; 1.9 date 2026.07.16.11.29.14; author adam; state Exp; branches; next 1.8; commitid EALqzB7pOZ6Z2SNG; 1.8 date 2026.06.13.06.34.14; author adam; state Exp; branches; next 1.7; commitid aOJ607eaclYrtBJG; 1.7 date 2026.05.28.04.02.57; author adam; state Exp; branches; next 1.6; commitid 7u4Tu0nja8kx9xHG; 1.6 date 2026.05.19.17.48.30; author adam; state Exp; branches; next 1.5; commitid yx8NiDnCRQcF0sGG; 1.5 date 2026.05.12.05.58.34; author adam; state Exp; branches; next 1.4; commitid BbgcNPwzgjv7juFG; 1.4 date 2026.04.17.10.32.17; author adam; state Exp; branches; next 1.3; commitid FkkTJQ0SYvzOCiCG; 1.3 date 2026.03.12.05.27.59; author adam; state Exp; branches; next 1.2; commitid PbO4B5H77rEb6ExG; 1.2 date 2026.03.10.06.13.30; author adam; state Exp; branches; next 1.1; commitid qjmp0grkZ6YKpoxG; 1.1 date 2026.03.06.09.28.41; author adam; state Exp; branches; next ; commitid bsPYIlrcIglICTwG; desc @@ 1.11 log @py-python-discovery: updated to 1.6.1 1.6.1 docs(py_info): cover system_exe in all four dimensions fix(discovery): skip empty PATH entries @ text @# $NetBSD: Makefile,v 1.10 2026/09/02 14:14:54 adam Exp $ DISTNAME= python_discovery-1.6.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} CATEGORIES= lang python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-discovery/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/tox-dev/python-discovery COMMENT= Python interpreter discovery LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.5:../../devel/py-hatch-vcs TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.28:../../devel/py-hatchling DEPENDS+= ${PYPKGPREFIX}-filelock>=3.15.4:../../devel/py-filelock TEST_DEPENDS+= ${PYPKGPREFIX}-covdefaults>=2.3:../../devel/py-covdefaults TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=7.5.4:../../devel/py-coverage TEST_DEPENDS+= ${PYPKGPREFIX}-setuptools>=75.1:../../devel/py-setuptools TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.14:../../devel/py-test-mock USE_LANGUAGES= # none .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.10 log @py-python-discovery: updated to 1.6.0 Features - 1.6.0 - :attr:`~python_discovery.PythonInfo.system_exe` returns the executable of the system Python an interpreter is based on, falling back to :attr:`~python_discovery.PythonInfo.executable` the way :meth:`~python_discovery.PythonInfo.resolve_to_system` does. :attr:`~python_discovery.PythonInfo.system_executable` is ``None`` until resolution runs, so every consumer had to narrow a value discovery has already settled - by :user:`gaborbernat`. (:issue:`127`) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2026/07/16 11:29:14 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.6.0 @ 1.9 log @py-python-discovery: updated to 1.4.4 Bug fixes - 1.4.4 - Parse the debug build flag in interpreter specs - ``python3.13d`` and Debian's ``python3.13-dbg`` / ``python3.13-debug`` now select a ``Py_DEBUG`` interpreter instead of being misread as an ISA named ``dbg``. Resolving a virtualenv to its base interpreter also checks the free-threaded and debug ABI flags, so a debug or free-threaded environment no longer resolves to a release build of the same version @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2026/06/13 06:34:14 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.4.4 a15 1 DEPENDS+= ${PYPKGPREFIX}-platformdirs>=4.3.6:../../misc/py-platformdirs @ 1.8 log @py-python-discovery: updated to 1.4.2 Bug fixes - 1.4.2 - Stop executable symlink resolution once the stdlib landmark is reachable and keep macOS framework builds untouched, matching ``getpath`` - Homebrew interpreters no longer get version-pinned ``Cellar`` paths recorded and stable aliases such as Debian's ``/usr/bin/python3`` are preserved Bug fixes - 1.4.1 - Resolve executable-only symlinks when computing ``system_executable``, mirroring CPython's ``getpath.realpath`` (python/cpython115237): a symlink to the interpreter binary now resolves to the real interpreter, while a fully symlinked interpreter tree is kept as-is @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2026/05/28 04:02:57 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.4.2 @ 1.7 log @py-python-discovery: updated to 1.4.0 1.4.0 - Add ``debug_build`` attribute to :class:`PythonInfo` exposing whether the interpreter is a debug build (``Py_DEBUG``) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2026/05/19 17:48:30 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.4.0 @ 1.6 log @py-python-discovery: updated to 1.3.1 Bug fixes - 1.3.1 - export normalize_isa and deprecate KNOWN_ARCHITECTURES - discover uv-managed Pythons on Windows. Previously the glob assumed Unix layout (``//bin/python``) and silently found nothing on Windows, where uv places ``python.exe`` directly under the install root - Canonicalize GraalVM to match GraalPy Python interpreter in PythonSpec and PythonInfo. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2026/05/12 05:58:34 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.3.1 @ 1.5 log @py-python-discovery: updated to 1.3.0 1.3.0 feat(discovery): add iter_interpreters for enumeration @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2026/04/17 10:32:17 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.3.0 @ 1.4 log @py-python-discovery: updated to 1.2.2 1.2.2 export normalize_isa and deprecate KNOWN_ARCHITECTURES @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2026/03/12 05:27:59 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.2.2 @ 1.3 log @py-python-discovery: updated to 1.1.3 1.1.3 fix(test): add loongarch64 to known ISAs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2026/03/10 06:13:30 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.1.3 @ 1.2 log @py-python-discovery: updated to 1.1.2 1.1.2 docs: add package description and usage to README fix(subprocess): drain pipes after killing timed-out process fix(discovery): match prerelease versions against major.minor specs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2026/03/06 09:28:41 adam Exp $ d3 1 a3 1 DISTNAME= python_discovery-1.1.2 @ 1.1 log @py-python-discovery: added version 1.1.0 You may have multiple Python versions installed on your machine -- system Python, versions from pyenv, mise, asdf, uv, or the Windows registry (PEP 514). python-discovery finds the right one for you. Give it a requirement like python3.12 or >=3.11,<3.13, and it searches all known locations, verifies each candidate, and returns detailed metadata about the match. Results are cached to disk so repeated lookups are fast. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= python_discovery-1.1.0 @