Skip to content

freeze (accidentally) outputs "Created temporary directory" #6024

@Alexander-Shukaev

Description

@Alexander-Shukaev

Environment

  • pip version: 18.1
  • Python version: 3.7.1
  • OS: Linux

Description

The

Created temporary directory: /tmp/pip-ephem-wheel-cache-iuw65_l9

seems to not belong to the output of the following freeze command at all:

(.venv) python -m pip --verbose freeze 2> '/dev/null' | grep -v -e '^-e'  | LC_COLLATE='C' sort
Bottleneck==1.2.1
Created temporary directory: /tmp/pip-ephem-wheel-cache-iuw65_l9
PyQt5-sip==4.19.13
PyQt5==5.11.3
atomicwrites==1.2.1
attrs==18.2.0
blist==1.3.6
certifi==2018.8.24
chardet==3.0.4
cycler==0.10.0
docopt==0.6.2
idna==2.7
kiwisolver==1.0.1
matplotlib==2.2.3
more-itertools==4.3.0
mpl-finance==0.10.0
numpy==1.15.4
pipreqs==0.4.9
pluggy==0.7.1
py==1.6.0
pyparsing==2.2.0
pytest-runner==4.2
pytest-timeout==1.3.2
pytest==3.8.0
python-dateutil==2.7.5
pytz==2018.7
requests==2.19.1
scipy==1.1.0
setuptools-scm==3.1.0
six==1.11.0
urllib3==1.23
yarg==0.1.9
(.venv) python --version
Python 3.7.1
(.venv) pip --version
pip 18.1 from .venv/lib/python3.7/site-packages/pip (python 3.7)

It spoils output in a way that I now have to create an additional filter with e.g. grep because if saved as a requirements file, pip itself will not be able to consume it.

Expected behavior

Same as without --verbose:

(.venv) python -m pip freeze 2> '/dev/null' | grep -v -e '^-e'  | LC_COLLATE='C' sort
Bottleneck==1.2.1
PyQt5-sip==4.19.13
PyQt5==5.11.3
atomicwrites==1.2.1
attrs==18.2.0
blist==1.3.6
certifi==2018.8.24
chardet==3.0.4
cycler==0.10.0
docopt==0.6.2
idna==2.7
kiwisolver==1.0.1
matplotlib==2.2.3
more-itertools==4.3.0
mpl-finance==0.10.0
numpy==1.15.4
pipreqs==0.4.9
pluggy==0.7.1
py==1.6.0
pyparsing==2.2.0
pytest-runner==4.2
pytest-timeout==1.3.2
pytest==3.8.0
python-dateutil==2.7.5
pytz==2018.7
requests==2.19.1
scipy==1.1.0
setuptools-scm==3.1.0
six==1.11.0
urllib3==1.23
yarg==0.1.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: freeze'pip freeze' relatedC: loggingInformation Loggingauto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions