Skip to content

Update the lower pinned version of maturin in pyproject.toml #136

Open
@hgy59

Description

@hgy59

The pyproject.toml says:

  requires = ["maturin>=1.2,<2.0"]

But builds with maturin==1.8.1 fail as reported in https://mail-index.netbsd.org/tech-pkg/2025/03/20/msg030703.html

Error:

 💥 maturin failed
   Caused by: pyproject.toml at /tmp/work/devel/py-rpds-py/work/rpds_py-0.23.1/pyproject.toml is invalid
   Caused by: TOML parse error at line 11, column 17
    |
 11 | license-files = ["LICENSE"]
    |                 ^^^^^^^^^^^
 wanted string or table

conclusion:

 - py-rpds-py is buggy because it requires recent maturin but doesn't declare that

The original issue might be related to maturin-py or rpds-py.

IMHO it can be fixed in pyproject.toml with

  requires = ["maturin>=1.8.2,<2.0"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions