diff --git a/.github/workflows/examples-ci.yml b/.github/workflows/examples-ci.yml index 8cd5ab93..54a513bf 100644 --- a/.github/workflows/examples-ci.yml +++ b/.github/workflows/examples-ci.yml @@ -249,9 +249,9 @@ jobs: # from PyPI, which is what makes them a check on the release. run: | python -m pip install --require-hashes -r ../requirements/wcm-harness.txt - # model-signing 1.1.1 imports OpenSSL without declaring pyOpenSSL, which - # sigstore 4.5.1 stopped pulling in (sigstore/model-transparency#685). - python -m pip install "weight-custody-manifest[model-signing]>=0.27.0" pyOpenSSL + # model-signing needs pyOpenSSL and certifi; sigstore no longer + # pulls either in transitively (sigstore/model-transparency#685). + python -m pip install "weight-custody-manifest[model-signing]>=0.27.0" pyOpenSSL certifi - name: Run every offline demo and the unit tests run: python run_demos.py diff --git a/examples/weight-custody-manifest/requirements-model-signing.txt b/examples/weight-custody-manifest/requirements-model-signing.txt index f14a06cc..418f3df1 100644 --- a/examples/weight-custody-manifest/requirements-model-signing.txt +++ b/examples/weight-custody-manifest/requirements-model-signing.txt @@ -5,3 +5,7 @@ weight-custody-manifest[model-signing]>=0.33.1 # sigstore 4.5.1 no longer brings it in transitively. This range resolves # alongside WCM's cryptography 50 requirement. pyOpenSSL>=26.4.0,<27 + +# model-signing also imports certifi without declaring it; sigstore 4.6.0 +# dropped the "requests" dep that used to bring it in transitively. +certifi