Hi,

we encountered this issue in Ubuntu too, the attached patch should to fix it.

Cheers,
Tobias
>From 9b7ce9d05185ec427fbb12ff0bf9a8f49c8506ed Mon Sep 17 00:00:00 2001
From: Tobias Heider <tobias.hei...@canonical.com>
Date: Tue, 10 Sep 2024 21:26:41 +0200
Subject: [PATCH] Run tests without setuptools

setuptools dropped support for tests_require and fails so run
tests directly instead.
---
 debian/tests/testsuite | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tests/testsuite b/debian/tests/testsuite
index 23403ad..aa9f280 100755
--- a/debian/tests/testsuite
+++ b/debian/tests/testsuite
@@ -1,2 +1,2 @@
 #!/bin/bash
-python3 setup.py test
+python3 -m unittest prometheus_xmpp.tests.test_suite
-- 
2.45.2

Reply via email to