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

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



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




Reply to: