Open timbess opened 4 years ago
Hi, you are not fucking something up.
The issue arises from the fact that pypi2nix is unable to detect setup_requires
-requirements, build time dependencies in plain english, for projects that do not declare them in pyproject.toml
or setup.cfg
. This is the case for aiocontextvars
. You can work around the issue by overriding the specific package manually via the requirements_override.nix
mechanism. See the content of intengrationtests/
directory and README.rst for more information. If you have a specific question on how this works, post it here and I try to assist (although I cannot promise a timely reply).
If you feel the open source and have time to spare for the community you take either or both of the following steps:
1) Open a PR at https://github.com/fantix/aiocontextvars that declares build time dependencies in setup.cfg
instead of setup.py
. This would mean that the issue is solved for everyone, including users of other automation tools.
2) Get involved with maintaining default overrides for this package at https://github.com/nix-community/pypi2nix-overrides . This is a little bit more involved but also appreciated by me and other users of pypi2nix
. Open an issue at this project if you are interested.
Please let me know if this helped.
I'm new to pypi2nix and nix, so it's possible I'm fucking something up here.
Host
Requirements File
Steps to produce bug
Output