Skip to content

Check if generated files are up to date fails because generate_sbom.py tries to fetch wrong URL #130807

@StanFromIreland

Description

@StanFromIreland

Bug report

Bug description:

Fail examples:

https://github.com/python/cpython/actions/runs/13638516783/job/38122954008

https://github.com/python/cpython/actions/runs/13638516783/job/38122954008?pr=130691#step:10:663

f"https://github.com/python/cpython-source-deps/archive/refs/tags/{externals_name_to_git_tag[package['name']]}.tar.gz"

if "checksums" not in package or "CI" in os.environ:
download_location = package["downloadLocation"]
resp = urllib.request.urlopen(download_location)
error_if(resp.status != 200, f"Couldn't access URL: {download_location}'")

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions