[med-svn] [Git][med-team/emperor][master] 3 commits: Do not install tests as module Closes: #1151722

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Oct 23 21:49:20 BST 2026



Andreas Tille pushed to branch master at Debian Med / emperor


Commits:
62fbae34 by Andreas Tille at 2026-10-23T22:14:05+02:00
Do not install tests as module Closes: #1151722

- - - - -
dbc035b2 by Andreas Tille at 2026-10-23T22:35:09+02:00
Currently numpy is not yet build for python3.15 so ignoring tests with this Python version

- - - - -
f6a755ec by Andreas Tille at 2026-10-23T22:37:23+02:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/rules
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+emperor (1.0.5+ds1-3) unstable; urgency=medium
+
+  * Team upload.
+  * Do not install tests as module
+    Closes: #1151722
+  * Currently numpy is not yet build for python3.15 so ignoring tests with
+    this Python version
+
+ -- Andreas Tille <tille at debian.org>  Fri, 23 Oct 2026 22:35:17 +0200
+
 emperor (1.0.5+ds1-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/rules
=====================================
@@ -1,8 +1,12 @@
 #!/usr/bin/make -f
 
+# At the time of this upload numpy is not yet build for python3.15 so the test will fail ... thus ignoring
+export PYBUILD_DISABLE=test/python3.15
+
 export DH_VERBOSE = 1
 
 export PYBUILD_NAME=emperor
+export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/tests'
 export PYBUILD_BEFORE_TEST=cp -rv {dir}/tests/test_data {build_dir}/tests
 
 %:


=====================================
debian/tests/run-unit-test
=====================================
@@ -20,6 +20,10 @@ echo "Running Tests"
 
 for py in $(py3versions -s 2> /dev/null)
 do
+    # Skip Python 3.15 since NumPy extensions are missing
+    if [ "$py" = "python3.15" ]; then
+        continue
+    fi
     echo "Testing with $py in $(pwd):"
     $py -m pytest
 



View it on GitLab: https://salsa.debian.org/med-team/emperor/-/compare/048b99019d522574910a36bb994a3d5a8b53f203...f6a755ec9d4b77d6de4acba9f4b2488d2d10d56a

-- 
View it on GitLab: https://salsa.debian.org/med-team/emperor/-/compare/048b99019d522574910a36bb994a3d5a8b53f203...f6a755ec9d4b77d6de4acba9f4b2488d2d10d56a
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


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


More information about the debian-med-commit mailing list