pip freeze includes "pkg-resources==0.0.0"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
Medium
|
Unassigned | ||
python-pip (Debian) |
Fix Released
|
Unknown
|
|||
python-pip (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
First reported against pip at: https:/
According to https:/
"this is a bug caused by ubuntu - they should fix it, they lied about metadata"
Pip version:
8.1.2
Python version:
Python 2.7.12
Operating System:
Linux ubuntu 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:48:03 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Description:
pip freeze, run from a freshly created virtualenv, always includes
pkg-resources=
When not extracted from the output when written to requirements.txt, it causes build failures on deployment when creating virtualenvs from that requirements file.
What I've run:
$ pip freeze
ago==0.0.6
bcrypt==2.0.0
beautifulsoup4=
blinker==1.3
cffi==1.5.2
ecdsa==0.11
email==6.0.0a1
Flask==0.10.1
flatland==0.8
funcsigs==1.0.2
gunicorn==19.1.0
itsdangerous==0.24
Jinja2==2.8
MarkupSafe==0.23
mock==2.0.0
newrelic==2.4.0.4
nose2==0.6.5
pbr==1.10.0
pika==0.10.0
pkg-resources=
pycparser==2.14
PyMySQL==0.7.9
python-
pytz==2014.4
redis==2.10.5
requests==2.11.1
six==1.10.0
SQLAlchemy==1.1.2
textile==2.3.3
Werkzeug==0.11.8
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python-pip 8.1.1-2ubuntu0.2
ProcVersionSign
Uname: Linux 4.4.0-43-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Thu Oct 20 18:24:27 2016
InstallationDate: Installed on 2016-09-27 (23 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-pip
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in python-pip (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in hundredpapercuts: | |
status: | Confirmed → Invalid |
status: | Invalid → Confirmed |
Changed in python-pip (Debian): | |
status: | Unknown → New |
Changed in python-pip (Debian): | |
status: | New → Fix Committed |
Changed in python-pip (Debian): | |
status: | Fix Committed → Fix Released |
Changed in python-pip (Ubuntu): | |
assignee: | nobody → Tanushree Patil (tanushreepatil) |
More info / reports on StackOverflow:
https:/ /stackoverflow. com/questions/ 39577984/ what-is- pkg-resources- 0-0-0-in- output- of-pip- freeze- command
https:/ /stackoverflow. com/questions/ 38992194/ why-does- pip-freeze- list-pkg- resources- 0-0-0