Python 3.5 transition

Didier Roche didrocks at ubuntu.com
Fri Jul 24 10:11:10 UTC 2015


Le 24/07/2015 11:41, Didier Roche a écrit :
> Le 23/07/2015 18:48, Steve Langasek a écrit :
>
>> It may be worth noting that ubuntu-make also failed to build in the 
>> ppa, for
>> reasons unrelated to python-gi:
>>
>> https://launchpad.net/~pythoneers/+archive/ubuntu/py35asdefault/+build/7559276
> Looking at that one, seems like python3-mock module is breaking its 
> API by removing in 3.5 assert_any_calls :/
> I'll fix this on my side for next release beside being an non backward 
> compatible change from python.
>

And here we go: https://launchpad.net/ubuntu/+source/ubuntu-make/0.9.1. 
You can try a rebuild in the ppa if you want to confirm that the test is 
now passing. I'll look at the other warning next week when I have a chance.
(Actually, I'm now unsure the assert_any_calls just didn't silently 
check anything (as the mock added the Attribute on the fly), so anyway, 
better to use assert_has_calls as it's well documented).

Cheers,
Didier



More information about the ubuntu-devel mailing list