Hello, Attached is a patch against subversion to add python3 support and the latest upstream release (now 0.3.21).
Some optional dependencies not yet available in Python3 packages, so I commented them out: # python3-beanstalkc, python3-boto, python3-couchdb (>= 0.8) # python3-pika, python-librabbitmq (>= 0.5.2) python3 comes with unittest built in, so there is no python3-unittest. The packaging for this seems to work fine, however the upstream code fails the tests for Python3.4 AttributeError: 'ContextSuite' object has no attribute '_removed_tests' Curiously this happens inside unittest code. Attached is the full stack trace. -- Brian May <[email protected]>
Index: debian/control =================================================================== --- debian/control (revision 30098) +++ debian/control (working copy) @@ -4,27 +4,21 @@ Maintainer: Debian Python Modules Team <[email protected]> Uploaders: Michael Fladischer <[email protected]>, Brian May <[email protected]> -Build-Depends: debhelper (>= 8.1.0~), - python-all, - python-amqp, - python-anyjson (>= 0.3.3), - python-beanstalkc, - python-boto, - python-couchdb (>= 0.8), - python-django, - python-librabbitmq (>= 1.5.2), - python-mock, - python-msgpack, - python-nose, - python-pika, - python-pymongo (>= 2.6.2), - python-redis, - python-setuptools, - python-simplejson, - python-sphinx (>= 1.0.7+dfsg), - python-sqlalchemy, - python-unittest2, - python-yaml +Build-Depends: debhelper (>= 8.1.0~), dh-python, + python-all, python-amqp, python-anyjson (>= 0.3.3), + python-django, python-yaml, + python-mock, python-msgpack, python-nose, + python-pymongo (>= 2.6.2), python-redis, python-setuptools, + python-simplejson, python-sphinx (>= 1.0.7+dfsg), python-sqlalchemy, + python-beanstalkc, python-boto, python-couchdb (>= 0.8), + python-pika, python-librabbitmq (>= 0.5.2), python-unittest2, + python3-all, python3-amqp, python3-anyjson (>= 0.3.3), + python3-django, python3-yaml, + python3-mock, python3-msgpack, python3-nose, + python3-pymongo (>= 2.6.2), python3-redis, python3-setuptools, + python3-simplejson, python3-sphinx (>= 1.0.7+dfsg), python3-sqlalchemy, +# python3-beanstalkc, python3-boto, python3-couchdb (>= 0.8), +# python3-pika, python-librabbitmq (>= 0.5.2) Build-Conflicts: python-cjson X-Python-Version: >= 2.6 XS-Testsuite: autopkgtest @@ -64,6 +58,35 @@ * The ability to ensure that an operation is performed by gracefully handling connection and channel errors. +Package: python3-kombu +Architecture: all +Depends: python3-amqp, + python3-anyjson (>= 0.3.3), + ${misc:Depends}, + ${python3:Depends} +Recommends: python3-yaml +Suggests: python3-beanstalkc, + python3-boto, + python3-couchdb (>= 0.8), + python3-django, + python-kombu-doc, + python3-pika, + python3-pymongo (>= 2.6.2), + python3-redis, + python3-sqlalchemy +Description: AMQP Messaging Framework for Python + The aim of Kombu is to make messaging in Python as easy as possible by + providing an idiomatic high-level interface for the AMQP protocol. It is meant + to replace the carrot library by providing a compatibility layer. + . + Features: + * Allows application authors to support several message server solutions by + using pluggable transports. + * Supports automatic encoding, serialization and compression of message + payloads. + * The ability to ensure that an operation is performed by gracefully handling + connection and channel errors. + Package: python-kombu-doc Section: doc Architecture: all Index: debian/changelog =================================================================== --- debian/changelog (revision 30098) +++ debian/changelog (working copy) @@ -1,3 +1,9 @@ +kombu (3.0.21-1) UNRELEASED; urgency=low + + * NOT RELEASED YET + + -- Brian May <[email protected]> Tue, 22 Jul 2014 15:39:54 +1000 + kombu (3.0.19-3) unstable; urgency=low * Add python-librabbitmq (>= 1.5.2) to Recommends as a optional faster Index: debian/rules =================================================================== --- debian/rules (revision 30098) +++ debian/rules (working copy) @@ -1,7 +1,9 @@ #!/usr/bin/make -f +export PYBUILD_NAME=kombu + %: - dh $@ --with python2,sphinxdoc + dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html @@ -13,6 +15,10 @@ for python in $(shell pyversions -r); do \ $$python setup.py test ; \ done + set -e; \ + for python in $(shell py3versions -r); do \ + $$python setup.py test ; \ + done endif override_dh_compress: Index: debian/python-kombu.install =================================================================== --- debian/python-kombu.install (revision 30098) +++ debian/python-kombu.install (working copy) @@ -1 +0,0 @@ -usr/ Index: debian/python3-kombu.docs =================================================================== --- debian/python3-kombu.docs (revision 0) +++ debian/python3-kombu.docs (revision 0) @@ -0,0 +1,2 @@ +README.rst +FAQ
kombu.errors
Description: Binary data
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

