[PKG-Openstack-devel] Bug#751990: Bug#751990: python-nose-exclude: Add Python 3 support

Thomas Goirand zigo at debian.org
Wed Jun 18 16:05:33 UTC 2014


On 06/18/2014 10:45 PM, Barry Warsaw wrote:
> Package: python-nose-exclude
> Severity: normal
> 
> Dear Maintainer,
> 
> Upstream nose-exclude supports Python 3, but the Debian packaging does
> not yet include a python3-nose-exclude package.  I have a working
> update to the package in my personal git repo.  See
> 
> http://anonscm.debian.org/gitweb/?p=users/barry/python-nose-exclude.git;a=shortlog;h=refs/heads/py3
> 
> Cheers

Hi Barry,

Thanks a lot for this work, this is very much appreciated.

Unfortunately, I need to maintain a backport of nose-exclude in Wheezy,
and your patch is breaking it (log from the build on my (unclean) laptop):

  File
"/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/python-nose-exclude/build-area/python-nose-exclude-0.2.0/tests.py",
line 129, in <module>
    class TestNoseExcludeTest(PluginTester, unittest.TestCase):
  File
"/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/python-nose-exclude/build-area/python-nose-exclude-0.2.0/tests.py",
line 136, in TestNoseExcludeTest
    @unittest.skipIf(IS_PY3, 'issue 10')
AttributeError: 'module' object has no attribute 'skipIf'

Would you be able to provide a patch which would work as well in Wheezy?
If not, then maybe we could use six to do the "if python3"?

Your thoughts?

Cheers,

Thomas



More information about the Openstack-devel mailing list