Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version is not specified in pyproject.toml #52

Open
fxcoudert opened this issue Dec 27, 2024 · 0 comments · May be fixed by #53
Open

Version is not specified in pyproject.toml #52

fxcoudert opened this issue Dec 27, 2024 · 0 comments · May be fixed by #53

Comments

@fxcoudert
Copy link

Build with recent maturin versions fail with (conda-forge/libipld-feedstock#3):

  💥 maturin failed
    Caused by: `project.version` field is required in pyproject.toml unless it is present in the `project.dynamic` list
  Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/private/tmp/pip-modern-metadata-3b7_jndi', '--interpreter', '/Users/runner/miniforge3/conda-bld/libipld_1735296838707/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/python']' returned non-zero exit status 1.
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

This is due to maturin 1.8.0 which contains PyO3/maturin#2391
The version should be specified explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant