We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pyproject.toml
entry-points
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using pixi --version.
pixi --version
[project] description = "A description" name = "test" [project.entry-points.entry] entry = "some.entry
$ pixi install --manifest-path pyproject.toml Error: × Unexpected keys, expected only 'name', 'version', 'description', 'readme', 'requires-python', 'license', 'license-files', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'entry_points', │ 'scripts', 'gui-scripts', 'dependencies', 'optional-dependencies', 'dynamic' ╭─[pyproject.toml:5:10] 4 │ 5 │ [project.entry-points] · ──────┬───── · ╰── 'entry-points' was not expected here 6 │ entry = "some.entry" ╰──── help: Did you mean 'entry_points'?
This is new in 0.40.0, downgrading to 0.39.5 fixes the issue.
0.40.0
0.39.5
Per the error, updating pyproject.toml to use entry_points instead also works.
entry_points
Raising this as a bug because this should be allowed per the pyproject.toml spec
As hinted by the error message, pretty sure that this line
pixi/crates/pixi_manifest/src/toml/pyproject.rs
Line 115 in 4f622f5
The text was updated successfully, but these errors were encountered:
Jep! Thats a bug! Would you be able to open a PR?
Sorry, something went wrong.
Sure thing!
Successfully merging a pull request may close this issue.
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
This is new in
0.40.0
, downgrading to0.39.5
fixes the issue.Per the error, updating pyproject.toml to use
entry_points
instead also works.Expected behavior
Raising this as a bug because this should be allowed per the pyproject.toml spec
As hinted by the error message, pretty sure that this line
pixi/crates/pixi_manifest/src/toml/pyproject.rs
Line 115 in 4f622f5
should be
entry-points
The text was updated successfully, but these errors were encountered: