You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a source install from PyPI, the installation will error with FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'. This is because we forgot to include requirements.txt in MANIFEST.in.
This is not a problem for binary installs (using wheels).
Collecting nbautoexport
Downloading nbautoexport-0.1.0.tar.gz (54 kB)
|████████████████████████████████| 54 kB 4.0 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /Users/jqi/miniconda3/envs/temp/bin/python3.7 /Users/jqi/miniconda3/envs/temp/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/nq/vp3dgt812jgb0q09rh5l706c0000gn/T/tmpi69keqqq
cwd: /private/var/folders/nq/vp3dgt812jgb0q09rh5l706c0000gn/T/pip-install-yloh0brm/nbautoexport
Complete output (24 lines):
Traceback (most recent call last):
File "/Users/jqi/miniconda3/envs/temp/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/Users/jqi/miniconda3/envs/temp/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/jqi/miniconda3/envs/temp/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/nq/vp3dgt812jgb0q09rh5l706c0000gn/T/pip-build-env-qv2a9o6t/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 147, in get_requires_for_build_wheel
config_settings, requirements=['wheel'])
File "/private/var/folders/nq/vp3dgt812jgb0q09rh5l706c0000gn/T/pip-build-env-qv2a9o6t/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
self.run_setup()
File "/private/var/folders/nq/vp3dgt812jgb0q09rh5l706c0000gn/T/pip-build-env-qv2a9o6t/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 249, in run_setup
self).run_setup(setup_script=setup_script)
File "/private/var/folders/nq/vp3dgt812jgb0q09rh5l706c0000gn/T/pip-build-env-qv2a9o6t/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 27, in <module>
requirements = load_requirements(Path(__file__).parent / "requirements.txt")
File "setup.py", line 13, in load_requirements
with path.open("r") as fp:
File "/Users/jqi/miniconda3/envs/temp/lib/python3.7/pathlib.py", line 1203, in open
opener=self._opener)
File "/Users/jqi/miniconda3/envs/temp/lib/python3.7/pathlib.py", line 1058, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/jqi/miniconda3/envs/temp/bin/python3.7 /Users/jqi/miniconda3/envs/temp/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/nq/vp3dgt812jgb0q09rh5l706c0000gn/T/tmpi69keqqq Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
* Add requirements.txt to MANIFEST.in (fixes#50)
* Document fix in HISTORY.md
* Add CI step to test installing built distributions
* Clarify unreleased changes in HISTORY.md
Description
When running a source install from PyPI, the installation will error with
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
. This is because we forgot to includerequirements.txt
inMANIFEST.in
.This is not a problem for binary installs (using wheels).
This blocks #51.
What I Did
The text was updated successfully, but these errors were encountered: