Re: new dependencies for python-pint
On 8/21/24 19:36, Antonio Valentino wrote: Dear Thomas, Il 21/08/24 09:20, Thomas Goirand ha scritto: On 8/21/24 08:07, Antonio Valentino wrote: flexparser has been accepted into unstable. cheers ACL granted. Thanks for your contrib. Thomas Goirand (zigo) Thanks a lot. Could you please do the same for python-pint. I have updated the dabian package to v0.24.3 (n git), but the upload fails. cheers Done. Considering the amount of (build-)depends, I'd suggest uploading to Experimental first, and then look at the excuse page for any breakage. Cheers, Thomas Goirand (zigo)
Bug#1079377: graypy: please replace usage of python3-amqplib with python3-amqp
Source: graypy Version: 2.1.0-1 Severity: important X-Debbugs-Cc: debian-python@lists.debian.org Dear Maintainer, graypy is the only (remaining ?) user of python3-amqplib which is RC buggy and needs some 2to3 magic to be kept alive. https://github.com/severb/graypy/pull/143/files Please consider applying this upstream patch. Greetings. Alexandre --- >From 916cf0db7fb66ede18241bb54a3e3e77d4d02ecc Mon Sep 17 00:00:00 2001 From: "felix.gao" Date: Tue, 24 Oct 2023 12:16:59 +0800 Subject: [PATCH] Replace dependency amqplib with amqp --- graypy/rabbitmq.py | 3 ++- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/graypy/rabbitmq.py b/graypy/rabbitmq.py index ea7be2cdf..2d03b24cf 100644 --- a/graypy/rabbitmq.py +++ b/graypy/rabbitmq.py @@ -8,7 +8,7 @@ from logging import Filter from logging.handlers import SocketHandler -from amqplib import client_0_8 as amqp # pylint: disable=import-error +import amqp from graypy.handler import BaseGELFHandler @@ -98,6 +98,7 @@ def __init__(self, cn_args, timeout, exchange, exchange_type, routing_key): self.exchange_type = exchange_type self.routing_key = routing_key self.connection = amqp.Connection(connection_timeout=timeout, **self.cn_args) +self.connection.connect() self.channel = self.connection.channel() self.channel.exchange_declare( exchange=self.exchange, diff --git a/setup.py b/setup.py index 925dc12b7..38ba42bcb 100755 --- a/setup.py +++ b/setup.py @@ -80,10 +80,10 @@ def run_tests(self): "pylint>=1.9.3,<2.0.0", "mock>=2.0.0,<3.0.0", "requests>=2.20.1,<3.0.0", -"amqplib>=1.0.2,<2.0.0", +"amqp>=5.1.1", ], extras_require={ -"amqp": ["amqplib==1.0.2"], +"amqp": ["amqp==5.1.1"], "docs": [ "sphinx>=2.1.2,<3.0.0", "sphinx_rtd_theme>=0.4.3,<1.0.0",
Bug#1079379: RM: python-amqplib -- ROM; dead upstream for 9 years, still depends on 2to3, drop-in alternative
Package: ftp.debian.org Severity: normal Tags: moreinfo X-Debbugs-Cc: python-amqp...@packages.debian.org, debian-python@lists.debian.org Control: affects -1 + src:python-amqplib User: ftp.debian@packages.debian.org Usertags: remove Dear FTP Master, This old library has one rdep left: "graypy", which can (in theory) easily be patched to use python-amqp instead. https://github.com/barryp/py-amqplib Greetings
Python3.12 and a half
Hi, Would it be possible to remove 2to3 from Python3.12 without waiting for 3.13 ? I see in the meantime a new usage was brought back. I'll check if this "slimit" package can be easily switched to python3-fissix; which is a 2to3 fork that is already used to keep python3-nose artificially alive. Upstream doesn't have the nicest ward about this module; I guess nobody will miss it by now. https://bugs.python.org/issue40360 "Now we just have to remember to actually remove the damn thing in 3.13 😂" Greetings --- Date: Wed, 21 Aug 2024 15:12:40 -0300 Version: 0.8.1-7 Urgency: medium Maintainer: Debian Python Team Changed-By: Antonio Terceiro Changes: slimit (0.8.1-7) unstable; urgency=medium . * Team upload. * Add build dependency on python3-lib2to3 (Closes: #1076961)