Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13109

Update to python-pika 1.x and multiple API versions of one Python module

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder1.feed.usenet.farm!feed.usenet.farm!aioe.org!bofh.it!news.nic.it!robomod
From Sascha Steinbiss <satta@debian.org>
Newsgroups linux.debian.maint.python
Subject Update to python-pika 1.x and multiple API versions of one Python module
Date Mon, 18 Jan 2021 10:10:02 +0100
Message-ID <ByyHU-2KF-15@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jan 18 09:03:09 2021
Old-Return-Path <satta@debian.org>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -3.5
X-Greylist delayed 364 seconds by postgrey-1.36 at bendel; Mon, 18 Jan 2021 08:47:07 UTC
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Rspamd-Score -10.77 / 15.00 / 15.00
X-Rspamd-Queue-ID AA6C617E4
X-Rspamd-Uid d27ca0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18885
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/07a7cee9-3d1c-6d64-700b-33d55a734c86@debian.org
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 18 Jan 2021 09:40:27 +0100
X-Original-Message-ID <07a7cee9-3d1c-6d64-700b-33d55a734c86@debian.org>
Xref csiph.com linux.debian.maint.python:13109

Show key headers only | View raw


Dear Python team,

(Please CC, I'm not subscribed to the list)

I am writing with a question regarding the python-pika package.

Working to package Threat Bus [1] for Debian, I am working my way
through its many Python dependencies. While gathering what packages to
update to newer required versions and what packages to introduce as new,
I stumbled upon pika. Debian unstable has version 0.11 of python3-pika,
but pika 1.x has been out for a while, which came with an API break,
unfortunately. Threat Bus needs pika 1.x but as one can see from #900808
[2] there are still reverse dependencies that depend on the old version:

python-pika
Reverse Depends:
  python-pika-doc
  python-pika-doc
  python-pika-doc
  python-pika-pool
  python-pika-doc
  python-kombu
python3-pika
Reverse Depends:
  python3-pika-pool
  python3-pika-pool
  python3-biomaj3-process
  python3-biomaj3-download
  python3-biomaj3-download
  python3-biomaj3-process

The latest upstream versions seem to clearly state in their setup.py to
need pre-1.0 versions.
I have already been in contact with the current Debian maintainer of
pika, Jan Dittberner, but he does not have time to dig deeper into this
issue.

What would be your take on introducing a python-pika1 package to support
both versions? python3-pika and python3-pika1 would not be
co-installable but would provide each respective version if needed.
If you have a better idea, I would be happy to hear it.

Cheers
Sascha


[1] https://github.com/tenzir/threatbus
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900808

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Update to python-pika 1.x and multiple API versions of one Python  module Sascha Steinbiss <satta@debian.org> - 2021-01-18 10:10 +0100

csiph-web