Skip to content

Support PEP 770 #10725

@Ru13en

Description

@Ru13en

Issue Kind

Brand new capability

Description

PEP 770 introduces a standardized way for Python packages to include Software Bill‑of‑Materials (SBOM) data inside wheel distributions—specifically within a new .dist-info/sboms/ directory.
This improves measurability, supply‑chain transparency, and vulnerability analysis across the Python ecosystem. PEP 770 was accepted in April 2025 and is now part of the official Python packaging standards.

To align Poetry with the PEP 770 standard, this proposal requests that Poetry provide a simple mechanism in pyproject.toml (please read: https://sethmlarson.dev/visualizing-the-python-package-sbom-data-flow#how-sbom-data-will-be-included-in-python-packages) to attach pre‑generated SBOM files to the built wheel.

Impact

Supporting PEP 770 allows Poetry to:

Strengthen supply‑chain security
Enable modern compliance workflows
Improve compatibility with emerging SBOM scanning tools
Stay aligned with Python’s official packaging standards

Workarounds

Use auditwheel to patch built wheels:
https://sethmlarson.dev/early-promising-results-with-sboms-and-python-packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementationsstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions