Your message dated Sun, 27 Oct 2024 11:28:12 +0000
with message-id <e1t51rm-00floy...@fasolo.debian.org>
and subject line Bug#1079956: fixed in neo 0.13.4-1
has caused the Debian Bug report #1079956,
regarding neo: Tests fail with python-quantities 0.16.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1079956: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079956
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: neo
Version: 0.13.2-1
Severity: normal
X-Debbugs-Cc: y...@debian.org

Dear Maintainer,

neo is failing tests with python-quantities 0.16.0 in sid.

Part of the error looks like

160s =================================== FAILURES 
===================================
160s __ 
TestAnalogSignalConstructor.test__create_with_copy_true_should_return_copy __
160s 
160s self = <neo.test.coretest.test_analogsignal.TestAnalogSignalConstructor 
testMethod=test__create_with_copy_true_should_return_copy>
160s 
160s     def test__create_with_copy_true_should_return_copy(self):
160s         data = np.arange(10.0) * pq.mV
160s         rate = 5000 * pq.Hz
160s         signal = AnalogSignal(data, copy=True, sampling_rate=rate)
160s         data[3] = 99 * pq.mV
160s         assert_neo_object_is_compliant(signal)
160s >       self.assertNotEqual(signal[3, 0], 99 * pq.mV)
160s E       AssertionError: array(99.) * mV == array(99.) * mV
160s 
160s neo/test/coretest/test_analogsignal.py:140: AssertionError
160s ___________________ TestAnalogSignalCombination.test__merge 
____________________
160s 
160s self = <neo.test.coretest.test_analogsignal.TestAnalogSignalCombination 
testMethod=test__merge>
160s 
160s     def test__merge(self):
160s         self.signal1.description = None
160s         self.signal1.file_origin = None
160s         assert_neo_object_is_compliant(self.signal1)
160s     
160s         data3 = np.arange(1000.0, 1066.0).reshape((11, 6)) * pq.uV
160s         data3scale = data3.rescale(self.data1quant.units)
160s         arr_ann3 = {"anno1": np.arange(5, 11), "anno3": ["h", "i", "j", 
"k", "l", "m"]}
160s         arr_ann4 = {"anno1": np.arange(100, 106), "anno3": ["o", "p", "q", 
"r", "s", "t"]}
160s     
160s         signal2 = AnalogSignal(
160s             self.data1quant,
160s             sampling_rate=1 * pq.kHz,
160s             name="signal2",
160s             description="test signal",
160s             file_origin="testfile.txt",
160s             array_annotations=self.arr_ann1,
160s         )
160s         signal3 = AnalogSignal(
160s             data3,
160s             units="uV",
160s             sampling_rate=1 * pq.kHz,
160s             name="signal3",
160s             description="test signal",
160s             file_origin="testfile.txt",
160s             array_annotations=arr_ann3,
160s         )
160s         signal4 = AnalogSignal(
160s             data3,
160s             units="uV",
160s             sampling_rate=1 * pq.kHz,
160s             name="signal4",
160s             description="test signal",
160s             file_origin="testfile.txt",
160s             array_annotations=arr_ann4,
160s         )
160s     
160s         with warnings.catch_warnings(record=True) as w:
160s             warnings.filterwarnings("always")
160s             merged13 = self.signal1.merge(signal3)
160s             merged23 = signal2.merge(signal3)
160s             merged24 = signal2.merge(signal4)
160s     
160s >           self.assertTrue(len(w) == 3)
160s E           AssertionError: False is not true
160s 
160s neo/test/coretest/test_analogsignal.py:1523: AssertionError
160s __ 
TestIrregularlySampledSignalArrayMethods.test__time_shift_different_units ___
160s 
160s self = 
<neo.test.coretest.test_irregularysampledsignal.TestIrregularlySampledSignalArrayMethods
 testMethod=test__time_shift_different_units>
160s 
160s     def test__time_shift_different_units(self):
160s         shifted = self.signal1.time_shift(1 * pq.s)
160s >       assert_arrays_equal(shifted.times, self.signal1.times + 1000 * 
pq.ms)
160s 
160s neo/test/coretest/test_irregularysampledsignal.py:696: 
160s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
160s 
160s a = array([  1010.        ,   1027.82559402,   1077.42636827,   
1215.443469  ,
160s          1599.48425032,   2668.1005372 ,   5641.58883361,  13915.49665015,
160s         36938.13663805, 101000.        ]) * ms
160s b = array([  2010.        ,   2027.82559402,   2077.42636827,   
2215.443469  ,
160s          2599.48425032,   3668.1005372 ,   6641.58883361,  14915.49665015,
160s         37938.13663805, 102000.        ]) * ms
160s dtype = False
160s 
160s     def assert_arrays_equal(a, b, dtype=False):
160s         """
160s         Check if two arrays have the same shape and contents.
160s     
160s         If dtype is True (default=False), then also theck that they have 
the same
160s         dtype.
160s         """
160s         assert isinstance(a, np.ndarray), f"a is a {type(a)}"
160s         assert isinstance(b, np.ndarray), f"b is a {type(b)}"
160s         assert a.shape == b.shape, f"{a} != {b}"
160s         # assert a.dtype == b.dtype, "%s and %s not same dtype %s %s" % 
(a, b,
160s         #                                                               
a.dtype,
160s         #                                                               
b.dtype)
160s         try:
160s >           assert (a.flatten() == b.flatten()).all(), f"{a} != {b}"
160s E           AssertionError: [  1010.           1027.82559402   
1077.42636827   1215.443469
160s E              1599.48425032   2668.1005372    5641.58883361  
13915.49665015
160s E             36938.13663805 101000.        ] ms != [  2010.           
2027.82559402   2077.42636827   2215.443469
160s E              2599.48425032   3668.1005372    6641.58883361  
14915.49665015
160s E             37938.13663805 102000.        ] ms
160s 
160s neo/test/tools.py:35: AssertionError

