Skip to content

maturin add non-dynamic fields to wheel metadata #2544

@trim21

Description

@trim21

Bug Description

pep621 forbid build backends adding fields that are not defined in dynamic, but I find that maturin add at least description, authors, keywords and project.urls.'Source Code' from Cargo.toml without users allowing it.

Your maturin version (maturin --version)

1.8.3

Your Python version (python -V)

not related

Your pip version (pip -V)

not related

What bindings you're using

None

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

create a project with any binding

create Cargo.toml, with keywords, description authors and repository

create pyproject.toml, without dynamic

run any build frontend, for example, pip/build/uv

use pkginfo to check wheel

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpep-complianceCompliance with PEP

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions