Skip to content

project.version field is required #2416

@heinrich5991

Description

@heinrich5991
💥 maturin failed
  Caused by: `project.version` field is required in pyproject.toml unless it is present in the `project.dynamic` list
Error: command ['maturin', 'pep517', 'write-sdist', '--sdist-directory', '/home/runner/work/libtw2/libtw2/uniffi/huffman/dist'] returned non-zero exit status 1

I had a pyproject.toml file without

[project]
version = "1.0.0"

and it failed with the above error in my CI. What are the backward compatibility guarantees of maturin, is something like this expected?

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