Skip to content

Conversation

@ModeSevenIndustrialSolutions

The sigstore 4.1.0 package has a dependency on importlib_resources~=5.7 which wasn't included in the pinned requirements file. When uv pip install runs with --require-hashes mode (implicit when hashes are present), it fails if any transitive dependencies aren't pinned.

This regenerates the requirements.txt file to include all transitive dependencies with their hashes, fixing the installation failure.

Fixes installation error:
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==.

Summary

Release Note

Documentation

@ModeSevenIndustrialSolutions
Copy link
Author

Potentially fixes: #254

woodruffw
woodruffw previously approved these changes Nov 24, 2025
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ModeSevenIndustrialSolutions!

This looks fine to me, although I'm confused as to how this happened in the first place -- @jku any thoughts?

Copy link
Member

@jku jku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused as to how this happened in the first place

I am too -- the difference in requirements.txt with different Python versions is not surprising but it should not affect the action since we should always use Python 3.14 for this exact reason...

Let's hold this until we understand why the failure happens

The sigstore 4.1.0 package has a dependency on importlib_resources~=5.7
which wasn't included in the pinned requirements file. When uv pip
install runs with --require-hashes mode (implicit when hashes are
present), it fails if any transitive dependencies aren't pinned.

This regenerates the requirements.txt file to include all transitive
dependencies with their hashes, fixing the installation failure.

Fixes installation error:
ERROR: In --require-hashes mode, all requirements must have their
versions pinned with ==.

Signed-off-by: Matthew Watkins <[email protected]>
@jku
Copy link
Member

jku commented Nov 25, 2025

I'm tentatively closing this: we can revisit this if current main branch does not work for you -- I believe it should:

  • main branch always uses python 3.14 (the "provided" python is only used to bootstrap the 3.14 virtualenv)
  • Fix .python-version lookup #258 fixed the last known issue with that virtualenv

@jku jku closed this Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants