Your message dated Tue, 10 Jan 2023 17:42:47 +0100
with message-id <y72vh0lwgq9vk...@an3as.eu>
and subject line Re: Bug#1028291: dipy FTBFS with numpy 1.24
has caused the Debian Bug report #1028291,
regarding dipy FTBFS with numpy 1.24
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.)
--
1028291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028291
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dipy
Version: 1.5.0-4
Severity: serious
Tags: ftbfs patch
Forwarded: https://github.com/dipy/dipy/pull/2700
https://buildd.debian.org/status/fetch.php?pkg=dipy&arch=amd64&ver=1.5.0-5&stamp=1673232202&raw=0
...
=================================== FAILURES ===================================
______________________________ test_optional_str _______________________________
def test_optional_str():
# Test optional and variable str argument exists but does not have a
value
sys.argv = [sys.argv[0]]
inputs = ['--optional_str_1']
sys.argv.extend(inputs)
parser = IntrospectiveArgumentParser()
dummy_flow = DummyWorkflowOptionalStr()
parser.add_workflow(dummy_flow)
args = parser.get_flow_args()
all_keys = ['optional_str_1']
all_results = [[]]
# Test if types and order are respected
for k, v in zip(all_keys, all_results):
npt.assert_equal(args[k], v)
# Test if **args really fits dummy_flow's arguments
return_values = dummy_flow.run(**args)
> npt.assert_array_equal(return_values, all_results + ['default'])
dipy/workflows/tests/test_iap.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<built-in function eq>, ([], 'default'), [[], 'default'])
kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False,
'verbose': True}
@wraps(func)
def inner(*args, **kwds):
with self._recreate_cm():
> return func(*args, **kwds)
E ValueError: setting an array element with a sequence. The requested
array has an inhomogeneous shape after 1 dimensions. The detected shape was
(2,) + inhomogeneous part.
/usr/lib/python3.10/contextlib.py:79: ValueError
...
=========================== short test summary info ============================
FAILED dipy/workflows/tests/test_iap.py::test_optional_str - ValueError: sett...
====== 1 failed, 764 passed, 94 skipped, 37 warnings in 804.92s (0:13:24) ======
make[1]: *** [debian/rules:59: override_dh_auto_install] Error 1
--- End Message ---
--- Begin Message ---
Hi Adrian,
this bug is fixed in version 1.5.0-6.
Kind regards
Andreas.
--
http://fam-tille.de
--- End Message ---