Dear maintainer

I've just uploaded the attached NMU to fix bug #1151542.

Would you consider moving this package into the Debian Science team to make it easier for maintainers to collaborate with you in maintaining this package?

regards
Stuart

--
Stuart Prescott   http://www.nanonanonano.net/ [email protected]
Debian Developer  http://www.debian.org/       [email protected]
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
diff -Nru python-qmix-1.0.6/debian/changelog python-qmix-1.0.6/debian/changelog
--- python-qmix-1.0.6/debian/changelog	2026-07-09 02:39:20.000000000 +1000
+++ python-qmix-1.0.6/debian/changelog	2026-11-20 18:11:13.000000000 +1100
@@ -1,3 +1,11 @@
+python-qmix (1.0.6-12.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to prevent setup.py attempting to install 'tests' directory as a
+    Python module (Closes: #1151542).
+
+ -- Stuart Prescott <[email protected]>  Fri, 20 Nov 2026 18:11:13 +1100
+
 python-qmix (1.0.6-12) unstable; urgency=medium
 
   * Update patch 002-* to fix NumPy2.x. compatibility issue. (Closes: #1131080)
diff -Nru python-qmix-1.0.6/debian/patches/0003-Fix-setup.py-to-not-include-other-directories-as-mod.patch python-qmix-1.0.6/debian/patches/0003-Fix-setup.py-to-not-include-other-directories-as-mod.patch
--- python-qmix-1.0.6/debian/patches/0003-Fix-setup.py-to-not-include-other-directories-as-mod.patch	1970-01-01 10:00:00.000000000 +1000
+++ python-qmix-1.0.6/debian/patches/0003-Fix-setup.py-to-not-include-other-directories-as-mod.patch	2026-11-20 18:11:13.000000000 +1100
@@ -0,0 +1,21 @@
+From: Stuart Prescott <[email protected]>
+Date: Thu, 12 Nov 2026 17:40:50 +1100
+Subject: Fix setup.py to not include other directories as modules
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index eb9b259..d9da92a 100644
+--- a/setup.py
++++ b/setup.py
+@@ -40,7 +40,7 @@ setup(
+         "terahertz instrumentation",
+         "Python"
+     ],
+-    packages=find_packages(),
++    packages=find_packages(include=["qmix*"]),
+     include_package_data=True,
+     install_requires=[
+         'matplotlib',
diff -Nru python-qmix-1.0.6/debian/patches/series python-qmix-1.0.6/debian/patches/series
--- python-qmix-1.0.6/debian/patches/series	2026-07-09 02:39:20.000000000 +1000
+++ python-qmix-1.0.6/debian/patches/series	2026-11-20 18:11:13.000000000 +1100
@@ -1,2 +1,3 @@
 001-remove-numba-from-depends.patch
 002-fix-autopkgtest-numpy2x.patch
+0003-Fix-setup.py-to-not-include-other-directories-as-mod.patch
diff -Nru python-qmix-1.0.6/debian/rules python-qmix-1.0.6/debian/rules
--- python-qmix-1.0.6/debian/rules	2026-07-09 02:39:20.000000000 +1000
+++ python-qmix-1.0.6/debian/rules	2026-11-20 18:11:13.000000000 +1100
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=qmix
-export PYBUILD_AFTER_BUILD=cp -r tests/exp-data {build_dir}/tests
 
 %:
 	dh $@ --with sphinxdoc --buildsystem=pybuild

Reply via email to