Skip to content

Commit 90901e5

Browse files
test: update builder image references in release evidence fixtures
Builder switched from container (python:3.11-slim) to github-hosted runner with setup-python; test fixtures must match the new approved image string.
1 parent e851a7e commit 90901e5

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

‎tests/test_release_evidence.py‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,7 @@ def _release_inputs(root, dist):
135135
builders = [
136136
{
137137
"name": name,
138-
"image": (
139-
"python:3.11-slim@sha256:"
140-
"a630a63cdb314e2d138a2fca3e375e319e8568346ffafac5b980f888630ac4f1"
141-
),
138+
"image": "github-hosted:ubuntu-latest/python-3.11",
142139
"python": "3.11",
143140
"environment_lock_sha256": "e" * 64,
144141
"toolchain": {
@@ -515,7 +512,7 @@ def test_release_workflow_publishes_complete_captured_evidence():
515512
assert "name: build-environment-evidence" in build
516513
assert "dist-repeat" not in build
517514
assert "Independent distribution builder ${{ matrix.builder }}" in reproducibility
518-
assert "python:3.11-slim@sha256:a630a63c" in reproducibility
515+
assert "github-hosted:ubuntu-latest/python-3.11" in reproducibility
519516
assert 'builder: ["a", "b"]' in reproducibility
520517
assert "Compare independent distribution builders" in reproducibility
521518
assert "name: independent-reproducibility" in reproducibility

‎tests/test_release_infrastructure.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def test_release_builds_one_portable_open_core_wheel():
297297
assert release.count("python -m build") == 2
298298
assert "python -m build --outdir dist-repeat" not in release
299299
assert 'builder: ["a", "b"]' in release
300-
assert "python:3.11-slim@sha256:a630a63c" in release
300+
assert "github-hosted:ubuntu-latest/python-3.11" in release
301301
assert "Compare independent distribution builders" in release
302302
assert "python scripts/verify_distribution_contents.py dist/*" in release
303303
assert "Build compiled wheels" not in release

0 commit comments

Comments
 (0)