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.

Author emilyemorehouse
Recipients GreenKey, emilyemorehouse, ncoghlan
Date 2017-06-13.04:30:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497328214.74.0.510588274181.issue30628@psf.upfronthosting.co.za>
In-reply-to
Content
You're certainly right. venv uses ensurepip to install pip when creating a virtual environment and does not access the internet/upgrade any packages. ensurepip was specifically designed to use the bundled version of setuptools. The bundled version of setuptools was up to date as of the final Python 3.6.0 beta, though it seems like it could be due for an upgrade.

For now, you can either run `pip install --upgrade setuptools` after activating your environment (recommended) or give your environment access to your local site packages that has the upgraded setuptools using `python3 -m venv foo --system-site-packages` (not recommended, as this will include ALL global packages you have installed). Alternatively, virtualenv (https://virtualenv.pypa.io/en/stable/) maintains an updated version of setuptools more frequently, though it must be installed as an additional package.

It should also be noted that wheel is not installed by venv and must also be installed after the environment creation if needed.
History
Date User Action Args
2017-06-13 04:30:14emilyemorehousesetrecipients: + emilyemorehouse, ncoghlan, GreenKey
2017-06-13 04:30:14emilyemorehousesetmessageid: <1497328214.74.0.510588274181.issue30628@psf.upfronthosting.co.za>
2017-06-13 04:30:14emilyemorehouselinkissue30628 messages
2017-06-13 04:30:14emilyemorehousecreate