[Python-modules-team] Bug#954256: Bug

Scott Kitterman debian at kitterman.com
Fri Mar 27 04:03:15 GMT 2020


On Thu, 19 Mar 2020 12:20:05 +0000 Scott Kitterman <debian at kitterman.com> 
wrote:
> Thanks.  The virtualenv package needs updating following the recent pip 
update.  I'm working on it.

I can still replicate this with the new virtualenv.  Here's the verbose 
version for posterity:

  Installing collected packages: setuptools, wheel
    Created temporary directory: /tmp/pip-unpacked-wheel-w3e1u2qx

    Creating /tmp/pip-build-env-htd82usc/overlay/bin
    changing mode of /tmp/pip-build-env-htd82usc/overlay/bin/easy_install to 
755
    changing mode of /tmp/pip-build-env-htd82usc/overlay/bin/easy_install-3.8 
to 755
    Created temporary directory: /tmp/pip-unpacked-wheel-_pm79f2o

    changing mode of /tmp/pip-build-env-htd82usc/overlay/bin/wheel to 755
  Successfully installed setuptools-46.1.3 wheel-0.34.2
  Cleaning up...
  Removed build tracker: '/tmp/pip-req-tracker-e53aaqlu'
  Installing build dependencies ... done
  Running command /tmp/venv/bin/python3 /tmp/venv/share/python-wheels/
pep517-0.7.0-py2.py3-none-any.whl/pep517/_in_process.py 
get_requires_for_build_wheel /tmp/tmpqmbnti16
  /tmp/venv/bin/python3: can't find '__main__' module in '/tmp/venv/share/
python-wheels/pep517-0.7.0-py2.py3-none-any.whl/pep517/_in_process.py'
  Getting requirements to build wheel ... error
Cleaning up...
Removed file:///home/pypa from build tracker '/tmp/pip-req-tracker-e53aaqlu'
Removed build tracker: '/tmp/pip-req-tracker-e53aaqlu'
ERROR: Command errored out with exit status 1: /tmp/venv/bin/python3 /tmp/
venv/share/python-wheels/pep517-0.7.0-py2.py3-none-any.whl/pep517/
_in_process.py get_requires_for_build_wheel /tmp/tmpqmbnti16 Check the logs 
for full command output.
Exception information:
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/cli/
base_command.py", line 186, in _main
    status = self.run(options, args)
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/commands/
install.py", line 357, in run
    resolver.resolve(requirement_set)
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/
legacy_resolve.py", line 177, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/
legacy_resolve.py", line 333, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/
legacy_resolve.py", line 265, in _get_abstract_dist_for
    return self.preparer.prepare_editable_requirement(req)
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/operations/
prepare.py", line 554, in prepare_editable_requirement
    abstract_dist = _get_prepared_distribution(
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/operations/
prepare.py", line 95, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(finder, build_isolation)
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/distributions/
sdist.py", line 38, in prepare_distribution_metadata
    self._setup_isolation(finder)
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/distributions/
sdist.py", line 96, in _setup_isolation
    reqs = backend.get_requires_for_build_wheel()
  File "/tmp/venv/share/python-wheels/pep517-0.7.0-py2.py3-none-any.whl/
pep517/wrappers.py", line 151, in get_requires_for_build_wheel
    return self._call_hook('get_requires_for_build_wheel', {
  File "/tmp/venv/share/python-wheels/pep517-0.7.0-py2.py3-none-any.whl/
pep517/wrappers.py", line 245, in _call_hook
    self._subprocess_runner(
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/utils/
subprocess.py", line 271, in runner
    call_subprocess(
  File "/tmp/venv/lib/python3.8/site-packages/pip/_internal/utils/
subprocess.py", line 242, in call_subprocess
    raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit 
status 1: /tmp/venv/bin/python3 /tmp/venv/share/python-wheels/pep517-0.7.0-
py2.py3-none-any.whl/pep517/_in_process.py get_requires_for_build_wheel /tmp/
tmpqmbnti16 Check the logs for full command output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200327/5c5ac275/attachment.sig>


More information about the Python-modules-team mailing list