Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build currently broken due to pip / conda issue. #232

Open
mithro opened this issue Oct 2, 2021 · 0 comments
Open

Build currently broken due to pip / conda issue. #232

mithro opened this issue Oct 2, 2021 · 0 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@mithro
Copy link
Member

mithro commented Oct 2, 2021

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Installing pip dependencies: ...working... Pip subprocess error:
ERROR: Exception:
Traceback (most recent call last):
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
    status = self.run(options, args)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
    return func(self, options, args)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 286, in run
    reqs = self.get_requirements(args, options, finder, session)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 384, in get_requirements
    for parsed_req in parse_requirements(
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 135, in parse_requirements
    for parsed_line in parser.parse(filename, constraint):
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 319, in parse
    yield from self._parse_and_recurse(filename, constraint)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 348, in _parse_and_recurse
    yield from self._parse_and_recurse(req_path, nested_constraint)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 324, in _parse_and_recurse
    for line in self._parse_file(filename, constraint):
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 353, in _parse_file
    _, content = get_file_content(filename, self._session)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/req/req_file.py", line 518, in get_file_content
    resp = session.get(url)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_vendor/requests/sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_internal/network/session.py", line 454, in request
    return super().request(method, url, *args, **kwargs)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_vendor/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_vendor/requests/sessions.py", line 697, in send
    r.content
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_vendor/requests/models.py", line 836, in content
    self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
  File "/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/lib/python3.8/site-packages/pip/_vendor/requests/models.py", line 769, in generate
    chunk = self.raw.read(chunk_size)
AttributeError: 'FileNotFoundError' object has no attribute 'read'

Ran pip subprocess with arguments:
['/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/bin/python', '-m', 'pip', 'install', '-U', '-r', '/tmpfs/src/github/ibex-yosys-build/condaenv.o2j6_bfy.requirements.txt']
Pip subprocess output:

failed

CondaEnvException: Pip failed

third_party/make-env/conda.mk:145: recipe for target '/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/bin/python' failed
make: *** [/tmpfs/src/github/ibex-yosys-build/env/conda/envs/xc7/bin/python] Error 1
@issuelabeler issuelabeler bot added the dependencies Pull requests that update a dependency file label Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant