Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Fix missing project.version error for maturin >= 1.8#134

Closed
lukeshingles wants to merge 1 commit into
pola-rs:mainfrom
lukeshingles:fixmaturin1.8
Closed

Fix missing project.version error for maturin >= 1.8#134
lukeshingles wants to merge 1 commit into
pola-rs:mainfrom
lukeshingles:fixmaturin1.8

Conversation

@lukeshingles
Copy link
Copy Markdown
Contributor

@lukeshingles lukeshingles commented Apr 27, 2025

Since Maturin 1.8, running make install for io_plugin or derive_expression results in:

⚠️  Warning: `project.version` field is required in pyproject.toml unless it is present in the `project.dynamic` list
💥 maturin failed
  Caused by: Cannot build without valid version information. You need to specify either `project.version` or `project.dynamic = ["version"]` in pyproject.toml.
make: *** [install] Error 1

See PyO3/maturin#2416

This fix sets project.dynamic = ["version"] in pyproject.toml, which the default for maturin init with recent versions.

CI failure should be fixed by #135 and dep update to polars 0.47.

@lukeshingles
Copy link
Copy Markdown
Contributor Author

Superseded by #141

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant