Your message dated Mon, 30 Jun 2025 03:05:04 +0000
with message-id <e1uw4pm-001nvk...@fasolo.debian.org>
and subject line Bug#1079377: fixed in graypy 2.1.0-2
has caused the Debian Bug report #1079377,
regarding graypy: please replace usage of python3-amqplib with python3-amqp
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1079377: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079377
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: graypy
Version: 2.1.0-1
Severity: important
X-Debbugs-Cc: debian-pyt...@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" <felix....@unity.cn>
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",

--- End Message ---
--- Begin Message ---
Source: graypy
Source-Version: 2.1.0-2
Done: Alexandre Detiste <tc...@debian.org>

We believe that the bug you reported is fixed in the latest version of
graypy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1079...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tc...@debian.org> (supplier of updated graypy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 30 Jun 2025 04:48:32 +0200
Source: graypy
Architecture: source
Version: 2.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Drung <benjamin.dr...@cloud.ionos.com>
Changed-By: Alexandre Detiste <tc...@debian.org>
Closes: 1079377 1082050
Changes:
 graypy (2.1.0-2) unstable; urgency=medium
 .
   * Team Upload
   * Switch from python3-amqplib to python3-amqp (Closes: #1082050, #1079377)
 .
   [ Debian Janitor ]
   * Update standards version to 4.6.1, no changes needed.
Checksums-Sha1:
 9a20b46b102fd8b0f4d277e6bb6e1bc15faea0e4 2091 graypy_2.1.0-2.dsc
 92daf25c923119ad0880365e4949ac0d2bb59fef 3872 graypy_2.1.0-2.debian.tar.xz
 3e28959e9849e57b677d7b9b0606a49b01c28732 7334 graypy_2.1.0-2_source.buildinfo
Checksums-Sha256:
 a78d603453eef9b93918b7d6dcc0c8d23a9aae2c0f281f6d4b6e7dc879081c9c 2091 
graypy_2.1.0-2.dsc
 98a26f3e4c6b92d7d70bba193871e31ecc35f1632761decb10d1e8d1b5d0a053 3872 
graypy_2.1.0-2.debian.tar.xz
 77db39624563eb7fa3ed6c796135728375438d3011a9af5df11a5f0c5e1486f1 7334 
graypy_2.1.0-2_source.buildinfo
Files:
 6d83e4f16d476cebe8eb8578b74dc137 2091 python optional graypy_2.1.0-2.dsc
 81ac2da7d30ac7a02b0ce1bee33c45b5 3872 python optional 
graypy_2.1.0-2.debian.tar.xz
 001506f995a712ccb12ce3e6bdb374d4 7334 python optional 
graypy_2.1.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmhh++ARHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpRXBAAiQptC0NFmYvTFdb1y6DhKuMnM8nZ9kRR
lJtra/iC0mNVm05DZ06Hk2Ev9JFfGasb0b5RfyAzH/jJfzg1/pTTooMI+QEAxabi
8sWhpbgkdqTPt3UJVpvH6GcP++UlbxsZcJcpdGB6oMgGCTWzFut+j7BDd/J7b2cC
U12Fop2hZMOzzFRpCHtNq/s+oyx8rIWMf1olagUHnvoT07TgTkBAJrljnYm3IMrl
hWR/AbGJzPiQG0vQA6g6knEc/2g8Xi+wVo5zOnqAXYuBEBw511hGUmaIlsD6fN3Q
pEBSecdjKFclKXxnji6JAjl73uEf0gSaoNmOcctU5vHp7g0SFxOpZqNwBkuCMuhb
nefsnlhR7IxoUjN/hY1yZguIhjvkM2P5QixIlAoToB39v2X6k73IwpNy99Gou5xu
Mvsw73Rd1hJTC+ep6gKOzS+WyLEFr6zdA/6Fr8S79u1RHwIQSVr+BhAM1kWK27HE
5DI5+egVqs786SvkpE+l8EA90gBEKSMTQMG6/l6zg0qAUaEM+UGQszv1kZrzLCUw
qglQ3yidOUqBKQw2lpiqeQ5yzXWhCFQpy9v5LY85hl5I8KSSrOpfiwvZa6m0OUQE
SsFDgEERHXNGg77knpUegY0mNkwJX/PX5v1wpbsQV1jass8yssMulNldF0eKURRW
Cg3F8nx5a64=
=ps8p
-----END PGP SIGNATURE-----

Attachment: pgpeN7MUWoBhS.pgp
Description: PGP signature


--- End Message ---

Reply via email to