bsdci / libioc

A Python library to manage jails with ioc{age,ell}
https://bsd.ci/libioc
Other
38 stars 11 forks source link

Missing files in sdist #759

Open thatch opened 4 years ago

thatch commented 4 years ago

It appears that the manifest is missing at least one file necessary to build from the sdist for version 0.8.2. You're in good company, about 5% of other projects updated in the last year are also missing files.

+ /tmp/venv/bin/pip3 wheel --no-binary ioc-cli -w /tmp/ext ioc-cli==0.8.2
Looking in indexes: http://10.10.0.139:9191/root/pypi/+simple/
Collecting ioc-cli==0.8.2
  Downloading http://10.10.0.139:9191/root/pypi/%2Bf/89c/9ded33f066abd/ioc_cli-0.8.2.tar.gz (22 kB)
    ERROR: Command errored out with exit status 1:
     command: /tmp/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ktvm8pqq/ioc-cli/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ktvm8pqq/ioc-cli/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-wheel-ktvm8pqq/ioc-cli/pip-egg-info
         cwd: /tmp/pip-wheel-ktvm8pqq/ioc-cli/
    Complete output (24 lines):
    Traceback (most recent call last):
      File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 537, in get_file_content
        with open(url, 'rb') as f:
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-wheel-ktvm8pqq/ioc-cli/setup.py", line 49, in <module>
        cli_requirements = _read_requirements("requirements.txt")
      File "/tmp/pip-wheel-ktvm8pqq/ioc-cli/setup.py", line 39, in _read_requirements
        reqs = list(parse_requirements(filename, session="ioc_cli"))
      File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 137, in parse_requirements
        for parsed_line in parser.parse(filename, constraint):
      File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 282, in parse
        for line in self._parse_and_recurse(filename, constraint):
      File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 287, in _parse_and_recurse
        for line in self._parse_file(filename, constraint):
      File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 321, in _parse_file
        _, content = get_file_content(
      File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 540, in get_file_content
        raise InstallationError(
    pip._internal.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.