Package: q2-cutadapt

Version: 2024.5.0-1

Severity: normal

Tags: patch



Dear Maintainer,



I’d like to submit a patch to fix the Debci failures reported as below.

https://ci.debian.net/packages/q/q2-cutadapt/unstable/amd64/

Debian Continuous Integration - 
q2-cutadapt/unstable/amd64<https://ci.debian.net/packages/q/q2-cutadapt/unstable/amd64/>
Debian Continuous Integration Results
ci.debian.net
The failure is caused by hardcoding the python3.11 version in 
debian/tests/run-unit-test

The error is following:


60s autopkgtest [02:57:06]: test run-unit-test: [-----------------------

61s 
/tmp/autopkgtest-lxc.ffp2sps7/downtmp/build.Jpn/src/debian/tests/run-unit-test: 
line 25: python3.11: command not found
61s autopkgtest [02:57:07]: test run-unit-test: -----------------------]



Would you please accept this patch?



Best Regards,

Lei


From 69c38ab65e34e513cc25a2de06705523dc0fa3b2 Mon Sep 17 00:00:00 2001
From: lliu1-cn <lei.liu...@windriver.com>
Date: Mon, 28 Apr 2025 08:32:44 +0000
Subject: [PATCH 1/1] Resolve the execution failure found in autopkgtest

---
 debian/tests/run-unit-test | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 78d03d0..8d25cc3 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -18,9 +18,9 @@ if [ ! -f /usr/lib/python3/dist-packages/pytest_cov/__init__.py ] ; then
 fi
 
 # Run build-time tests
-# for py in $(py3versions -s 2> /dev/null)
-# do
-#     ${py} -m pytest -v  --cov=${pkg}
-# done
-python3.11 -m pytest -v  --cov=${pkg}
+ for py in $(py3versions -s 2> /dev/null)
+ do
+     ${py} -m pytest -v  --cov=${pkg}
+ done
+#python3.11 -m pytest -v  --cov=${pkg}
 
-- 
2.49.0

Reply via email to