pypi2nix icon indicating copy to clipboard operation
pypi2nix copied to clipboard

[Build Fail]: Building apache-airflow fails

Open rowhit opened this issue 5 years ago • 2 comments

I am new to pypi2nix. I did the following

pypi2nix -V "3.6" -e apache-airflow

For most part it seems to go smoothly but fails at python-daemon

Command "python setup.py egg_info" failed with error code 1 in /tmp/pypi2nix/cache/pip/python-daemon/

You are using pip version 9.0.1, however version 19.1.1 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

Do you want to report above issue (a browser will open with prefilled details of issue)? [y/N]: N
Error: While trying to run the command something went wrong.

rowhit avatar Jun 11 '19 21:06 rowhit

Hi could you try that again with the current master version? I have the suspicion that the error you described is due to a bug that was already fixed in the latest version. You can installed the version from master with the following command

nix-env -if https://github.com/nix-community/pypi2nix/archive/master.tar.gz

seppeljordan avatar Jul 07 '19 15:07 seppeljordan

I looked into this and unfortunately this package requires poetry as a dependency. Currently pypi2nix cannot handle poetry because of a bug in pip which prevents PEP 517 packages from being installed from source :(

seppeljordan avatar Aug 03 '19 14:08 seppeljordan