Your message dated Tue, 31 Mar 2020 23:49:23 -0400
with message-id <2864175.MOQp0u8Arz@sk-desktop>
and subject line Re: python-pip-whl: virtualenvs created with python3 -m venv 
do not contain wheel
has caused the Debian Bug report #917006,
regarding python-pip-whl: virtualenvs created with python3 -m venv do not 
contain wheel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
917006: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917006
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pip-whl
Version: 9.0.1-2.3
Severity: normal


Steps to reproduce:

$ python3 -m venv foo
$ ./foo/bin/python -c 'import wheel'
ModuleNotFoundError: No module named 'wheel'

This then causes an error when foo/bin/pip tries to install packages for which
no remote wheel was found.

running setup.py bdist_wheel for tabulate ... error
  ...
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for tabulate
  Running setup.py clean for tabulate

Note that the package still gets installed, but nevertheless it would be nice
to not have this error.


Workaround is to install `wheel` by hand:

$ ./foo/bin/pip install wheel

Notes:
* This does not happen with virtualenvs created with `python3 -m virtualenv`
* This regression was caused by an upgrade of python-pip-whl from 9.0.1-2 to 
18.1-2


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-pip-whl depends on:
ii  ca-certificates  20170717

python-pip-whl recommends no packages.

python-pip-whl suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, 21 Dec 2018 13:23:03 +0100 Dimitri Merejkowsky <[email protected]> 
wrote:
> Package: python-pip-whl
> Version: 9.0.1-2.3
> Severity: normal
> 
> 
> Steps to reproduce:
> 
> $ python3 -m venv foo
> $ ./foo/bin/python -c 'import wheel'
> ModuleNotFoundError: No module named 'wheel'
> 
> This then causes an error when foo/bin/pip tries to install packages for 
which
> no remote wheel was found.
> 
> running setup.py bdist_wheel for tabulate ... error
>   ...
>   usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>      or: -c --help [cmd1 cmd2 ...]
>      or: -c --help-commands
>      or: -c cmd --help
> 
>   error: invalid command 'bdist_wheel'
> 
>   ----------------------------------------
>   Failed building wheel for tabulate
>   Running setup.py clean for tabulate
> 
> Note that the package still gets installed, but nevertheless it would be 
nice
> to not have this error.
> 
> 
> Workaround is to install `wheel` by hand:
> 
> $ ./foo/bin/pip install wheel
> 
> Notes:
> * This does not happen with virtualenvs created with `python3 -m virtualenv`
> * This regression was caused by an upgrade of python-pip-whl from 9.0.1-2 to 
18.1-2

I checked with upstream and the fact that virtualenv has wheel installed by 
default and venv doesn't is by design.  venv is meant to be much more light 
weight.

I'm going to close the bug because it turns out there's nothing Debian specific 
here to address.

Scott K

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to