Skip to content

Commit bdb71dc

Browse files
woodruffwdi
andauthored
requirements: bump pypi-attestations to 0.0.12 (#16757)
* requirements: bump pypi-attestations to 0.0.12 See pypa/gh-action-pypi-publish#262 for additional context. Signed-off-by: William Woodruff <[email protected]> * tests: fixup types Signed-off-by: William Woodruff <[email protected]> --------- Signed-off-by: William Woodruff <[email protected]> Co-authored-by: Dustin Ingram <[email protected]>
1 parent 0a0b7e0 commit bdb71dc

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

requirements/main.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ rfc8785
6565
sentry-sdk
6666
setuptools
6767
sigstore~=3.2.0
68-
pypi-attestations==0.0.11
68+
pypi-attestations==0.0.12
6969
sqlalchemy[asyncio]>=2.0,<3.0
7070
stdlib-list
7171
stripe

requirements/main.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1799,9 +1799,9 @@ pyparsing==3.1.4 \
17991799
--hash=sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c \
18001800
--hash=sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032
18011801
# via linehaul
1802-
pypi-attestations==0.0.11 \
1803-
--hash=sha256:b730e6b23874d94da0f3817b1f9dd3ecb6a80d685f62a18ad96e5b0396149ded \
1804-
--hash=sha256:e74329074f049568591e300373e12fcd46a35e21723110856546e33bf2949efa
1802+
pypi-attestations==0.0.12 \
1803+
--hash=sha256:b1b2d5e700def138a214869f65835ff20e5f2e524acca841d5280ea89c2d2c46 \
1804+
--hash=sha256:d4a901121993ff8693ef9fd99e83f506ce79b5f799c36fcf8ddcdb38f4f8960b
18051805
# via -r requirements/main.in
18061806
pyqrcode==1.2.1 \
18071807
--hash=sha256:1b2812775fa6ff5c527977c4cd2ccb07051ca7d0bc0aecf937a43864abe5eff6 \

tests/unit/forklift/test_legacy.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13+
import base64
1314
import hashlib
1415
import io
1516
import re
@@ -2478,11 +2479,12 @@ def test_upload_attestation_fails_without_oidc_publisher(
24782479
attestation = Attestation(
24792480
version=1,
24802481
verification_material=VerificationMaterial(
2481-
certificate="some_cert", transparency_entries=[dict()]
2482+
certificate=base64.b64encode(b"some_cert"),
2483+
transparency_entries=[dict()],
24822484
),
24832485
envelope=Envelope(
2484-
statement="somebase64string",
2485-
signature="somebase64string",
2486+
statement=base64.b64encode(b"somebase64string"),
2487+
signature=base64.b64encode(b"somebase64string"),
24862488
),
24872489
)
24882490

0 commit comments

Comments
 (0)