python-asyncssh fails to build with Python 3.10.0a2. ====================================================================== FAIL: test_expired_root (tests.test_x509._TestX509) Test failed validation of expired X.509 root CA ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/asyncssh-2.4.2/tests/test_x509.py", line 211, in test_expired_root cert.validate([int_ca, root_ca], None, None, None) AssertionError: ValueError not raised ---------------------------------------------------------------------- Ran 1198 tests in 1683.986s FAILED (failures=1, skipped=78) Test failed: <unittest.runner.TextTestResult run=1198 errors=0 failures=1> /bin/sh: ssh: command not found For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01773042-python-asyncssh/ For all our attempts to build python-asyncssh with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-asyncssh/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
I've reported it upstream and the asyncssh author is investigating the root cause: https://github.com/ronf/asyncssh/issues/326
Two days ago, I pushed a new asyncssh version to rawhide that fixes the issue there. Thus, it should now work in your Copr python 3.10 branch, as well. I thought that a rebuild is automatically triggered in that branch, when a new package version is pushed, but this doesn't seem to have worked.
it worked: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-asyncssh/ thanks
Ok, I somehow expected that the build job would also update this issue then.
Sorry, we don't have such automation. Sometimes, we build packages with tests disabled in that copr etc., so it would need to be very careful.