[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-15 Thread Barry Warsaw
BTW, reverting/working around the change was rejected for 2.7.2 so upstream will need to adjust. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-15 Thread Barry Warsaw
BTW, reverting/working around the change was rejected for 2.7.2 so upstream will need to adjust. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-11 Thread Bug Watch Updater
** Changed in: python Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 To manage notifications

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-11 Thread Bug Watch Updater
** Changed in: python Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 To manage notifications about this bug

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package python-mox - 0.5.3-1ubuntu2 --- python-mox (0.5.3-1ubuntu2) oneiric; urgency=low * python-2.7.2-compat.patch: Python 2.7.2 calls __dir__ for old-style classes. Make sure a MockAnything returns a list of some sort instead of a MockMethod

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/python-mox -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- Ubuntu-server-bugs mailing list

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Thierry Carrez
Anything left to do on Nova upstream or ubuntu/nova packaging ? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 --

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Chuck Short
Thierry: No -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- Ubuntu-server-bugs mailing list

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Thierry Carrez
** Changed in: nova Status: New = Invalid ** Changed in: nova (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package python-mox - 0.5.3-1ubuntu2 --- python-mox (0.5.3-1ubuntu2) oneiric; urgency=low * python-2.7.2-compat.patch: Python 2.7.2 calls __dir__ for old-style classes. Make sure a MockAnything returns a list of some sort instead of a MockMethod

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/python-mox -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- ubuntu-bugs mailing list

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Thierry Carrez
Anything left to do on Nova upstream or ubuntu/nova packaging ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- ubuntu-bugs mailing

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Chuck Short
Thierry: No -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-06 Thread Thierry Carrez
** Changed in: nova Status: New = Invalid ** Changed in: nova (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-03 Thread Benjamin Peterson
This is what you actually get on 2.7.1: $ python Python 2.7.1 (r271:86832, Mar 24 2011, 22:44:47) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. class Foo: ... def __dir__(self): ... return ['a', 'b', 'c'] ... class Bar: ... def

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-03 Thread Bug Watch Updater
** Changed in: python Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- Ubuntu-server-bugs

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-03 Thread Benjamin Peterson
This is what you actually get on 2.7.1: $ python Python 2.7.1 (r271:86832, Mar 24 2011, 22:44:47) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. class Foo: ... def __dir__(self): ... return ['a', 'b', 'c'] ... class Bar: ... def

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-03 Thread Bug Watch Updater
** Changed in: python Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- ubuntu-bugs mailing list

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Soren Hansen
** Summary changed: - Test suite fails with python 2.7.2rc1 + Nova's test suite fails with python 2.7.2rc1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Soren Hansen
** Changed in: nova (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 --

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Barry Warsaw
It's almost certainly related to this entry in Misc/NEWS: - Correct lookup of __dir__ on objects. Among other things, this causes errors besides AttributeError found on lookup to be propagated. and this log entry: changeset: 70312:b2fc6b9f850f branch: 2.7 parent:

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Soren Hansen
This reproduces the problem: === mymodule.py === class MyClass(object): pass === reproduce.py === import mox import mymodule class Test(object): def __init__(self): self.mox = mox.Mox() self.mox.StubOutWithMock(mymodule, 'MyClass', use_mock_anything=True)

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Barry Warsaw
I think this one is even simpler to illustrate the change: class Foo: def __dir__(self): return ['a', 'b', 'c'] class Bar: def __dir__(self): return ('a', 'b', 'c') print dir(Foo()) print dir(Bar()) AFAICT, in Python 2.7.1 you get two lines of ['a', 'b', 'c'] while in

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Barry Warsaw
http://bugs.python.org/issue12248 ** Bug watch added: Python Roundup #12248 http://bugs.python.org/issue12248 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Daniel Holbach
** Also affects: python via http://bugs.python.org/issue12248 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Soren Hansen
** Summary changed: - Test suite fails with python 2.7.2rc1 + Nova's test suite fails with python 2.7.2rc1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Soren Hansen
** Changed in: nova (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- ubuntu-bugs mailing list

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Barry Warsaw
It's almost certainly related to this entry in Misc/NEWS: - Correct lookup of __dir__ on objects. Among other things, this causes errors besides AttributeError found on lookup to be propagated. and this log entry: changeset: 70312:b2fc6b9f850f branch: 2.7 parent:

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Soren Hansen
This reproduces the problem: === mymodule.py === class MyClass(object): pass === reproduce.py === import mox import mymodule class Test(object): def __init__(self): self.mox = mox.Mox() self.mox.StubOutWithMock(mymodule, 'MyClass', use_mock_anything=True)

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Barry Warsaw
I think this one is even simpler to illustrate the change: class Foo: def __dir__(self): return ['a', 'b', 'c'] class Bar: def __dir__(self): return ('a', 'b', 'c') print dir(Foo()) print dir(Bar()) AFAICT, in Python 2.7.1 you get two lines of ['a', 'b', 'c'] while in

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Barry Warsaw
http://bugs.python.org/issue12248 ** Bug watch added: Python Roundup #12248 http://bugs.python.org/issue12248 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite

[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1

2011-06-02 Thread Daniel Holbach
** Also affects: python via http://bugs.python.org/issue12248 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails