gnu: python-zeroconf: Ignore failing tests.

* gnu/packages/python-xyz.scm (python-zeroconf)
[arguments]<#:test-flags>: Ignore additional failing test.
[native-inputs]: Add python-pytest-asyncio. Remove python-wheel.

Change-Id: Iac76a731e91d1287c47f4af9b769d78bca22c9ab
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-20 17:43:49 +02:00 committed by Sharlatan Hellseher
parent 0f7eb28b67
commit 05fe5e2924
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -31350,7 +31350,7 @@ library in Python.")
(version "0.38.1") (version "0.38.1")
(source (source
(origin (origin
(method git-fetch) ; no tests in PyPI release (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/jstasiak/python-zeroconf") (url "https://github.com/jstasiak/python-zeroconf")
(commit version))) (commit version)))
@ -31361,14 +31361,20 @@ library in Python.")
(arguments (arguments
(list (list
#:test-flags #:test-flags
#~(list "-k" (string-append #~(list
;; Networking isn't available for these tests. "-k" (string-append
"not test_integration_with_listener_ipv6" ;; XXX: Despite asyncio, this test fails.
" and not test_launch_and_close_v4_v6" "not test_run_coro_with_timeout and not "
" and not test_launch_and_close_context_manager" ;; XXX: Networking isn't available.
" and not test_launch_and_close" (string-join
" and not test_close_multiple_times")))) (list "test_integration_with_listener_ipv6"
(native-inputs (list python-pytest python-setuptools python-wheel)) "test_launch_and_close_v4_v6"
"test_launch_and_close_context_manager"
"test_launch_and_close"
"test_close_multiple_times")
" and not ")))))
(native-inputs
(list python-pytest python-pytest-asyncio python-setuptools))
(propagated-inputs (propagated-inputs
(list python-ifaddr)) (list python-ifaddr))
(home-page "https://github.com/jstasiak/python-zeroconf") (home-page "https://github.com/jstasiak/python-zeroconf")