Full log at
https://ci.debian.net/packages/n/neo/testing/arm64/51068351/

--- End Message ---
--- Begin Message ---
Source: neo
Source-Version: 0.13.4-1
Done: Étienne Mollier <emoll...@debian.org>

We believe that the bug you reported is fixed in the latest version of
neo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1079...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emoll...@debian.org> (supplier of updated neo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 27 Oct 2024 10:59:57 +0100
Source: neo
Architecture: source
Version: 0.13.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emoll...@debian.org>
Closes: 1079956
Changes:
 neo (0.13.4-1) unstable; urgency=medium
 .
   * New upstream version 0.13.4  (Closes: #1079956)
   * avoid_privacy_breach_image.patch: unfuzz.
   * skip_online_tests.patch: unfuzz.
   * d/control: neo (build-)depends on python-quantities 0.16.1.
Checksums-Sha1:
 71fc017c045b3baaa293fda0e460b75bad32013a 2503 neo_0.13.4-1.dsc
 38a84161969704bc60d0adfcbe36fa5d179ed5d4 5040693 neo_0.13.4.orig.tar.gz
 68f66bbdbe61509a2f1c53b82552cb24c9f5dcf6 7552 neo_0.13.4-1.debian.tar.xz
Checksums-Sha256:
 368cfe8749fddc6e05e6e7f10c1f689075805746ad0a7a04b64d590a093131c1 2503 
neo_0.13.4-1.dsc
 b7264acb7ba7eeaa0a8e91a15ae4dbc8b4dd56c3e38bc7d1cc0442dc5b71dd72 5040693 
neo_0.13.4.orig.tar.gz
 1ddd4d7cf411cdd58e304f98a8564dbd1acab7829ef22d324a50f9734d5c0c81 7552 
neo_0.13.4-1.debian.tar.xz
Files:
 b296c2b70c693a4ddf8870b6c9647241 2503 science optional neo_0.13.4-1.dsc
 d4cd0a269556319692097e0be78c44b2 5040693 science optional 
neo_0.13.4.orig.tar.gz
 fde98f98de98e7958e6d68a66651ea25 7552 science optional 
neo_0.13.4-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmceE+kUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdrtCQ//e3gIbm0Vxb1MxzbRh99cWTj25Tqo
9fO4CNL40KYSkFuvOtk5BCMiWUmkkj+Ykydzpd9f33lkSpHTjAa4Bz2Q2AtAnIzn
lWYt2cjuK57v85jL9W7JEgt61/A+or2dkW/LwvD2tlachj59IZneq/wtEtv4NJlB
n0mwIeDjU1sU4CfZPSGjZQv1p0sqCxdYVK9Nl/JtPowFim0/v+mKWQs9SLhvkbPu
ryUtkwQH2KdwSYBhZv2OHN5PpBHOeBxJacFY9sVCGHR6UvzJBpIROt8fqpty+AeR
fxarpijBFFFrWDQ2gv6js//qKw6sLvJNxohSreGSEcHOg4Lm0bo0qBr4NpJiaYlE
oWE8N93Cyf3FfjwFIngffIndCodHVxS8VztKAvXaE26B7OZlJKNJ/owHshHhmJt9
8Hah+RhnhChlK7zEh7v4Qk1UxBsxLCXZJ5wzm3BQXcKeYqCwSSZJLYlZFOawTIZy
26b8v8XNcHmT/9U69HxZs3HUrDSE6w8bQVi+q8M8zib9lbE3YyJSdi/4WJMyYaC9
u+41lRPUrhpJOQ2SJNaUWh/q7k5I/jfrHrHKIjk0SnXKo7ez8suwBoNEL1P3T3NV
TreSlN4b5BcTRAJSREGNFs0qs2AX6ZIKdKH6Q3lwdOTOTdk4NUc6fvqQamiYMkYL
6l+xaVsst+NkuY4=
=Qe2r
-----END PGP SIGNATURE-----

Attachment: pgpQrnRJyCpea.pgp
Description: PGP signature


--- End Message ---

Reply via email to