Skip to content

Releases: hynek/build-and-inspect-python-package

v2.2.0

31 Mar 08:48
v2.2.0
7e1c25e
Compare
Choose a tag to compare

Changed

  • Use uv as installer command for build for further speedups. #107

v2.1.0

27 Mar 10:59
v2.1.0
e7acf29
Compare
Choose a tag to compare

Highlight

This is a very exciting release with two very exciting stand-out features:

  1. The action now uses uv to install its tools which made it much faster.

  2. The new supported_python_classifiers_json_array and supported_python_classifiers_json_job_matrix_value outputs allow you to use support Python classifiers from your package's metadata directly to build the CI matrix.

    One place fewer to update when adding support for a new Python version (or removing for one, for that matter) and this is how this feature looks in real life: https://github.com/hynek/structlog/pull/608/files

Full Changelog

Added

  • New outputs: supported_python_classifiers_json_array and supported_python_classifiers_json_job_matrix_value.

    They are extracted from the trove classifiers defined in the package metadata (for example, Programming Language :: Python :: 3.12) and allow you to define the Python versions matrix for your CI jobs without duplicating this information. #80 #102

  • New input: skip-wheel to skip building the wheel in addition to the source distribution. This is useful if you need to build your wheels using advanced tools like cibuildwheel anyway. #98

  • New input: upload-name-suffix allows to build more than one package in a single workflow by distinguishing the artifact names. #97

Changed

  • The action now uses uv to install its tools to speed up your CI runs. #86

  • We now use unzip to extract wheels, which preserves timestamps in the "Wheel contents" summary. #103

v1.5.5

23 Mar 08:14
v1.5.5
c6b879e
Compare
Choose a tag to compare

This is the 1.5 equivalent of 2.0.2 to make the action keep working for those who are stuck on upload/download@v3.

Changed

  • Dependency updates for Metadata-Version 2.3 support (as used, for example, by Hatchling 1.22.1).

v2.0.2

16 Mar 14:08
v2.0.2
88842b6
Compare
Choose a tag to compare

Changes

  • Dependency updates for Metadata-Version 2.3 support (as used, for example, by Hatchling 1.22.1).

v2.0.1

25 Jan 08:02
v2.0.1
3a76fe0
Compare
Choose a tag to compare

This release updates the setup-python action to v5 to avoid deprecation warnings.

v2.0.0

15 Dec 07:44
v2.0.0
c9fea02
Compare
Choose a tag to compare

This release switches to actions/upload-artifact v4, which is incompatible with older versions of actions/download-artifact (and vice versa).

  • If you're using download-artifact@v3, do not upgrade.
  • If you want to use download-artifact@v4, you must upgrade.

v1.5.4

01 Nov 13:50
v1.5.4
97459e6
Compare
Choose a tag to compare

Fixed

  • Stop trying to cache.
    Fixes Error: No file in /home/runner/work/pytest-cpp/pytest-cpp matched to [**/requirements.txt or **/pyproject.toml], make sure you have checked out the target repository
    #76

v1.5.3

27 Oct 07:34
v1.5.3
4d5c304
Compare
Choose a tag to compare

Changed

  • Hopefully nothing, but this release comes from the main branch again.

v1.5.2

27 Oct 05:22
v1.5.2
54d50a8
Compare
Choose a tag to compare

Fixed

  • Turns out it made a huge difference. This release is branched directly from v1.5 and only updates the dependencies.

v1.5.1

27 Oct 04:59
v1.5.1
63bd4fd
Compare
Choose a tag to compare

Changed

  • Updates of the tools we use. Notably this fixes check-wheel-contents on Python 3.12.

  • This shouldn't make any difference, but all management and command running is now done by PDM. #57