[med-svn] [Git][med-team/qiime][master] d/{control, rules}: restore ability to run build-time tests.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Wed Dec 3 19:38:04 GMT 2025



Étienne Mollier pushed to branch master at Debian Med / qiime


Commits:
252d5b5d by Étienne Mollier at 2025-12-02T20:37:26+01:00
d/{control,rules}: restore ability to run build-time tests.

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -12,6 +12,8 @@ Build-Depends: debhelper-compat (= 13),
                python3-all,
                python3-setuptools,
                python3-pytest <!nocheck>,
+               python3-flufl.lock <!nocheck>,
+               python3-tomlkit <!nocheck>,
                python3-platformdirs <!nocheck>,
                python3-bibtexparser <!nocheck>,
                python3-decorator <!nocheck>,


=====================================
debian/rules
=====================================
@@ -8,28 +8,11 @@ export PYBUILD_NAME = qiime
 include /usr/share/dpkg/default.mk
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-
-export PYBUILD_DISABLE=python3.12
+export QIIMETEST=
+export LC_ALL=C.UTF-8
 
 %:
 	dh $@ --buildsystem=pybuild
 
-# FIXME: the following hack is commented out, as the tip to solve the QIIMETEST
-# environment variable issue does not seem to work anymore.  No tests are run
-# at build time, they are delayed to the autopkgtest step.
-
-## For testing, we need to deploy the project in the build directory
-## so that qiime2 plugins are loaded
-#export PYBUILD_BEFORE_TEST=python{version} setup.py develop --install-dir {build_dir}
-## Un-deploy the project and delete site.py script
-#export PYBUILD_AFTER_TEST=rm -v {build_dir}/site.py; \
-#	python{version} setup.py develop --uninstall --install-dir {build_dir}
-
-override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	LC_ALL=C.UTF-8 dh_auto_test -- -s custom --test-args="cd {build_dir}; QIIMETEST= pytest-3"
-#endif
-
-override_dh_auto_clean:
-	dh_auto_clean
+execute_after_dh_auto_clean:
 	rm -rf qiime2.egg-info



View it on GitLab: https://salsa.debian.org/med-team/qiime/-/commit/252d5b5d098059e241b7ab5b4711c356e82cc678

-- 
View it on GitLab: https://salsa.debian.org/med-team/qiime/-/commit/252d5b5d098059e241b7ab5b4711c356e82cc678
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251203/36d64021/attachment-0001.htm>


More information about the debian-med-commit mailing list