Package: jeepney Version: 0.7.1-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jammy ubuntu-patch X-Debbugs-Cc: sl...@ubuntu.com
Hi Dmitry, with the recent change to dh-python >= 5 and using the flit built system, the python3-jeepney binary package started to depend on unnecessary dependencies, that are only used during the dh_auto_test stage but are not needed at package runtime. Can we somehow make flit ignore those test-depends that are not needed during runtime? Or can we revert back to "--system distutils" for the dh_auto_test stage? In Ubuntu, the attached patch was applied to achieve the following: * d/rules: keep using distuils during test, to avoid pulling in unnecessary test-depends from universe Thanks for considering the patch. Cheers, Lukas -- System Information: Debian Release: 11.0 APT prefers impish-updates APT policy: (500, 'impish-updates'), (500, 'impish-security'), (500, 'impish'), (100, 'impish-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.13.0-22-generic (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru jeepney-0.7.1/debian/rules jeepney-0.7.1/debian/rules --- jeepney-0.7.1/debian/rules 2021-12-04 16:57:05.000000000 +0100 +++ jeepney-0.7.1/debian/rules 2021-12-15 11:47:37.000000000 +0100 @@ -11,7 +11,7 @@ $(MAKE) -Cdocs html override_dh_auto_test: - dbus-run-session -- dh_auto_test + dbus-run-session -- dh_auto_test -- --system distutils override_dh_installdocs: dh_installdocs -pjeepney-doc --doc-main-package=python3-jeepney