pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-build
Module Name: pkgsrc
Committed By: wiz
Date: Fri Aug 28 19:02:37 UTC 2026
Modified Files:
pkgsrc/devel/py-build: Makefile distinfo
Log Message:
py-build: update to 1.6.0.
####################
1.6.0 (2026-08-27)
####################
**********
Features
**********
- Add ``--report=PATH`` to write a machine-readable JSON report of built artifacts; ``--metadata`` now also accepts
``.whl`` files - by :user:`gaborbernat` (:issue:`198`)
- The ``srcdir`` argument now accepts ``.tar.gz`` source distributions, extracting and building from them - by
:user:`gaborbernat` (:issue:`311`)
- The "Unmet dependencies" error from ``--no-isolation`` builds now shows the wanted version, found version, and
interpreter - by :user:`gaborbernat` (:issue:`504`)
- Add ``--sdist-extract-dir`` to extract the intermediate sdist into a persistent directory, enabling compiler cache reuse
across rebuilds - by :user:`gaborbernat` (:issue:`614`)
- Add ``--env-dir`` to place the isolated build environment at a fixed path, enabling compiler cache reuse across builds -
by :user:`gaborbernat` (:issue:`655`)
- Print a summary of resolved dependency versions (``name==version``) after installing them in isolated builds - by
:user:`gaborbernat` (:issue:`959`)
- On build failure, print a tip pointing to ``--env-dir`` and ``--sdist-extract-dir`` for debugging and link to the "Debug
a failed build" how-to - reported by :user:`dimpase`, implemented by :user:`gaborbernat` (:issue:`966`)
**********
Bugfixes
**********
- Drain verbose subprocess output inline instead of using a ``ThreadPoolExecutor``, which silently swallowed logging
errors - by :user:`henryiii` (:issue:`1098`)
- Reject a file passed as ``--env-dir`` with a clear error instead of a raw ``FileExistsError`` - by :user:`henryiii` (:issue:`1100`)
- Emit CLI warnings to stderr instead of stdout, so they no longer corrupt ``--metadata`` JSON output on stdout - by
:user:`ymyzk` (:issue:`1111`)
- Fix the Windows symlink support probe always returning ``False`` due to a stale object interpolated into the destination
path - by :user:`henryiii` (:issue:`1118`)
- Fix ``metadata_path``'s build-backend fallback returning a nonexistent dist-info path for wheels with a build tag - by
:user:`henryiii` (:issue:`1119`)
- Write pip/uv requirements and constraints files with ``\n`` instead of ``os.linesep``, avoiding doubled ``\r\r\n`` line
endings on Windows - by :user:`henryiii` (:issue:`1120`)
- Batch of small robustness fixes: correct macOS release parsing for the minimum pip version, avoid sharing the mutable
default build-system table between builders, keep the original error when isolated-environment setup fails early, and
raise ``BuildException`` for an invalid wheel - by :user:`henryiii` (:issue:`1121`)
- Decide color support independently for stdout and stderr instead of only checking ``stdout.isatty()``, so redirecting
one stream no longer disables or leaks ANSI colors on the other - by :user:`henryiii` (:issue:`1123`)
- Pass ``--dependency-constraints-txt`` files through to the installer unmodified instead of re-parsing them into a
deduplicated set of lines, fixing a case where a hashed requirement (e.g. from ``pip-compile --generate-hashes``) could
have its ``--hash`` continuation line separated from its requirement line and silently dropped, depending on the
interpreter's hash seed - by :user:`manfred-kaiser` (:issue:`1140`)
**********
Removals
**********
- Remove ``exc_info`` parameter and attribute from ``BuildBackendException``. - by :user:`layday` (:issue:`1161`)
**************
Deprecations
**************
- Deprecate :func:`build.util.project_wheel_metadata`; use ``python -m build --metadata`` instead - by :user:`gaborbernat` (:issue:`557`)
- Warn on config settings without a value (e.g. ``-C--my-flag``); use ``-C--my-flag=`` instead for compatibility with pip
- by :user:`gaborbernat` (:issue:`640`)
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-build/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-build/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-build/Makefile
diff -u pkgsrc/devel/py-build/Makefile:1.28 pkgsrc/devel/py-build/Makefile:1.29
--- pkgsrc/devel/py-build/Makefile:1.28 Fri Jul 10 09:32:07 2026
+++ pkgsrc/devel/py-build/Makefile Fri Aug 28 19:02:37 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2026/07/10 09:32:07 adam Exp $
+# $NetBSD: Makefile,v 1.29 2026/08/28 19:02:37 wiz Exp $
-DISTNAME= build-1.5.1
+DISTNAME= build-1.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/build/}
@@ -31,8 +31,8 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pyproject-build pyproject-build-${PYVERSSUFFIX} || ${TRUE}
-# as of 1.5.0
-# 36 failed, 159 passed, 67 skipped, 1 xfailed, 1 error, 15 rerun
+# as of 1.6.0
+# 31 failed, 254 passed, 69 skipped, 1 xfailed, 1 error, 45 rerun
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
Index: pkgsrc/devel/py-build/distinfo
diff -u pkgsrc/devel/py-build/distinfo:1.17 pkgsrc/devel/py-build/distinfo:1.18
--- pkgsrc/devel/py-build/distinfo:1.17 Fri Jul 10 09:32:07 2026
+++ pkgsrc/devel/py-build/distinfo Fri Aug 28 19:02:37 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2026/07/10 09:32:07 adam Exp $
+$NetBSD: distinfo,v 1.18 2026/08/28 19:02:37 wiz Exp $
-BLAKE2s (build-1.5.1.tar.gz) = d73b62bc5ab5109bb23306488c30d1d4923eb97ca7a4d021231d851136f1992c
-SHA512 (build-1.5.1.tar.gz) = 798521bf3a4afcc5f54458d67ef2f160526d5dda3dc6f67632a9639059942f67ea6529aeaeb968fc491097794002e3ba43884e3a6060d0917d4c8967d2c5e1e5
-Size (build-1.5.1.tar.gz) = 112439 bytes
+BLAKE2s (build-1.6.0.tar.gz) = 5ca1005a2a2c044e89b5c10058011177631fe146f2c1fc4127286b10b1967fde
+SHA512 (build-1.6.0.tar.gz) = b9bed246299ecafb666445557bce7ce8480bad7d97f6762106b8c2614b14d84091712e66b4480aca8ebeacdef29b0654cd3462f716f4c3588025b18d9df91eae
+Size (build-1.6.0.tar.gz) = 113825 bytes
SHA1 (patch-pyproject.toml) = 36a094fa6cd8b00376888a6f0f55986ab11e5635
Home |
Main Index |
Thread Index |
Old Index