<div>Package: python-pip-whl<br></div><div>Version: 9.0.1-2<br></div><div>Severity: normal<br></div><div><br></div><div>Dear Maintainer,<br></div><div><br></div><div>When I run pip freez in a new venv, I'm getting "pkg-resources==0.0.0".<br></div><div><br></div><div>Here's how I reproduce it:<br></div><div>$ python3 --version<br></div><div>Python 3.5.3<br></div><div>$ python3 -m venv /tmp/pip-freeze<br></div><div>$ . /tmp/pip-freeze/bin/activate<br></div><div>(pip-freeze) $ python3 -m pip --version<br></div><div>pip 9.0.1 from /tmp/pip-freeze/lib/python3.5/site-packages (python 3.5)<br></div><div>(pip-freeze) $ python3 -m pip freeze<br></div><div>pkg-resources==0.0.0<br></div><div><br></div><div>I found this bug already reported here: <a href="https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463">https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463</a> and I also opened an issue here: <a href="https://github.com/pypa/pip/issues/4668">https://github.com/pypa/pip/issues/4668</a>/.<br></div><div><br></div><div>I just expected a "pip freeze" to output nothing in a newly created venv.<br></div><div><br></div><div>It looks like pip freeze expect pkg_resource to be in setuptools, not<br></div><div>packaged separately. I searched a bit and can't find why it gets<br></div><div>separated from setuptools on Debian. I does *not* looks like a<br></div><div>"vendorized" version of something: it looks to lie in setuptools from<br></div><div>the beginning:<br></div><div><a href="https://github.com/pypa/setuptools/commit/ee8b1aa7f26f8c423c53b50bc743d8a725bbab5a">https://github.com/pypa/setuptools/commit/ee8b1aa7f26f8c423c53b50bc743d8a725bbab5a</a><br></div><div><br></div><div>-- System Information:<br></div><div>Debian Release: 9.1<br></div><div>  APT prefers stable<br></div><div>  APT policy: (500, 'stable'), (500, 'oldstable')<br></div><div>Architecture: amd64 (x86_64)<br></div><div>Foreign Architectures: i386<br></div><div><br></div><div>Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)<br></div><div>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)<br></div><div>Shell: /bin/sh linked to /bin/dash<br></div><div>Init: systemd (via /run/systemd/system)<br></div><div><br></div><div>Versions of packages python-pip-whl depends on:<br></div><div>ii  ca-certificates  20161130+nmu1<br></div><div><br></div><div>python-pip-whl recommends no packages.<br></div><div><br></div><div>python-pip-whl suggests no packages.<br></div><div><br></div><div>-- no debconf information<br></div><div><br></div><div class="protonmail_signature_block "><div class="protonmail_signature_block-user "><div>-- <br></div><div>Julien Palard<br></div><div>https://mdk.fr<br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div>