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

Adapt to hatchling v1.19.0 which mandates packages setting #31

Closed
benoit74 opened this issue Dec 11, 2023 · 0 comments · Fixed by #32
Closed

Adapt to hatchling v1.19.0 which mandates packages setting #31

benoit74 opened this issue Dec 11, 2023 · 0 comments · Fixed by #32
Assignees
Labels
bug Something isn't working

Comments

@benoit74
Copy link
Collaborator

Since hatchling v1.19.0, it is mandatory to set the package files location:

An error will now be raised for the wheel target if no file selection options are defined

See pypa/hatch#1113 for other users experiencing the same issue and explanations, and pypa/hatch#992 for the reason which led to this change.

We should probably simply add this:

[tool.hatch.build.targets.wheel]
packages = ["src/great_project"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant