New input: attest-build-provenance-github generates signed build provenance attestations for workflow artifacts.
#122
v2.4.0
Changed
The action doesn't crash anymore if the user sets globally the UV_SYSTEM_PYTHON environment variable. #116
v2.3.0
Added
Cache busting for the uv cache. GitHub Actions's caching behavior is a bit idiosyncratic: Once a cache is created, it's immutable. But as long as it's accessed within 7 days, it never goes away.
Therefore, baipp now uses the hash of the requirements file as part of the cache key. Behaviorally, nothing changes, except that the cache doesn't grow useless over time. #115
v2.2.1
Fixed
The action uses wheel to unpack wheels again (this is a revert of #103) due to incompatibilities with, for example, pytest. To avoid the confusion due to wrong timestamps, the wheel's tree output in the Summary has no timestamps anymore. #114
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 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: hynek/structlog#608
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
Cache busting for the uv cache.
GitHub Actions's caching behavior is a bit idiosyncratic:
Once a cache is created, it's immutable.
But as long as it's accessed within 7 days, it never goes away.
Therefore, baipp now uses the hash of the requirements file as part of the cache key.
Behaviorally, nothing changes, except that the cache doesn't grow useless over time.
#115
The action uses wheel to unpack wheels again (this is a revert of #103) due to incompatibilities with, for example, pytest.
To avoid the confusion due to wrong timestamps, the wheel's tree output in the Summary has no timestamps anymore.
#114
Nothing changed feature-wise. The only notable update is that the underlying container runtime now uses Python 3.12 and pip has been updated to v24.0 there.
This is should go unnoticed in terms of behavior. It's just a bit of maintenance burden to be done occasionally by @webknjaz💰.
Enjoy!
This action is now able to consume and publish distribution packages with Metadata-Version: 2.3 embedded.
🛠️ Internal Dependencies
@SigureMo💰 sent us a bump of pkginfo version to version 1.10.0 in #219. It's a transitive dependency for us and is not an API-level change but upgrading it has a side effect of letting Twine recognize distribution packages declaring Metadata-Version: 2.3. In particular, it is known to affect distributions built with Maturin >= 1.5.0.
Following that, @webknjaz💰 upgraded other transitive and direct dependency pins, including, among others, the following notable bumps:
@woodruffw💰 replaced the notice annotations with simplified debug messages related to authentication methanism selection via #196. The also improved the error clarity during OIDC exchange on PRs from forks via #203.
📝 What's Documented
@virtuald💰 updated the docs and pointer messages were updated to mention that reusable workflows aren't supported right now in #186 and @xuanzhi33💰 later corrected the markdown syntax there via #216.
In scope of this release, we update node version runtime from node16 to node20 (actions/setup-python#772). Besides, we update dependencies to the latest versions.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the github-actions group with 5 updates:
3
4
1.5
2.5
1.8.5
1.8.14
4
5
1
2
Updates
actions/checkout
from 3 to 4Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
0ad4b8f
Prep Release v4.1.4 (#1704)43045ae
Disableextensions.worktreeConfig
when disablingsparse-checkout
(#1692)37b0821
Bump the minor-actions-dependencies group with 2 updates (#1693)9839dc1
Add dependabot config (#1688)9b4c13b
Bump word-wrap from 1.2.3 to 1.2.5 (#1643)1d96c77
Add SSH user parameter (#1685)cd7d8d6
Check git version before attempting to disablesparse-checkout
(#1656)8410ad0
Updateactions/checkout
version inupdate-main-version.yml
(#1650)9bb5618
Prep for release of v4.1.2 (#1649)8eb1f6a
Bump@babel/traverse
from 7.20.5 to 7.24.0 (#1642)Updates
hynek/build-and-inspect-python-package
from 1.5 to 2.5Release notes
Sourced from hynek/build-and-inspect-python-package's releases.
... (truncated)
Changelog
Sourced from hynek/build-and-inspect-python-package's changelog.
... (truncated)
Commits
4aea7de
v2.5.00f9f778
Attest build provenance of artifacts (#122)36b0128
[pre-commit.ci] pre-commit autoupdate (#121)5841954
Automated dependency upgrades (#120)c5aaf62
Update action.yml so what's ehco'ed matches what's done (#119)2a52909
Automated dependency upgrades (#118)c63bb68
Start new cycleeb6b0c7
v2.4.033aa9db
add cl7128288
Don't crash if user has set UV_SYSTEM_PYTHON to true (#116)Updates
pypa/gh-action-pypi-publish
from 1.8.5 to 1.8.14Release notes
Sourced from pypa/gh-action-pypi-publish's releases.
... (truncated)
Commits
81e9d93
Bumppip
to v24.0 in runtime prerequisites lock91527c4
Regenerate lockfiles with pip-tools v7.4.13a817c6
Bump action runtime to CPython 3.12741947b
Add a config file forpip-tools
d7af439
Mass-bump transitive dependencies of runtimee90ddca
Bumpreadme-renderer
to v43.0dae7fa3
Bump Twine to v5.0.00fe04ae
Bumpid
to v1.3.0444e179
Bump cryptography to v42.0.5820be4e
Normalize pip-tools' header comment @runtime.txt
Updates
actions/setup-python
from 4 to 5Release notes
Sourced from actions/setup-python's releases.
... (truncated)
Commits
82c7e63
Documentation changes for avoiding rate limit issues on GHES (#835)10aa35a
feat: fallback to raw endpoint for manifest when rate limit is reached (#766)9a7ac94
Bump undici from 5.27.2 to 5.28.3 (#817)871daa9
Fix the "Specifying multiple Python/PyPy versions" link (#782)2f07895
Fix broken README.md link (#793)e9d6f99
Replace setup-python@v4 by setup-python@v5 in README (#776)0a5c615
Update action to node20 (#772)0ae5836
Add example of GraalPy to docs (#773)b64ffca
update actions/checkout to v4 (#761)8d28961
Examples now use checkout@v4 (#738)Updates
softprops/action-gh-release
from 1 to 2Release notes
Sourced from softprops/action-gh-release's releases.
Changelog
Sourced from softprops/action-gh-release's changelog.
Commits
69320db
update changelog9771ccf
update changelog rebuild dist0a76e42
Fix: error handling (#449)3989e4b
document impl detail72e945e
update changelog40bf9ec
fmt and build998623f
fix: support space in file name (#446)0979303
Fix failure (#447)9b795e5
Update README.md (#432)9d7c94c
buildDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show