|
| 1 | +#################### |
| 2 | + 1.6.0 (2026-08-27) |
| 3 | +#################### |
| 4 | + |
| 5 | +********** |
| 6 | + Features |
| 7 | +********** |
| 8 | + |
| 9 | +- Add ``--report=PATH`` to write a machine-readable JSON report of built artifacts; ``--metadata`` now also accepts |
| 10 | + ``.whl`` files - by :user:`gaborbernat` (:issue:`198`) |
| 11 | +- The ``srcdir`` argument now accepts ``.tar.gz`` source distributions, extracting and building from them - by |
| 12 | + :user:`gaborbernat` (:issue:`311`) |
| 13 | +- The "Unmet dependencies" error from ``--no-isolation`` builds now shows the wanted version, found version, and |
| 14 | + interpreter - by :user:`gaborbernat` (:issue:`504`) |
| 15 | +- Add ``--sdist-extract-dir`` to extract the intermediate sdist into a persistent directory, enabling compiler cache reuse |
| 16 | + across rebuilds - by :user:`gaborbernat` (:issue:`614`) |
| 17 | +- Add ``--env-dir`` to place the isolated build environment at a fixed path, enabling compiler cache reuse across builds - |
| 18 | + by :user:`gaborbernat` (:issue:`655`) |
| 19 | +- Print a summary of resolved dependency versions (``name==version``) after installing them in isolated builds - by |
| 20 | + :user:`gaborbernat` (:issue:`959`) |
| 21 | +- On build failure, print a tip pointing to ``--env-dir`` and ``--sdist-extract-dir`` for debugging and link to the "Debug |
| 22 | + a failed build" how-to - reported by :user:`dimpase`, implemented by :user:`gaborbernat` (:issue:`966`) |
| 23 | + |
| 24 | +********** |
| 25 | + Bugfixes |
| 26 | +********** |
| 27 | + |
| 28 | +- Drain verbose subprocess output inline instead of using a ``ThreadPoolExecutor``, which silently swallowed logging |
| 29 | + errors - by :user:`henryiii` (:issue:`1098`) |
| 30 | +- Reject a file passed as ``--env-dir`` with a clear error instead of a raw ``FileExistsError`` - by :user:`henryiii` (:issue:`1100`) |
| 31 | +- Emit CLI warnings to stderr instead of stdout, so they no longer corrupt ``--metadata`` JSON output on stdout - by |
| 32 | + :user:`ymyzk` (:issue:`1111`) |
| 33 | +- Fix the Windows symlink support probe always returning ``False`` due to a stale object interpolated into the destination |
| 34 | + path - by :user:`henryiii` (:issue:`1118`) |
| 35 | +- Fix ``metadata_path``'s build-backend fallback returning a nonexistent dist-info path for wheels with a build tag - by |
| 36 | + :user:`henryiii` (:issue:`1119`) |
| 37 | +- Write pip/uv requirements and constraints files with ``\n`` instead of ``os.linesep``, avoiding doubled ``\r\r\n`` line |
| 38 | + endings on Windows - by :user:`henryiii` (:issue:`1120`) |
| 39 | +- Batch of small robustness fixes: correct macOS release parsing for the minimum pip version, avoid sharing the mutable |
| 40 | + default build-system table between builders, keep the original error when isolated-environment setup fails early, and |
| 41 | + raise ``BuildException`` for an invalid wheel - by :user:`henryiii` (:issue:`1121`) |
| 42 | +- Decide color support independently for stdout and stderr instead of only checking ``stdout.isatty()``, so redirecting |
| 43 | + one stream no longer disables or leaks ANSI colors on the other - by :user:`henryiii` (:issue:`1123`) |
| 44 | +- Pass ``--dependency-constraints-txt`` files through to the installer unmodified instead of re-parsing them into a |
| 45 | + deduplicated set of lines, fixing a case where a hashed requirement (e.g. from ``pip-compile --generate-hashes``) could |
| 46 | + have its ``--hash`` continuation line separated from its requirement line and silently dropped, depending on the |
| 47 | + interpreter's hash seed - by :user:`manfred-kaiser` (:issue:`1140`) |
| 48 | + |
| 49 | +********** |
| 50 | + Removals |
| 51 | +********** |
| 52 | + |
| 53 | +- Remove ``exc_info`` parameter and attribute from ``BuildBackendException``. - by :user:`layday` (:issue:`1161`) |
| 54 | + |
| 55 | +************** |
| 56 | + Deprecations |
| 57 | +************** |
| 58 | + |
| 59 | +- Deprecate :func:`build.util.project_wheel_metadata`; use ``python -m build --metadata`` instead - by :user:`gaborbernat` (:issue:`557`) |
| 60 | +- Warn on config settings without a value (e.g. ``-C--my-flag``); use ``-C--my-flag=`` instead for compatibility with pip |
| 61 | + - by :user:`gaborbernat` (:issue:`640`) |
| 62 | + |
| 63 | +*************** |
| 64 | + Miscellaneous |
| 65 | +*************** |
| 66 | + |
| 67 | +- :issue:`1058`, :issue:`1060`, :issue:`1062`, :issue:`1093`, :issue:`1099`, :issue:`1107`, :issue:`1113`, :issue:`1117`, :issue:`1122`, :issue:`1124`, :issue:`1128`, :issue:`1132` |
| 68 | + |
1 | 69 | #################### |
2 | 70 | 1.5.0 (2026-04-30) |
3 | 71 | #################### |
|
0 commit comments