public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-asyncpg] rawhide: Report and skip a regression on Python 3.16.0a2+ for multi-host URLs
@ 2026-11-20  6:49 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-20  6:49 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-asyncpg
            Branch : rawhide
            Commit : e9597a139b1d803283b5061e74e70587e5fcbd65
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-11-20T06:34:56+00:00
            Stats  : +13/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-asyncpg/c/e9597a139b1d803283b5061e74e70587e5fcbd65?branch=rawhide

            Log:
            Report and skip a regression on Python 3.16.0a2+ for multi-host URLs

- Closes RHBZ#2576594

---
diff --git a/python-asyncpg.spec b/python-asyncpg.spec
index 09899dc..35d2510 100644
--- a/python-asyncpg.spec
+++ b/python-asyncpg.spec
@@ -111,11 +111,21 @@ export ASYNCPG_BUILD_CYTHON_ALWAYS=1
 %check -a
 %pyproject_verify_license
 
+%if v"0%{?python3_version}" >= v"3.16"
+# Python 3.16.0a2: TestConnectParams.test_connect_params fails
+# https://github.com/MagicStack/asyncpg/issues/1409
+# https://bugzilla.redhat.com/show_bug.cgi?id=2576594
+#
+# Due to https://github.com/python/cpython/pull/159122 for
+# https://github.com/python/cpython/issues/88037. Waiting for an upstream fix.
+x="${x-} --deselect=tests/test_connect.py::TestConnectParams::test_connect_params"
+%endif
+
 # See the “test” target in the Makefile:
-PYTHONASYNCIODEBUG=1 %pytest -k "${k-}" -rs
-%pytest -k "${k-}" -rs
+PYTHONASYNCIODEBUG=1 %pytest ${x-} -k "${k-}" -rs
+%pytest ${x-} -k "${k-}" -rs
 %if %{with uvloop}
-USE_UVLOOP=1 %pytest -k "${k-}" -rs
+USE_UVLOOP=1 %pytest ${x-} -k "${k-}" -rs
 %endif
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20  6:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20  6:49 [rpms/python-asyncpg] rawhide: Report and skip a regression on Python 3.16.0a2+ for multi-host URLs Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox