➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ncoghlan
收信人 dstufft, loewis, ncoghlan, ned.deily, python-dev
日期 2013-11-30.07:22:54
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1385796175.33.0.948571152368.issue19728@psf.upfronthosting.co.za>
In-reply-to
内容
Running this command in the installer should now clean up pip and setuptools:

    python -m ensurepip._uninstall

If pip is not installed, it silently does nothing.

If pip is installed, but doesn't match ensurepip.version(), it throws RuntimeError.

If pip is installed and is the expected version, it removes both pip and setuptools (there's no separate version check before removing setuptools)

The tests in test_ensurepip are mocked out (to avoid any side effects on the test process), but test_venv now covers both installation and uninstallation (since it invokes a subprocess, thus avoiding the side effect problem).
历史
日期 用户 动作 参数
2013-11-30 07:22:55ncoghlan修改recipients: + ncoghlan, loewis, ned.deily, python-dev, dstufft
2013-11-30 07:22:55ncoghlan修改messageid: <1385796175.33.0.948571152368.issue19728@psf.upfronthosting.co.za>
2013-11-30 07:22:55ncoghlan链接issue19728 messages
2013-11-30 07:22:54ncoghlan创建