This repository was archived by the owner on Oct 7, 2022. It is now read-only.
This repository was archived by the owner on Oct 7, 2022. It is now read-only.
Error when running pypi2nix command on obonet #117
Closed
Description
Description
The setup.py file is trying to read the readme file to create the long description, but the readme isn't in the downloaded files. If I run pypi with -E pandoc
this still crashes because pandoc cannot read the file.
Traceback
% cat requirements.txt
obonet
networkx
% pypi2nix --version
1.6.0
% pypi2nix -v -V 3.5 -r requirements.txt
|-> nix-shell /nix/store/953f650qfbikqb4c32fnv1ifqak5rnpy-pypi2nix-1.6.0/pkgs/pypi2nix/pip.nix --argstr wheel_cache_dir /var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/cache/wheel --argstr download_cache_dir /var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/cache/download --argstr project_dir /var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/05cc0db81167a5ec9588a4477ea7ee07 --argstr python_version python35 --arg requirements_files [ "/var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/05cc0db81167a5ec9588a4477ea7ee07/6bbbc2206e4b2c64140046db449d74cb.txt" ] --arg extra_build_inputs [ ] --arg setup_requires [ ] --argstr pip_build_dir /var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/cache/pip -I nixpkgs=/Users/blake/.nix-defexpr/channels/nixpkgs --show-trace --pure --run exit Collecting obonet (from -r /var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/05cc0db81167a5ec9588a4477ea7ee07/6bbbc2206e4b2c64140046db449d74cb.txt (line 1))
Using cached obonet-0.2.1.tar.gz
Complete output from command python setup.py egg_info:
README.md conversion to reStructuredText failed. Error:
[Errno 2] No such file or directory: 'pandoc'
Traceback (most recent call last):
File "/var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/cache/pip/obonet/setup.py", line 22, in <module>
long_description = subprocess.check_output(args)
File "/nix/store/vjqr0kb99jnnd04r505192gq2yrwgwv3-python3-3.5.3/lib/python3.5/subprocess.py", line 316, in check_output
**kwargs).stdout
File "/nix/store/vjqr0kb99jnnd04r505192gq2yrwgwv3-python3-3.5.3/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "/nix/store/vjqr0kb99jnnd04r505192gq2yrwgwv3-python3-3.5.3/lib/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/nix/store/vjqr0kb99jnnd04r505192gq2yrwgwv3-python3-3.5.3/lib/python3.5/subprocess.py", line 1282, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'pandoc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/cache/pip/obonet/setup.py", line 28, in <module>
with open(readme_path) as read_file:
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/cache/pip/obonet/README.md'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/folders/0p/ntwwt0wn6mn977__st9132m80000gn/T/pypi2nix/cache/pip/obonet/
Metadata
Metadata
Assignees
Labels
No labels