[med-svn] [Git][med-team/pynn][master] 4 commits: Do not ignore test suite errors, versioned Build-Depends: python3-lazyarray
Andreas Tille
gitlab at salsa.debian.org
Fri Apr 3 12:09:34 BST 2020
Andreas Tille pushed to branch master at Debian Med / pynn
Commits:
3a209cb4 by Andreas Tille at 2020-03-05T14:08:29+01:00
Do not ignore test suite errors, versioned Build-Depends: python3-lazyarray
- - - - -
0631aff8 by Andreas Tille at 2020-04-03T13:06:23+02:00
Commit uncommited patches
- - - - -
f7ff6e00 by Andreas Tille at 2020-04-03T13:07:06+02:00
Do not ignore test suite errors, versioned Build-Depends: python3-lazyarray
- - - - -
362ee28a by Andreas Tille at 2020-04-03T13:08:13+02:00
Close bug
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/no_testconfig_nest.patch
- + debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pynn (0.9.5-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Do not ignore test suite errors, versioned Build-Depends: python3-lazyarray
+ Closes: #813821
+
+ -- Andreas Tille <tille at debian.org> Thu, 05 Mar 2020 13:35:28 +0100
+
pynn (0.9.5-1) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -9,14 +9,14 @@ Build-Depends: debhelper-compat (= 12),
dh-python,
python3-all,
python3-numpy,
- python3-nose,
- python3-mock,
- python3-cheetah,
- python3-jinja2,
- python3-neuron,
- python3-quantities,
- python3-lazyarray,
- python3-neo
+ python3-nose <!nocheck>,
+ python3-mock <!nocheck>,
+ python3-cheetah <!nocheck>,
+ python3-jinja2 <!nocheck>,
+ python3-neuron <!nocheck>,
+ python3-quantities <!nocheck>,
+ python3-lazyarray (>= 0.3.3-1) <!nocheck>,
+ python3-neo <!nocheck>
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/med-team/pynn
Vcs-Git: https://salsa.debian.org/med-team/pynn.git
@@ -32,7 +32,7 @@ Depends: ${shlibs:Depends},
python3-neo
Recommends: python3-jinja2,
python3-cheetah,
- python3-lazyarray
+ python3-lazyarray (>= 0.3.3-1)
Suggests: python3-brian,
python3-csa
Description: simulator-independent specification of neuronal network models
=====================================
debian/patches/no_testconfig_nest.patch
=====================================
@@ -0,0 +1,48 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 05 Mar 2020 13:35:28 +0100
+Description: Testconfig is not packaged
+
+--- a/test/system/scenarios/__init__.py
++++ /dev/null
+@@ -1,26 +0,0 @@
+-# encoding: utf-8
+-from testconfig import config
+-
+-#import pdb
+-#pdb.set_trace()
+-
+-if 'testFile' in config:
+- file_name = config['testFile']
+- exec("from . import ( %s )" % file_name)
+-else:
+- from . import ( scenario1,
+- scenario2,
+- scenario3,
+- ticket166,
+- test_simulation_control,
+- test_recording,
+- test_cell_types,
+- test_electrodes,
+- scenario4,
+- test_parameter_handling,
+- test_procedural_api,
+- issue274,
+- test_connectors,
+- issue231,
+- test_connection_handling,
+- test_synapse_types)
+--- a/test/system/scenarios/registry.py
++++ /dev/null
+@@ -1,12 +0,0 @@
+-from testconfig import config
+-
+-registry = []
+-
+-
+-def register(exclude=[]):
+- def inner_register(scenario):
+- if scenario not in registry and not ('testName' in config and not scenario.__name__ == config['testName']):
+- scenario.exclude = exclude
+- registry.append(scenario)
+- return scenario
+- return inner_register
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+no_testconfig_nest.patch
=====================================
debian/rules
=====================================
@@ -6,16 +6,6 @@ export PYBUILD_NAME=pynn
%:
dh $@ --with python3 --buildsystem=pybuild
-# Ignore test suite errors which are most probably caused by lazyarray
-# see https://bitbucket.org/apdavison/lazyarray/issues/6/test-failure
-# At least the error message are exactly the same as for lazyarray and
-# even the different behaviour between Python3.7 and Python3.8 can be
-# observed
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- dh_auto_test || true
-endif
-
override_dh_fixperms:
dh_fixperms
find debian -name "*.mod" -exec chmod -x \{\} \;
View it on GitLab: https://salsa.debian.org/med-team/pynn/-/compare/baf47888674802c5fc6ebc7afcc02d6bcdd2e089...362ee28a13102b32f0940342495fb45419005240
--
View it on GitLab: https://salsa.debian.org/med-team/pynn/-/compare/baf47888674802c5fc6ebc7afcc02d6bcdd2e089...362ee28a13102b32f0940342495fb45419005240
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/20200403/7e39c1cc/attachment-0001.html>
More information about the debian-med-commit
mailing list