From 159931a9729659144fdc9db382ff9f8f1e96e999 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 19 Oct 2025 21:02:59 +0100 Subject: [PATCH] gnu: python-pyftpdlib: Skip one test on aarch64-linux. * gnu/packages/python-xyz.scm (python-pyftpdlib)[arguments] : Conditionally deselect one test when target is aarch64-linux. Change-Id: I027207d97a7ee24e5482bf676b7b108d2789946e --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 61a32c8381d2b73295edd5fe1a2e802d7022b4d9..9a8032049f5230809b95926b77c4cc0cbadaf2ee 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17150,10 +17150,23 @@ the @code{sendfile(2)} system call.") (build-system pyproject-build-system) ;; Using Pytest instead of the Makefile causes the command line tests to ;; fail on unknown Pytest arguments. - (arguments (list #:test-flags #~(list "-k" "not TestCommandLineParser"))) - (native-inputs (list python-psutil python-pytest python-setuptools - python-wheel)) - (propagated-inputs (list python-pyopenssl python-pysendfile)) + (arguments + (list + #:test-flags + #~(list "-k" "not TestCommandLineParser" + #$@(if (target-aarch64?) + ;; TimeoutError: timed out + '((string-append "--deselect=pyftpdlib/test/test_functional.py" + "::TestTimeouts::test_idle_data_timeout2")) + '())))) + (native-inputs + (list python-psutil + python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-pyopenssl + python-pysendfile)) (home-page "https://github.com/giampaolo/pyftpdlib/") (synopsis "Asynchronous and scalable Python FTP server library") (description "The Python FTP server library provides a high-level