Here's a patch that actually works. On 14 July 2017 at 16:22, Michael Hudson-Doyle <michael.hud...@canonical.com > wrote:
> > > On 13 July 2017 at 13:46, Sergio Durigan Junior <sergi...@sergiodj.net> > wrote: > >> On Wednesday, July 12 2017, Michael Hudson-Doyle wrote: >> >> > Hi, >> > >> > trollius does not build with Python 3.6 as a supported version and is >> > deprecated upstream. The sensible way forward seems to be to stop >> building >> > python3-trollius and the only non-trivial dependency on that >> > is python3-trollius-redis. I think it makes sense to stop >> > building python3-trollius-redis too, on the assumption that as and when >> > pagure moves to Python 3, it will move to asyncio-redis as part of that. >> > >> > Cheers, >> > mwh >> >> Thanks for the bug report. I'll take care of this ASAP. > > > I just noticed that my patch neglected to remove the python3 > build-dependencies... > > Cheers, > mwh > >
diff --git a/debian/changelog b/debian/changelog index 84321db..42e2c5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +trollius-redis (0.1.4-2) artful; urgency=medium + + * Stop building python3-trollius-redis as trollius does not work with Python + 3.6. + + -- Michael Hudson-Doyle <michael.hud...@ubuntu.com> Thu, 13 Jul 2017 11:46:34 +1200 + trollius-redis (0.1.4-1) unstable; urgency=medium * Initial release of trollius-redis-0.1.4. (Closes: #833475) diff --git a/debian/control b/debian/control index 43fd195..ca40d13 100644 --- a/debian/control +++ b/debian/control @@ -10,14 +10,9 @@ Build-Depends: python-setuptools, python-trollius, python-six, - python3-all, - python3-setuptools, - python3-trollius, - python3-six, Standards-Version: 3.9.8 Homepage: https://github.com/benjolitz/trollius-redis/ X-Python-Version: >= 2.7 -X-Python3-Version: >= 3.3 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/trollius-redis.git Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/trollius-redis.git Testsuite: autopkgtest-pkg-python @@ -43,25 +38,3 @@ Description: Redis client for Python Trollius (Python 2) * Pubsub support . This package installs the library for Python 2. - -Package: python3-trollius-redis -Architecture: all -Depends: ${misc:Depends}, ${python3:Depends} -Description: Redis client for Python Trollius (Python 3) - Completely asynchronous, non-blocking client for a Redis server. It - depends on trollius (asyncio compatible for PEP 3156). It supports - Python 2 and 3 Trollius-using developers. - . - Features - . - * Works for the trollius asyncio-compatible (PEP3156) event loop - * No dependencies except trollius - * Connection pooling - * Automatic conversion from unicode (Python) to bytes (inside Redis.) - * Bytes and str protocols. - * Completely tested - * Blocking calls and transactions supported - * Streaming of some multi bulk replies - * Pubsub support - . - This package installs the library for Python 3. diff --git a/debian/rules b/debian/rules index d134938..8e60412 100755 --- a/debian/rules +++ b/debian/rules @@ -3,4 +3,4 @@ export PYBUILD_NAME = trollius-redis %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python2 --buildsystem=pybuild