Closed InLaw closed 4 years ago
In the case of black, the tool hit an interesting corner case: the version of black included in nixpkgs is 19.10b0. The tool isn't considering the case where nixpkgs packages have pre-release versions, so it's failing unexpectedly. I'll prepare a fix soon. Meanwhile, you can be explicit in the black requirement to indicate you want the pre-release. Using black==19.10.b0
in the requirement instead of just black
works ok.
With overpy2, the problem is caused by an upstream issue. The package maintaners only uploaded a wheel for it: https://pypi.org/project/overpy2/0.4.2/#files. pynixify expects a .tar.gz
source distribution of the packages to be available. The solution to this is to request the overpy2 maintainers to build the tar.gz with python setup.py sdist
and upload it to PyPI. Wheel support might be available in future releases of pynixify, but just for performance reasons, not to address missing .tar.gz
files.
I'll keep the issue open until proper handling of the first issue is implemented. Wheel support will go to a separate issue.
Thanks again for reporting! :smile:
there are pypi packages not known?
e.g.
if I add overpy2 to the packages it results in :