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:   adam
Date:           Fri Jul 10 09:32:07 UTC 2026

Modified Files:
        pkgsrc/devel/py-build: Makefile distinfo

Log Message:
py-build: updated to 1.5.1

1.5.1 (2026-07-09)

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`)

Deprecations and Removals

- 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.27 -r1.28 pkgsrc/devel/py-build/Makefile
cvs rdiff -u -r1.16 -r1.17 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.27 pkgsrc/devel/py-build/Makefile:1.28
--- pkgsrc/devel/py-build/Makefile:1.27 Sun May  3 14:39:00 2026
+++ pkgsrc/devel/py-build/Makefile      Fri Jul 10 09:32:07 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2026/05/03 14:39:00 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2026/07/10 09:32:07 adam Exp $
 
-DISTNAME=      build-1.5.0
+DISTNAME=      build-1.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/build/}

Index: pkgsrc/devel/py-build/distinfo
diff -u pkgsrc/devel/py-build/distinfo:1.16 pkgsrc/devel/py-build/distinfo:1.17
--- pkgsrc/devel/py-build/distinfo:1.16 Sun May  3 14:39:00 2026
+++ pkgsrc/devel/py-build/distinfo      Fri Jul 10 09:32:07 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2026/05/03 14:39:00 wiz Exp $
+$NetBSD: distinfo,v 1.17 2026/07/10 09:32:07 adam Exp $
 
-BLAKE2s (build-1.5.0.tar.gz) = d2b630b35c4294c4e3cf2be5f76ee8cc7025651f1eb714d6bf55a080b6dc93de
-SHA512 (build-1.5.0.tar.gz) = 7c60d26fc85a9e8fbf903cec28638b77d3761e6bc63eaf51ba8ee4b734c4ee95248e8db3460d9b1c15d82d91b5026af0147b29628320933fd7bdd0129b67ad35
-Size (build-1.5.0.tar.gz) = 89796 bytes
+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
 SHA1 (patch-pyproject.toml) = 36a094fa6cd8b00376888a6f0f55986ab11e5635



Home | Main Index | Thread Index | Old Index