Skip to content

Maturin does not calculate wheel tags the same way as pypa/packaging #1545

@timfel

Description

@timfel

Bug Description

With pypa/packaging#607, the official way that pip and wheel calculate wheel tags has changed. It looks like maturin is replicating a different (old) strategy in get_interpreter_metadata.py. The generated wheel tags will thus be incompatible and refuse installation of Rust packages e.g. on GraalPy.

Your maturin version (maturin --version)

all

Your Python version (python -V)

all

Your pip version (pip -V)

all

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

Currently no steps to reproduce, as the old way still works for now, but maturin should upgrade to replicate the new behaviour (as e.g. wheel has already upgraded their vendored packaging version, pip is about to, and meson-build already replicated that new behaviour also).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions