public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-asyncssh] f44: Properly filter out test dependency on uvloop and python-pkcs11
@ 2026-07-11 21:33
0 siblings, 0 replies; only message in thread
From: @ 2026-07-11 21:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-asyncssh
Branch : f44
Commit : bbda2ed3268d6d0b861a908a7809a086b4f8875f
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-05-06T12:34:36+02:00
Stats : +2/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-asyncssh/c/bbda2ed3268d6d0b861a908a7809a086b4f8875f?branch=f44
Log:
Properly filter out test dependency on uvloop and python-pkcs11
The dependency is specified in tox.ini as "linux,darwin: uvloop>=0.9.1" --
older tox did not understand it, so ti was silently skipped.
tox 4.53.1 recognises it, making the build fail with:
Handling uvloop>=0.9.1 from tox --print-deps-only: py314
Requirement not satisfied: uvloop>=0.9.1
...
No match for argument: python3dist(uvloop) >= 0.9.1
Same for "linux,darwin: python-pkcs11>=0.7.0".
---
diff --git a/python-asyncssh.spec b/python-asyncssh.spec
index 3be8250..3ce140b 100644
--- a/python-asyncssh.spec
+++ b/python-asyncssh.spec
@@ -54,7 +54,8 @@ Summary: %{summary}
%autosetup -p1 -n %{srcname}-%{version}
# remove superfluous build dependencies
-sed '/pytest-cov/d' tox.ini -i
+sed '/pytest-cov/d' tox.ini -i # coverage not desired
+sed -E '/(uvloop|python-pkcs11)/d' tox.ini -i # not available, tests skipped when missing
%generate_buildrequires
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-11 21:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 21:33 [rpms/python-asyncssh] f44: Properly filter out test dependency on uvloop and python-pkcs11
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox