I've fast tracked the revert - https://review.openstack.org/#/c/278814/
On Wed, Feb 10, 2016 at 9:38 PM, Robert Collins <robe...@robertcollins.net> wrote: > We've just had a mass gate breakage due to > https://review.openstack.org/#/c/268945/ go through, so I thought I'd > try to get ahead of anyone trying this again. > > unittest.mock in the stdlib is not static, it evolves over time. We're > currently writing to - and depending on - the unittest.mock version > approximately == that in python 3.5. Until we have that as our minimum > python version - no 2.7 - we can't just use 'unittest.mock'. > > 'mock', the original code that became unittest.mock, is still > maintained. Its a rolling backport of the features that land in > Python's stdlib, which lets us use newer features on older pythons. So > - until the hypothetical date where our minimum Python version is > newer than the oldest capability we need from unittest.mock, we're > going to be using 'mock', not 'unittest.mock'. > > -> noone should be importing 'unittest.mock', and 'mock' is the > dependency, not conditional on any given version of Python. > > I'm sorry I didn't spot 268945 going through, or I would have -2'd it :(. > > -Rob > > -- > Robert Collins <rbtcoll...@hpe.com> > Distinguished Technologist > HP Converged Cloud > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Davanum Srinivas :: https://twitter.com/dims __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev