Releases: hynek/build-and-inspect-python-package
v2.2.0
Changed
- Use uv as installer command for build for further speedups. #107
v2.1.0
Highlight
This is a very exciting release with two very exciting stand-out features:
-
The action now uses uv to install its tools which made it much faster.
-
The new
supported_python_classifiers_json_array
andsupported_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
andsupported_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
v1.5.5
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
Changes
- Dependency updates for Metadata-Version 2.3 support (as used, for example, by Hatchling 1.22.1).
v2.0.1
This release updates the setup-python action to v5 to avoid deprecation warnings.
v2.0.0
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
Fixed
- Stop trying to cache.
FixesError: 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
Changed
- Hopefully nothing, but this release comes from the main branch again.
v1.5.2
Fixed
- Turns out it made a huge difference. This release is branched directly from v1.5 and only updates the dependencies.