[issue14444] Virtualenv not portable from Python 2.7.2 to 2.7.3 (os.urandom missing)
Jason R. Coombs
report at bugs.python.org
Thu Mar 29 18:41:32 CEST 2012
New submission from Jason R. Coombs <jaraco at jaraco.com>:
Summary of this thread: http://mail.python.org/pipermail/python-dev/2012-March/118233.html
When upgrading a host from Python 2.6.7 to 2.6.8 or from 2.7.2 to 2.7.3, virtualenvs will no longer work if they attempt to use os.urandom. I have not yet investigated whether this affects Python 3.1 or 3.2.
On a related note, it appears that downgrading (taking a virtualenv created on Python 2.7.3 and deploying it to a host with 2.7.2) results in a similar error where _socket cannot be imported.
Based on the discussion, I've drafted some release notes (and Carl has edited them) to be included with the appropriate releases to help inform those this issue might impact.
I humbly request that these notes be included in the releases.
nosy: barry, benjamin.peterson, carljm, georg.brandl, jason.coombs
priority: release blocker
title: Virtualenv not portable from Python 2.7.2 to 2.7.3 (os.urandom missing)
versions: Python 2.6, Python 2.7, Python 3.2, Python 3.3
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list