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
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
** 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
** 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
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
** 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
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
--
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
** 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
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
** 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
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
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
** 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
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
** 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
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
** 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
** 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
** 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
--
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:
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)
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
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
** 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
** 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
** 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
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:
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)
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
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
** 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
32 matches
Mail list logo