-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Poetry will not install packages using with Hatchling #9244
Comments
Sounds more like a user error not something Poetry is incapable of doing. Could you post your |
Following the bug template is always useful, it gives us more information to work from:
So, for whatever reason, poetry isn't even trying to use hatchling as a backend? |
poetry is fine, you just need to get a recent this is a duplicate of #9191, please close |
Closing as this is not a feature request, and if it were a bug it is a duplicate of #9191. Updating # if you used install.python-poetry.org script
poetry self add pkginfo==1.10.0
# if you used pipx
pipx runpip poetry install pkginfo==1.10.0 |
Just to report back, @abn solution solved my issue (tested the pipx variant). Thank you. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue Kind
Brand new capability
Description
I would like to be able to
poetry add
a package that is built with hatchling. Currently when I try one like Ariadne (which has a whl on PyPI so it's fine - just using it as an example) I get "Unable to create package with no name" from poetry.To reproduce:
Impact
Quite high for my particular use case, no idea if it's a problem for many. I'm sure it has the potential to be impactful in the future as the likes of Hatchling or PDM tend to appear more and more. (I have no idea if there's a similar problem with a PDM package)
Workarounds
I'm looking for one for a few days now and nothing seems to work.
The text was updated successfully, but these errors were encountered: