[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823478: RFS: python3-protobuf3/0.2.1-2 [ITP]



control: tag -1 moreinfo
control: owner -1 !
control: block 823321 by -1

On Thu, May 05, 2016 at 02:09:23PM +1000, Jonathon Love wrote:
> I am looking for a sponsor for my package "python3-protobuf3"

o/

>     dget -x https://mentors.debian.net/debian/pool/main/p/python3-protobuf3/python3-protobuf3_0.2.1-2.dsc

Umh.  This has a repository in DPMT, but you are the maintainer.
That's something too wrong, please clarify or fix.

Also, as this is in DPMT, by team policy I'll just ignore mentors.d.n
and stuff there and only use the git repo.

* d/control:
  + Std-Ver is 3.9.8 nowadays, please check against that.
  + The description is really too short, please try to write a bit more
* d/copyright:
  + please wrap the copyright text at ~70 chars, you can find a lot of
    examples around in the archive, including one in the very package
    you're packaging.
* d/rules:
  + shouldn't PYBUILD_NAME be 'protobuf3' ?


Also, it fails to build:


test_get_wire_values (tests.test_message.TestMessage) ... ok
test_parse_from_bytes (tests.test_message.TestMessage) ... ok
test_remove_field_value (tests.test_message.TestMessage) ... ok
test_repr (tests.test_message.TestMessage) ... ok
test_set_wire_values (tests.test_message.TestMessage) ... ok

======================================================================
ERROR: tests.test_compiler (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_compiler
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/build/python3-protobuf3-0.2.1/.pybuild/pythonX.Y_3.5/build/tests/test_compiler.py", line 14, in <module>
    class TestCompiler(TestCase):
  File "/build/python3-protobuf3-0.2.1/.pybuild/pythonX.Y_3.5/build/tests/test_compiler.py", line 198, in TestCompiler
    @skipIf(protoc_version < StrictVersion("2.5.0"), "allow_alias requires protoc >= 2.5.0")
  File "/usr/lib/python3.5/distutils/version.py", line 52, in __lt__
    c = self._cmp(other)
  File "/usr/lib/python3.5/distutils/version.py", line 170, in _cmp
    if self.version != other.version:
AttributeError: 'StrictVersion' object has no attribute 'version'


----------------------------------------------------------------------
Ran 128 tests in 0.020s

FAILED (errors=1)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /build/python3-protobuf3-0.2.1/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
dh_auto_test: pybuild --test -i python{version} -p 3.5 --dir . returned exit code 13
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: