Bug#972602: python-asteval: tests not run during build
Michael Hudson-Doyle
mwhudson at debian.org
Wed Oct 21 01:45:24 BST 2020
Source: python-asteval
Version: 0.9.17-2
Severity: normal
Tags: patch
Dear Maintainer,
The test suite is not run during build. Patch attached.
This also makes the build fail in sid because Python 3.9 is now a
supported version but I think an upstream update will fix that.
While I'm here, the git repository in Vcs-Git does not exist.
Cheers,
mwh
-- System Information:
Debian Release: bullseye/sid
APT prefers focal-updates
APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), (400, 'focal-proposed'), (100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-51-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru python-asteval-0.9.17/debian/changelog python-asteval-0.9.17/debian/changelog
--- python-asteval-0.9.17/debian/changelog 2019-11-19 22:33:25.000000000 +1300
+++ python-asteval-0.9.17/debian/changelog 2020-10-21 13:27:44.000000000 +1300
@@ -1,3 +1,9 @@
+python-asteval (0.9.17-2) UNRELEASED; urgency=medium
+
+ * d/rules: set PYBUILD_TEST_PYTEST so tests are actually run during build.
+
+ -- Michael Hudson-Doyle <mwhudson at debian.org> Wed, 21 Oct 2020 13:27:44 +1300
+
python-asteval (0.9.17-1) unstable; urgency=medium
* Team upload.
diff -Nru python-asteval-0.9.17/debian/control python-asteval-0.9.17/debian/control
--- python-asteval-0.9.17/debian/control 2019-11-19 22:33:25.000000000 +1300
+++ python-asteval-0.9.17/debian/control 2020-10-21 13:27:44.000000000 +1300
@@ -7,6 +7,7 @@
Build-Depends: debhelper (>= 11),
dh-python,
python3-all,
+ python3-pytest,
python3-setuptools,
python3-six
Standards-Version: 4.4.1
diff -Nru python-asteval-0.9.17/debian/rules python-asteval-0.9.17/debian/rules
--- python-asteval-0.9.17/debian/rules 2019-11-19 22:33:25.000000000 +1300
+++ python-asteval-0.9.17/debian/rules 2020-10-21 13:26:40.000000000 +1300
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=asteval
+export PYBUILD_TEST_PYTEST=1
%:
dh $@ --with python3 --buildsystem=pybuild
More information about the debian-science-maintainers
mailing list