Exclude cryptography package by default for tasks on PowerPC/zSeries distros #1314
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses task failures on PowerPC and zSeries distros due to failure to build the
cryptography
package (43.0.3) despite no notable updates to Rust toolchain dependencies in uv release notes since 0.5.9. Attempts to limit or pin the cryptography package version failed. Therefore, this PR proposes using dependency groups to by-default exclude packages required by themake_release.py
script which require thecryptography
package. Verified by this patch.Note
uv
installs thedev
package by default (e.g. during a plainuv run
command). We only usedev
because we do not publish this project as a Python package itself (solely for development purposes). Therefore,include-group
is used to add installed-by-default dev packages (config generation, formatting, and API documentation patching) with far less demanding dependency requirements. This list can be tweaked as necessary going forward.Note
The current dependency tree looks as follows (including
make_release
) peruv tree --frozen
: