deps: bump sigstore and pypi-attestations
Signed-off-by: William Woodruff <[email protected]>
This commit is contained in:
committed by
Facundo Tuesca
parent
3317ede93a
commit
b5a6e8ba26
+2
-1
@@ -5,6 +5,7 @@ from pathlib import Path
|
|||||||
from typing import NoReturn
|
from typing import NoReturn
|
||||||
|
|
||||||
from pypi_attestations import Attestation, Distribution
|
from pypi_attestations import Attestation, Distribution
|
||||||
|
from sigstore.models import ClientTrustConfig
|
||||||
from sigstore.oidc import IdentityError, IdentityToken, detect_credential
|
from sigstore.oidc import IdentityError, IdentityToken, detect_credential
|
||||||
from sigstore.sign import Signer, SigningContext
|
from sigstore.sign import Signer, SigningContext
|
||||||
|
|
||||||
@@ -141,7 +142,7 @@ def main() -> None:
|
|||||||
# since permissions can't be to blame at this stage.
|
# since permissions can't be to blame at this stage.
|
||||||
die(_TOKEN_RETRIEVAL_FAILED_MESSAGE.format(identity_error=identity_error))
|
die(_TOKEN_RETRIEVAL_FAILED_MESSAGE.format(identity_error=identity_error))
|
||||||
|
|
||||||
with SigningContext.production().signer(identity, cache=True) as signer:
|
with SigningContext.from_trust_config(ClientTrustConfig.production()).signer(identity, cache=True) as signer:
|
||||||
debug(f'attesting to dists: {dist_to_attestation_map.keys()}')
|
debug(f'attesting to dists: {dist_to_attestation_map.keys()}')
|
||||||
for dist_path, attestation_path in dist_to_attestation_map.items():
|
for dist_path, attestation_path in dist_to_attestation_map.items():
|
||||||
attest_dist(dist_path, attestation_path, signer)
|
attest_dist(dist_path, attestation_path, signer)
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ id ~= 1.0
|
|||||||
requests
|
requests
|
||||||
|
|
||||||
# NOTE: Used to generate attestations.
|
# NOTE: Used to generate attestations.
|
||||||
pypi-attestations ~= 0.0.27
|
pypi-attestations ~= 0.0.29
|
||||||
sigstore ~= 3.6.5
|
sigstore ~= 4.1
|
||||||
|
|
||||||
# NOTE: Used to detect the PyPI package name from the distribution files
|
# NOTE: Used to detect the PyPI package name from the distribution files
|
||||||
packaging
|
packaging
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
#
|
#
|
||||||
annotated-types==0.7.0
|
annotated-types==0.7.0
|
||||||
# via pydantic
|
# via pydantic
|
||||||
betterproto==2.0.0b6
|
|
||||||
# via sigstore-protobuf-specs
|
|
||||||
certifi==2025.8.3
|
certifi==2025.8.3
|
||||||
# via requests
|
# via requests
|
||||||
cffi==1.17.1
|
cffi==1.17.1
|
||||||
@@ -19,7 +17,6 @@ cryptography==45.0.7
|
|||||||
# pyopenssl
|
# pyopenssl
|
||||||
# pypi-attestations
|
# pypi-attestations
|
||||||
# rfc3161-client
|
# rfc3161-client
|
||||||
# secretstorage
|
|
||||||
# sigstore
|
# sigstore
|
||||||
dnspython==2.7.0
|
dnspython==2.7.0
|
||||||
# via email-validator
|
# via email-validator
|
||||||
@@ -27,14 +24,6 @@ docutils==0.22
|
|||||||
# via readme-renderer
|
# via readme-renderer
|
||||||
email-validator==2.3.0
|
email-validator==2.3.0
|
||||||
# via pydantic
|
# via pydantic
|
||||||
grpclib==0.4.8
|
|
||||||
# via betterproto
|
|
||||||
h2==4.3.0
|
|
||||||
# via grpclib
|
|
||||||
hpack==4.1.0
|
|
||||||
# via h2
|
|
||||||
hyperframe==6.1.0
|
|
||||||
# via h2
|
|
||||||
id==1.5.0
|
id==1.5.0
|
||||||
# via
|
# via
|
||||||
# -r runtime.in
|
# -r runtime.in
|
||||||
@@ -50,10 +39,6 @@ jaraco-context==6.0.1
|
|||||||
# via keyring
|
# via keyring
|
||||||
jaraco-functools==4.3.0
|
jaraco-functools==4.3.0
|
||||||
# via keyring
|
# via keyring
|
||||||
jeepney==0.9.0
|
|
||||||
# via
|
|
||||||
# keyring
|
|
||||||
# secretstorage
|
|
||||||
keyring==25.6.0
|
keyring==25.6.0
|
||||||
# via twine
|
# via twine
|
||||||
markdown-it-py==4.0.0
|
markdown-it-py==4.0.0
|
||||||
@@ -64,8 +49,6 @@ more-itertools==10.8.0
|
|||||||
# via
|
# via
|
||||||
# jaraco-classes
|
# jaraco-classes
|
||||||
# jaraco-functools
|
# jaraco-functools
|
||||||
multidict==6.6.4
|
|
||||||
# via grpclib
|
|
||||||
nh3==0.3.0
|
nh3==0.3.0
|
||||||
# via readme-renderer
|
# via readme-renderer
|
||||||
packaging==25.0
|
packaging==25.0
|
||||||
@@ -86,6 +69,7 @@ pydantic==2.11.7
|
|||||||
# via
|
# via
|
||||||
# pypi-attestations
|
# pypi-attestations
|
||||||
# sigstore
|
# sigstore
|
||||||
|
# sigstore-models
|
||||||
# sigstore-rekor-types
|
# sigstore-rekor-types
|
||||||
pydantic-core==2.33.2
|
pydantic-core==2.33.2
|
||||||
# via pydantic
|
# via pydantic
|
||||||
@@ -97,10 +81,8 @@ pyjwt==2.10.1
|
|||||||
# via sigstore
|
# via sigstore
|
||||||
pyopenssl==25.1.0
|
pyopenssl==25.1.0
|
||||||
# via sigstore
|
# via sigstore
|
||||||
pypi-attestations==0.0.27
|
pypi-attestations==0.0.29
|
||||||
# via -r runtime.in
|
# via -r runtime.in
|
||||||
python-dateutil==2.9.0.post0
|
|
||||||
# via betterproto
|
|
||||||
readme-renderer==44.0
|
readme-renderer==44.0
|
||||||
# via twine
|
# via twine
|
||||||
requests==2.32.5
|
requests==2.32.5
|
||||||
@@ -125,22 +107,18 @@ rich==14.1.0
|
|||||||
# via
|
# via
|
||||||
# sigstore
|
# sigstore
|
||||||
# twine
|
# twine
|
||||||
secretstorage==3.3.3
|
|
||||||
# via keyring
|
|
||||||
securesystemslib==1.3.0
|
securesystemslib==1.3.0
|
||||||
# via tuf
|
# via tuf
|
||||||
sigstore==3.6.5
|
sigstore==4.1.0
|
||||||
# via
|
# via
|
||||||
# -r runtime.in
|
# -r runtime.in
|
||||||
# pypi-attestations
|
# pypi-attestations
|
||||||
sigstore-protobuf-specs==0.3.2
|
sigstore-models==0.0.5
|
||||||
# via
|
# via
|
||||||
# pypi-attestations
|
# pypi-attestations
|
||||||
# sigstore
|
# sigstore
|
||||||
sigstore-rekor-types==0.0.18
|
sigstore-rekor-types==0.0.18
|
||||||
# via sigstore
|
# via sigstore
|
||||||
six==1.17.0
|
|
||||||
# via python-dateutil
|
|
||||||
tuf==6.0.0
|
tuf==6.0.0
|
||||||
# via sigstore
|
# via sigstore
|
||||||
twine==6.1.0
|
twine==6.1.0
|
||||||
@@ -149,6 +127,7 @@ typing-extensions==4.15.0
|
|||||||
# via
|
# via
|
||||||
# pydantic
|
# pydantic
|
||||||
# pydantic-core
|
# pydantic-core
|
||||||
|
# sigstore-models
|
||||||
# typing-inspection
|
# typing-inspection
|
||||||
typing-inspection==0.4.1
|
typing-inspection==0.4.1
|
||||||
# via pydantic
|
# via pydantic
|
||||||
|
|||||||
Reference in New Issue
Block a user