Package: python3-virtualenv
Version: 20.4.0+ds-1

Hello,

Installing a PEP-517-compliant package within a Python2 virtualenv
fails on bullseye.

On buster, it works.
With Python3, it works.

I'm not sure whether this bug comes from python3-virtualenv or python or
something else...  Assigning to python3-virtualenv for starting the
investigation.

The error message is:

  Processing /tmp/test
    Installing build dependencies ... done
    Getting requirements to build wheel ... error
    ERROR: Command errored out with exit status 1:
     command: /tmp/tmp.OUKYNjB68J/bin/python 
/usr/share/python-wheels/pep517-0.9.1-py2.py3-none-any.whl/pep517/_in_process.py
 get_requires_for_build_wheel /tmp/tmpctQDX6
         cwd: /tmp/pip-req-build-mhIcBE
    Complete output (1 lines):
    /tmp/tmp.OUKYNjB68J/bin/python: can't find '__main__' module in 
'/usr/share/python-wheels/pep517-0.9.1-py2.py3-none-any.whl/pep517/_in_process.py'
    ----------------------------------------
  ERROR: Command errored out with exit status 1: /tmp/tmp.OUKYNjB68J/bin/python 
/usr/share/python-wheels/pep517-0.9.1-py2.py3-none-any.whl/pep517/_in_process.py
 get_requires_for_build_wheel /tmp/tmpctQDX6 Check the logs for full command 
output.

See the attached tarball for reproducing the issue.

Attachment: test.tar.gz
Description: Tarball to reproduce the issue

-- 
Fabrice Bauzac-Stehly
PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6
old PGP 015AE9B25DCB0511D200A75DE5674DEA514C891D

Reply via email to