-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
fix: add hatchling for platformdirs #600
Conversation
Any clues on why this is failing? |
@yajo This is just guessing, I'm not as familiar with poetry2nix internals, but I'm wondering if it isn't due to pyproject.toml not listing any dependencies, yet, the wheel on PyPI lists these (I'm thinking poetry2nix compiles dependencies it uses pyproject.toml?):
Perhaps an override for hatchling is also necessary? @ofek why the dependencies are not in pyproject.toml? |
it builds itself so afaik there would be no deps at build time that way |
platformdirs/platformdirs#75 was released yesterday.
When we add something via an override that isn't in the projects The problem was that Poetry's dependency on packaging was defined as For now I've added a conditional around this override that just checks if platformdirs is really a version that requires hatchling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good.
Even with this fix applied platformdirs still fails to build.
|
Right, got the same yesterday, adding just |
See also this other comment. |
I've added I don't have the mental bandwidth to package this for nixpkgs, but feel free to cc me on a nixpkgs PR for a quick review. |
platformdirs/platformdirs#75 was released yesterday.