[Debian-med-packaging] Bug#1013569: nitime: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.10" returned exit code 13

Lucas Nussbaum lucas at debian.org
Fri Jun 24 11:07:16 BST 2022


Source: nitime
Version: 0.9-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:239: python3.9 setup.py config 
> running config
> I: pybuild base:239: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:239: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/index_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/_mpl_units.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/viz.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/descriptors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/timeseries.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/lazy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/lazyimports.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/spectral.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/event_related.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/granger.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/normalization.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/coherence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> copying nitime/analysis/snr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri
> copying nitime/fmri/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri
> copying nitime/fmri/hrf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri
> copying nitime/fmri/io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/spectral.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/cohere.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/autoregressive.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/filter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/event_related.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/entropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> copying nitime/algorithms/wavelet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/test_descriptors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/test_lazy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/test_timeseries.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/test_algorithms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/test_analysis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/test_viz.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/tests
> copying nitime/analysis/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_snr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_granger.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_coherence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri/tests
> copying nitime/fmri/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri/tests
> copying nitime/fmri/tests/test_io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_autoregressive.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_spectral.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_coherence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_event_related.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_entropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests
> copying nitime/LICENSE -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime
> copying nitime/tests/cxy_matlab.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/dpss_matlab.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/tseries12.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/fxx_matlab.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> copying nitime/tests/long_dpss_matlab.npy -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/fmri2.nii.gz -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/fmri1.nii.gz -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/grasshopper_spike_times1.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/grasshopper_spike_times2.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/grasshopper_stimulus2.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/grasshopper_stimulus1.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/fmri_timeseries.csv -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> copying nitime/data/event_related_fmri.csv -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/data
> I: pybuild base:239: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/index_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/_mpl_units.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/viz.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/descriptors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/timeseries.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/lazy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/lazyimports.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/spectral.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/event_related.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/granger.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/normalization.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/coherence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> copying nitime/analysis/snr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri
> copying nitime/fmri/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri
> copying nitime/fmri/hrf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri
> copying nitime/fmri/io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/spectral.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/cohere.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/autoregressive.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/filter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/event_related.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/entropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> copying nitime/algorithms/wavelet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/test_descriptors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/test_lazy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/test_timeseries.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/test_algorithms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/test_analysis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/test_viz.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/tests
> copying nitime/analysis/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_snr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_granger.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/tests
> copying nitime/analysis/tests/test_coherence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri/tests
> copying nitime/fmri/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri/tests
> copying nitime/fmri/tests/test_io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_correlation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_autoregressive.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_spectral.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_coherence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_event_related.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/algorithms/tests/test_entropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests
> copying nitime/LICENSE -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime
> copying nitime/tests/cxy_matlab.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/dpss_matlab.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/tseries12.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/fxx_matlab.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> copying nitime/tests/long_dpss_matlab.npy -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/fmri2.nii.gz -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/fmri1.nii.gz -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/grasshopper_spike_times1.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/grasshopper_spike_times2.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/grasshopper_stimulus2.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/grasshopper_stimulus1.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/fmri_timeseries.csv -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
> copying nitime/data/event_related_fmri.csv -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/data
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.9.13, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> collected 123 items
> 
> nitime/algorithms/tests/test_autoregressive.py .....                     [  4%]
> nitime/algorithms/tests/test_coherence.py ..........s....                [ 16%]
> nitime/algorithms/tests/test_correlation.py .                            [ 17%]
> nitime/algorithms/tests/test_entropy.py .....                            [ 21%]
> nitime/algorithms/tests/test_event_related.py .                          [ 21%]
> nitime/algorithms/tests/test_spectral.py ................                [ 34%]
> nitime/analysis/tests/test_base.py .                                     [ 35%]
> nitime/analysis/tests/test_coherence.py ......                           [ 40%]
> nitime/analysis/tests/test_correlation.py .                              [ 41%]
> nitime/analysis/tests/test_granger.py ..                                 [ 43%]
> nitime/analysis/tests/test_snr.py .                                      [ 43%]
> nitime/fmri/tests/test_io.py .                                           [ 44%]
> nitime/tests/test_algorithms.py ........                                 [ 51%]
> nitime/tests/test_analysis.py ....F..                                    [ 56%]
> nitime/tests/test_descriptors.py .                                       [ 57%]
> nitime/tests/test_lazy.py ..                                             [ 59%]
> nitime/tests/test_timeseries.py ....................................     [ 88%]
> nitime/tests/test_utils.py ...........                                   [ 97%]
> nitime/tests/test_viz.py ...                                             [100%]
> 
> =================================== FAILURES ===================================
> _____________________________ test_FilterAnalyzer ______________________________
> 
>     def test_FilterAnalyzer():
>         """Testing the FilterAnalyzer """
>         t = np.arange(np.pi / 100, 10 * np.pi, np.pi / 100)
>         fast = np.sin(50 * t) + 10
>         slow = np.sin(10 * t) - 20
>     
>         fast_mean = np.mean(fast)
>         slow_mean = np.mean(slow)
>     
>         fast_ts = ts.TimeSeries(data=fast, sampling_rate=np.pi)
>         slow_ts = ts.TimeSeries(data=slow, sampling_rate=np.pi)
>     
>         #Make sure that the DC is preserved
>         f_slow = nta.FilterAnalyzer(slow_ts, ub=0.6)
>         f_fast = nta.FilterAnalyzer(fast_ts, lb=0.6)
>     
>         npt.assert_almost_equal(f_slow.filtered_fourier.data.mean(),
>                                 slow_mean,
>                                 decimal=2)
>     
>         npt.assert_almost_equal(f_slow.filtered_boxcar.data.mean(),
>                                 slow_mean,
>                                 decimal=2)
>     
>         npt.assert_almost_equal(f_slow.fir.data.mean(),
>                                 slow_mean)
>     
>         npt.assert_almost_equal(f_slow.iir.data.mean(),
>                                 slow_mean)
>     
>         npt.assert_almost_equal(f_fast.filtered_fourier.data.mean(),
>                                 10)
>     
>         npt.assert_almost_equal(f_fast.filtered_boxcar.data.mean(),
>                                 10,
>                                 decimal=2)
>     
>         npt.assert_almost_equal(f_fast.fir.data.mean(),
>                                 10)
>     
>         npt.assert_almost_equal(f_fast.iir.data.mean(),
>                                 10)
>     
>         #Check that things work with a two-channel time-series:
>         T2 = ts.TimeSeries(np.vstack([fast, slow]), sampling_rate=np.pi)
>         f_both = nta.FilterAnalyzer(T2, ub=1.0, lb=0.1)
>         #These are rather basic tests:
>         npt.assert_equal(f_both.fir.shape, T2.shape)
> >       npt.assert_equal(f_both.iir.shape, T2.shape)
> 
> nitime/tests/test_analysis.py:270: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> nitime/descriptors.py:140: in __get__
>     val = self.getter(obj)
> nitime/analysis/spectral.py:434: in iir
>     b, a = signal.iirdesign(wp, ws, self._gpass, self._gstop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wp = array([0.06366198, 0.63661977]), ws = array([0.        , 0.73661977])
> gpass = 1, gstop = 60, analog = False, ftype = 'ellip', output = 'ba', fs = None
> 
>     def iirdesign(wp, ws, gpass, gstop, analog=False, ftype='ellip', output='ba',
>                   fs=None):
>         """Complete IIR digital and analog filter design.
>     
>         Given passband and stopband frequencies and gains, construct an analog or
>         digital IIR filter of minimum order for a given basic type. Return the
>         output in numerator, denominator ('ba'), pole-zero ('zpk') or second order
>         sections ('sos') form.
>     
>         Parameters
>         ----------
>         wp, ws : float or array like, shape (2,)
>             Passband and stopband edge frequencies. Possible values are scalars
>             (for lowpass and highpass filters) or ranges (for bandpass and bandstop
>             filters).
>             For digital filters, these are in the same units as `fs`. By default,
>             `fs` is 2 half-cycles/sample, so these are normalized from 0 to 1,
>             where 1 is the Nyquist frequency. For example:
>     
>                 - Lowpass:   wp = 0.2,          ws = 0.3
>                 - Highpass:  wp = 0.3,          ws = 0.2
>                 - Bandpass:  wp = [0.2, 0.5],   ws = [0.1, 0.6]
>                 - Bandstop:  wp = [0.1, 0.6],   ws = [0.2, 0.5]
>     
>             For analog filters, `wp` and `ws` are angular frequencies (e.g., rad/s).
>             Note, that for bandpass and bandstop filters passband must lie strictly
>             inside stopband or vice versa.
>         gpass : float
>             The maximum loss in the passband (dB).
>         gstop : float
>             The minimum attenuation in the stopband (dB).
>         analog : bool, optional
>             When True, return an analog filter, otherwise a digital filter is
>             returned.
>         ftype : str, optional
>             The type of IIR filter to design:
>     
>                 - Butterworth   : 'butter'
>                 - Chebyshev I   : 'cheby1'
>                 - Chebyshev II  : 'cheby2'
>                 - Cauer/elliptic: 'ellip'
>                 - Bessel/Thomson: 'bessel'
>     
>         output : {'ba', 'zpk', 'sos'}, optional
>             Filter form of the output:
>     
>                 - second-order sections (recommended): 'sos'
>                 - numerator/denominator (default)    : 'ba'
>                 - pole-zero                          : 'zpk'
>     
>             In general the second-order sections ('sos') form  is
>             recommended because inferring the coefficients for the
>             numerator/denominator form ('ba') suffers from numerical
>             instabilities. For reasons of backward compatibility the default
>             form is the numerator/denominator form ('ba'), where the 'b'
>             and the 'a' in 'ba' refer to the commonly used names of the
>             coefficients used.
>     
>             Note: Using the second-order sections form ('sos') is sometimes
>             associated with additional computational costs: for
>             data-intense use cases it is therefore recommended to also
>             investigate the numerator/denominator form ('ba').
>     
>         fs : float, optional
>             The sampling frequency of the digital system.
>     
>             .. versionadded:: 1.2.0
>     
>         Returns
>         -------
>         b, a : ndarray, ndarray
>             Numerator (`b`) and denominator (`a`) polynomials of the IIR filter.
>             Only returned if ``output='ba'``.
>         z, p, k : ndarray, ndarray, float
>             Zeros, poles, and system gain of the IIR filter transfer
>             function.  Only returned if ``output='zpk'``.
>         sos : ndarray
>             Second-order sections representation of the IIR filter.
>             Only returned if ``output=='sos'``.
>     
>         See Also
>         --------
>         butter : Filter design using order and critical points
>         cheby1, cheby2, ellip, bessel
>         buttord : Find order and critical points from passband and stopband spec
>         cheb1ord, cheb2ord, ellipord
>         iirfilter : General filter design using order and critical frequencies
>     
>         Notes
>         -----
>         The ``'sos'`` output parameter was added in 0.16.0.
>     
>         Examples
>         --------
>     
>         >>> from scipy import signal
>         >>> import matplotlib.pyplot as plt
>         >>> import matplotlib.ticker
>     
>         >>> wp = 0.2
>         >>> ws = 0.3
>         >>> gpass = 1
>         >>> gstop = 40
>     
>         >>> system = signal.iirdesign(wp, ws, gpass, gstop)
>         >>> w, h = signal.freqz(*system)
>     
>         >>> fig, ax1 = plt.subplots()
>         >>> ax1.set_title('Digital filter frequency response')
>         >>> ax1.plot(w, 20 * np.log10(abs(h)), 'b')
>         >>> ax1.set_ylabel('Amplitude [dB]', color='b')
>         >>> ax1.set_xlabel('Frequency [rad/sample]')
>         >>> ax1.grid()
>         >>> ax1.set_ylim([-120, 20])
>         >>> ax2 = ax1.twinx()
>         >>> angles = np.unwrap(np.angle(h))
>         >>> ax2.plot(w, angles, 'g')
>         >>> ax2.set_ylabel('Angle (radians)', color='g')
>         >>> ax2.grid()
>         >>> ax2.axis('tight')
>         >>> ax2.set_ylim([-6, 1])
>         >>> nticks = 8
>         >>> ax1.yaxis.set_major_locator(matplotlib.ticker.LinearLocator(nticks))
>         >>> ax2.yaxis.set_major_locator(matplotlib.ticker.LinearLocator(nticks))
>     
>         """
>         try:
>             ordfunc = filter_dict[ftype][1]
>         except KeyError as e:
>             raise ValueError("Invalid IIR filter type: %s" % ftype) from e
>         except IndexError as e:
>             raise ValueError(("%s does not have order selection. Use "
>                               "iirfilter function.") % ftype) from e
>     
>         _validate_gpass_gstop(gpass, gstop)
>     
>         wp = atleast_1d(wp)
>         ws = atleast_1d(ws)
>     
>         if wp.shape[0] != ws.shape[0] or wp.shape not in [(1,), (2,)]:
>             raise ValueError("wp and ws must have one or two elements each, and"
>                              "the same shape, got %s and %s"
>                              % (wp.shape, ws.shape))
>     
>         if any(wp <= 0) or any(ws <= 0):
> >           raise ValueError("Values for wp, ws must be greater than 0")
> E           ValueError: Values for wp, ws must be greater than 0
> 
> /usr/lib/python3/dist-packages/scipy/signal/_filter_design.py:2295: ValueError
> =============================== warnings summary ===============================
> nitime/algorithms/event_related.py:13
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/event_related.py:13: DeprecationWarning: invalid escape sequence \h
>     """
> 
> nitime/algorithms/tests/test_coherence.py:206
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_coherence.py:206: DeprecationWarning: invalid escape sequence \c
>     """
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_coherence.py: 30 warnings
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py: 16 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/cohere.py:1008: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     Slices = np.zeros((n_slices, n_freqs), dtype=np.complex)
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_coherence.py: 6 warnings
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py: 7 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/cohere.py:1224: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     Cxy = np.zeros((channels_i, channels_j, freqs), dtype=np.complex)
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/cohere.py:1164: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     Phi_xy = np.zeros((channels_i, channels_j, freqs), dtype=np.complex)
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py:73: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig1 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py:78: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig2 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_periodogram
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py:121: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_periodogram_csd
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py:146: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig1 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py::test_periodogram_csd
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/tests/test_spectral.py:150: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig2 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SparseCoherenceAnalyzer
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/coherence.py:200: RuntimeWarning: invalid value encountered in true_divide
>     delay[i, j] = this_phase / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/coherence.py:200: RuntimeWarning: divide by zero encountered in true_divide
>     delay[i, j] = this_phase / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/cohere.py:699: RuntimeWarning: divide by zero encountered in true_divide
>     return (((np.abs(Rxy - Rxr * Rry)) ** 2) /
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/cohere.py:699: RuntimeWarning: invalid value encountered in true_divide
>     return (((np.abs(Rxy - Rxr * Rry)) ** 2) /
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SparseCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/coherence.py:523: RuntimeWarning: invalid value encountered in true_divide
>     return self.relative_phases / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/coherence.py:659: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     self.frequencies.shape[0]), dtype=np.complex)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/coherence.py:656: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     self.frequencies.shape[0]), dtype=np.complex)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/coherence.py:730: RuntimeWarning: invalid value encountered in true_divide
>     return self.relative_phases / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/coherence.py:94: RuntimeWarning: In nitime.analysis, the provided input time-series is shorter than the requested NFFT + n_overlap. All coherence values will be set to 1.
>     warnings.warn(e_s, RuntimeWarning)
> 
> .pybuild/cpython3_3.9/build/nitime/analysis/tests/test_correlation.py::test_SeedCorrelationAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/analysis/correlation.py:150: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     self.target.data.shape[0]), dtype=np.float)
> 
> .pybuild/cpython3_3.9/build/nitime/fmri/tests/test_io.py: 10 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri/io.py:121: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
>   
>   * deprecated from version: 3.0
>   * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
>     data = im.get_data()
> 
> .pybuild/cpython3_3.9/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
> .pybuild/cpython3_3.9/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
> .pybuild/cpython3_3.9/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
> .pybuild/cpython3_3.9/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri/io.py:91: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
>   
>   * deprecated from version: 3.0
>   * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
>     data = im.get_data()
> 
> .pybuild/cpython3_3.9/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/fmri/tests/test_io.py:68: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
>   
>   * deprecated from version: 3.0
>   * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
>     data = io.load(fmri_file1).get_data()
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py::test_scipy_resample
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py:27: DeprecationWarning: Please use `resample` from the `scipy.signal` namespace, the `scipy.signal.signaltools` namespace is deprecated.
>     t_up = signaltools.resample(tst, 128)
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py::test_scipy_resample
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py:30: DeprecationWarning: Please use `resample` from the `scipy.signal` namespace, the `scipy.signal.signaltools` namespace is deprecated.
>     t_dn = signaltools.resample(tst, 32)
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py::test_scipy_resample
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py:36: DeprecationWarning: Please use `resample` from the `scipy.signal` namespace, the `scipy.signal.signaltools` namespace is deprecated.
>     t_dn2 = signaltools.resample(tst, 48)
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py::test_psd_matlab
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests/test_algorithms.py:148: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     ts0 = ts[1] + ts[0] * np.complex(0, 1)
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_analysis.py::test_MorletWaveletAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/wavelet.py:77: RuntimeWarning: divide by zero encountered in log
>     wf = (2 * np.exp(-(np.log(f) - np.log(f0)) ** 2 / (2 * sfl ** 2)) *
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_analysis.py::test_MorletWaveletAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/algorithms/wavelet.py:77: RuntimeWarning: invalid value encountered in log
>     wf = (2 * np.exp(-(np.log(f) - np.log(f0)) ** 2 / (2 * sfl ** 2)) *
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_lazy.py::test_lazy_noreload
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/tests/test_lazy.py:40: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
>     import imp
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_viz.py::test_drawgraph_channels
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/nitime/viz.py:681: DeprecationWarning: adj_matrix is deprecated and will be removed in version 3.0.
>   Use `adjacency_matrix` instead
>   
>     amat = nx.adj_matrix(G).A  # get a normal array out of it
> 
> .pybuild/cpython3_3.9/build/nitime/tests/test_viz.py: 45 warnings
>   /usr/lib/python3/dist-packages/networkx/drawing/nx_pylab.py:717: MatplotlibDeprecationWarning: Passing *transOffset* without *offsets* has no effect. This behavior is deprecated since 3.5 and in 3.6, *transOffset* will begin having an effect regardless of *offsets*. In the meantime, if you wish to set *transOffset*, call collection.set_offset_transform(transOffset) explicitly.
>     edge_collection = mpl.collections.LineCollection(
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info ============================
> FAILED nitime/tests/test_analysis.py::test_FilterAnalyzer - ValueError: Value...
> =========== 1 failed, 121 passed, 1 skipped, 156 warnings in 30.14s ============
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest 
> I: pybuild base:239: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.10.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
> rootdir: /<<PKGBUILDDIR>>
> collected 123 items
> 
> nitime/algorithms/tests/test_autoregressive.py .....                     [  4%]
> nitime/algorithms/tests/test_coherence.py ..........s....                [ 16%]
> nitime/algorithms/tests/test_correlation.py .                            [ 17%]
> nitime/algorithms/tests/test_entropy.py .....                            [ 21%]
> nitime/algorithms/tests/test_event_related.py .                          [ 21%]
> nitime/algorithms/tests/test_spectral.py ................                [ 34%]
> nitime/analysis/tests/test_base.py .                                     [ 35%]
> nitime/analysis/tests/test_coherence.py ......                           [ 40%]
> nitime/analysis/tests/test_correlation.py .                              [ 41%]
> nitime/analysis/tests/test_granger.py ..                                 [ 43%]
> nitime/analysis/tests/test_snr.py .                                      [ 43%]
> nitime/fmri/tests/test_io.py .                                           [ 44%]
> nitime/tests/test_algorithms.py ........                                 [ 51%]
> nitime/tests/test_analysis.py ....F..                                    [ 56%]
> nitime/tests/test_descriptors.py .                                       [ 57%]
> nitime/tests/test_lazy.py ..                                             [ 59%]
> nitime/tests/test_timeseries.py ....................................     [ 88%]
> nitime/tests/test_utils.py ...........                                   [ 97%]
> nitime/tests/test_viz.py ...                                             [100%]
> 
> =================================== FAILURES ===================================
> _____________________________ test_FilterAnalyzer ______________________________
> 
>     def test_FilterAnalyzer():
>         """Testing the FilterAnalyzer """
>         t = np.arange(np.pi / 100, 10 * np.pi, np.pi / 100)
>         fast = np.sin(50 * t) + 10
>         slow = np.sin(10 * t) - 20
>     
>         fast_mean = np.mean(fast)
>         slow_mean = np.mean(slow)
>     
>         fast_ts = ts.TimeSeries(data=fast, sampling_rate=np.pi)
>         slow_ts = ts.TimeSeries(data=slow, sampling_rate=np.pi)
>     
>         #Make sure that the DC is preserved
>         f_slow = nta.FilterAnalyzer(slow_ts, ub=0.6)
>         f_fast = nta.FilterAnalyzer(fast_ts, lb=0.6)
>     
>         npt.assert_almost_equal(f_slow.filtered_fourier.data.mean(),
>                                 slow_mean,
>                                 decimal=2)
>     
>         npt.assert_almost_equal(f_slow.filtered_boxcar.data.mean(),
>                                 slow_mean,
>                                 decimal=2)
>     
>         npt.assert_almost_equal(f_slow.fir.data.mean(),
>                                 slow_mean)
>     
>         npt.assert_almost_equal(f_slow.iir.data.mean(),
>                                 slow_mean)
>     
>         npt.assert_almost_equal(f_fast.filtered_fourier.data.mean(),
>                                 10)
>     
>         npt.assert_almost_equal(f_fast.filtered_boxcar.data.mean(),
>                                 10,
>                                 decimal=2)
>     
>         npt.assert_almost_equal(f_fast.fir.data.mean(),
>                                 10)
>     
>         npt.assert_almost_equal(f_fast.iir.data.mean(),
>                                 10)
>     
>         #Check that things work with a two-channel time-series:
>         T2 = ts.TimeSeries(np.vstack([fast, slow]), sampling_rate=np.pi)
>         f_both = nta.FilterAnalyzer(T2, ub=1.0, lb=0.1)
>         #These are rather basic tests:
>         npt.assert_equal(f_both.fir.shape, T2.shape)
> >       npt.assert_equal(f_both.iir.shape, T2.shape)
> 
> nitime/tests/test_analysis.py:270: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> nitime/descriptors.py:140: in __get__
>     val = self.getter(obj)
> nitime/analysis/spectral.py:434: in iir
>     b, a = signal.iirdesign(wp, ws, self._gpass, self._gstop,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> wp = array([0.06366198, 0.63661977]), ws = array([0.        , 0.73661977])
> gpass = 1, gstop = 60, analog = False, ftype = 'ellip', output = 'ba', fs = None
> 
>     def iirdesign(wp, ws, gpass, gstop, analog=False, ftype='ellip', output='ba',
>                   fs=None):
>         """Complete IIR digital and analog filter design.
>     
>         Given passband and stopband frequencies and gains, construct an analog or
>         digital IIR filter of minimum order for a given basic type. Return the
>         output in numerator, denominator ('ba'), pole-zero ('zpk') or second order
>         sections ('sos') form.
>     
>         Parameters
>         ----------
>         wp, ws : float or array like, shape (2,)
>             Passband and stopband edge frequencies. Possible values are scalars
>             (for lowpass and highpass filters) or ranges (for bandpass and bandstop
>             filters).
>             For digital filters, these are in the same units as `fs`. By default,
>             `fs` is 2 half-cycles/sample, so these are normalized from 0 to 1,
>             where 1 is the Nyquist frequency. For example:
>     
>                 - Lowpass:   wp = 0.2,          ws = 0.3
>                 - Highpass:  wp = 0.3,          ws = 0.2
>                 - Bandpass:  wp = [0.2, 0.5],   ws = [0.1, 0.6]
>                 - Bandstop:  wp = [0.1, 0.6],   ws = [0.2, 0.5]
>     
>             For analog filters, `wp` and `ws` are angular frequencies (e.g., rad/s).
>             Note, that for bandpass and bandstop filters passband must lie strictly
>             inside stopband or vice versa.
>         gpass : float
>             The maximum loss in the passband (dB).
>         gstop : float
>             The minimum attenuation in the stopband (dB).
>         analog : bool, optional
>             When True, return an analog filter, otherwise a digital filter is
>             returned.
>         ftype : str, optional
>             The type of IIR filter to design:
>     
>                 - Butterworth   : 'butter'
>                 - Chebyshev I   : 'cheby1'
>                 - Chebyshev II  : 'cheby2'
>                 - Cauer/elliptic: 'ellip'
>                 - Bessel/Thomson: 'bessel'
>     
>         output : {'ba', 'zpk', 'sos'}, optional
>             Filter form of the output:
>     
>                 - second-order sections (recommended): 'sos'
>                 - numerator/denominator (default)    : 'ba'
>                 - pole-zero                          : 'zpk'
>     
>             In general the second-order sections ('sos') form  is
>             recommended because inferring the coefficients for the
>             numerator/denominator form ('ba') suffers from numerical
>             instabilities. For reasons of backward compatibility the default
>             form is the numerator/denominator form ('ba'), where the 'b'
>             and the 'a' in 'ba' refer to the commonly used names of the
>             coefficients used.
>     
>             Note: Using the second-order sections form ('sos') is sometimes
>             associated with additional computational costs: for
>             data-intense use cases it is therefore recommended to also
>             investigate the numerator/denominator form ('ba').
>     
>         fs : float, optional
>             The sampling frequency of the digital system.
>     
>             .. versionadded:: 1.2.0
>     
>         Returns
>         -------
>         b, a : ndarray, ndarray
>             Numerator (`b`) and denominator (`a`) polynomials of the IIR filter.
>             Only returned if ``output='ba'``.
>         z, p, k : ndarray, ndarray, float
>             Zeros, poles, and system gain of the IIR filter transfer
>             function.  Only returned if ``output='zpk'``.
>         sos : ndarray
>             Second-order sections representation of the IIR filter.
>             Only returned if ``output=='sos'``.
>     
>         See Also
>         --------
>         butter : Filter design using order and critical points
>         cheby1, cheby2, ellip, bessel
>         buttord : Find order and critical points from passband and stopband spec
>         cheb1ord, cheb2ord, ellipord
>         iirfilter : General filter design using order and critical frequencies
>     
>         Notes
>         -----
>         The ``'sos'`` output parameter was added in 0.16.0.
>     
>         Examples
>         --------
>     
>         >>> from scipy import signal
>         >>> import matplotlib.pyplot as plt
>         >>> import matplotlib.ticker
>     
>         >>> wp = 0.2
>         >>> ws = 0.3
>         >>> gpass = 1
>         >>> gstop = 40
>     
>         >>> system = signal.iirdesign(wp, ws, gpass, gstop)
>         >>> w, h = signal.freqz(*system)
>     
>         >>> fig, ax1 = plt.subplots()
>         >>> ax1.set_title('Digital filter frequency response')
>         >>> ax1.plot(w, 20 * np.log10(abs(h)), 'b')
>         >>> ax1.set_ylabel('Amplitude [dB]', color='b')
>         >>> ax1.set_xlabel('Frequency [rad/sample]')
>         >>> ax1.grid()
>         >>> ax1.set_ylim([-120, 20])
>         >>> ax2 = ax1.twinx()
>         >>> angles = np.unwrap(np.angle(h))
>         >>> ax2.plot(w, angles, 'g')
>         >>> ax2.set_ylabel('Angle (radians)', color='g')
>         >>> ax2.grid()
>         >>> ax2.axis('tight')
>         >>> ax2.set_ylim([-6, 1])
>         >>> nticks = 8
>         >>> ax1.yaxis.set_major_locator(matplotlib.ticker.LinearLocator(nticks))
>         >>> ax2.yaxis.set_major_locator(matplotlib.ticker.LinearLocator(nticks))
>     
>         """
>         try:
>             ordfunc = filter_dict[ftype][1]
>         except KeyError as e:
>             raise ValueError("Invalid IIR filter type: %s" % ftype) from e
>         except IndexError as e:
>             raise ValueError(("%s does not have order selection. Use "
>                               "iirfilter function.") % ftype) from e
>     
>         _validate_gpass_gstop(gpass, gstop)
>     
>         wp = atleast_1d(wp)
>         ws = atleast_1d(ws)
>     
>         if wp.shape[0] != ws.shape[0] or wp.shape not in [(1,), (2,)]:
>             raise ValueError("wp and ws must have one or two elements each, and"
>                              "the same shape, got %s and %s"
>                              % (wp.shape, ws.shape))
>     
>         if any(wp <= 0) or any(ws <= 0):
> >           raise ValueError("Values for wp, ws must be greater than 0")
> E           ValueError: Values for wp, ws must be greater than 0
> 
> /usr/lib/python3/dist-packages/scipy/signal/_filter_design.py:2295: ValueError
> =============================== warnings summary ===============================
> nitime/algorithms/event_related.py:13
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/event_related.py:13: DeprecationWarning: invalid escape sequence '\h'
>     """
> 
> nitime/algorithms/tests/test_coherence.py:206
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_coherence.py:206: DeprecationWarning: invalid escape sequence '\c'
>     """
> 
> ../../../../../../usr/lib/python3/dist-packages/nibabel/openers.py:16
>   /usr/lib/python3/dist-packages/nibabel/openers.py:16: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>     from distutils.version import StrictVersion
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_coherence.py: 30 warnings
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py: 16 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/cohere.py:1008: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     Slices = np.zeros((n_slices, n_freqs), dtype=np.complex)
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_coherence.py: 6 warnings
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py: 7 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/cohere.py:1224: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     Cxy = np.zeros((channels_i, channels_j, freqs), dtype=np.complex)
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_coherence.py::test_cache_to_coherency
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/cohere.py:1164: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     Phi_xy = np.zeros((channels_i, channels_j, freqs), dtype=np.complex)
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py:73: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig1 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_get_spectra_complex
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py:78: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig2 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_periodogram
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py:121: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_periodogram_csd
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py:146: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig1 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py::test_periodogram_csd
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/tests/test_spectral.py:150: DeprecationWarning: scipy.sqrt is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.sqrt instead
>     arsig2 = r + c * scipy.sqrt(-1)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SparseCoherenceAnalyzer
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/coherence.py:200: RuntimeWarning: invalid value encountered in true_divide
>     delay[i, j] = this_phase / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/coherence.py:200: RuntimeWarning: divide by zero encountered in true_divide
>     delay[i, j] = this_phase / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/cohere.py:699: RuntimeWarning: divide by zero encountered in true_divide
>     return (((np.abs(Rxy - Rxr * Rry)) ** 2) /
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_CoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/cohere.py:699: RuntimeWarning: invalid value encountered in true_divide
>     return (((np.abs(Rxy - Rxr * Rry)) ** 2) /
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SparseCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/coherence.py:523: RuntimeWarning: invalid value encountered in true_divide
>     return self.relative_phases / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/coherence.py:659: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     self.frequencies.shape[0]), dtype=np.complex)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/coherence.py:656: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     self.frequencies.shape[0]), dtype=np.complex)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/coherence.py:730: RuntimeWarning: invalid value encountered in true_divide
>     return self.relative_phases / (2 * np.pi * self.frequencies)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_coherence.py::test_SeedCoherenceAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/coherence.py:94: RuntimeWarning: In nitime.analysis, the provided input time-series is shorter than the requested NFFT + n_overlap. All coherence values will be set to 1.
>     warnings.warn(e_s, RuntimeWarning)
> 
> .pybuild/cpython3_3.10/build/nitime/analysis/tests/test_correlation.py::test_SeedCorrelationAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/analysis/correlation.py:150: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     self.target.data.shape[0]), dtype=np.float)
> 
> .pybuild/cpython3_3.10/build/nitime/fmri/tests/test_io.py: 10 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri/io.py:121: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
>   
>   * deprecated from version: 3.0
>   * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
>     data = im.get_data()
> 
> .pybuild/cpython3_3.10/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
> .pybuild/cpython3_3.10/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
> .pybuild/cpython3_3.10/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
> .pybuild/cpython3_3.10/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri/io.py:91: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
>   
>   * deprecated from version: 3.0
>   * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
>     data = im.get_data()
> 
> .pybuild/cpython3_3.10/build/nitime/fmri/tests/test_io.py::test_time_series_from_file
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/fmri/tests/test_io.py:68: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).
>   
>   * deprecated from version: 3.0
>   * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
>     data = io.load(fmri_file1).get_data()
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py::test_scipy_resample
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py:27: DeprecationWarning: Please use `resample` from the `scipy.signal` namespace, the `scipy.signal.signaltools` namespace is deprecated.
>     t_up = signaltools.resample(tst, 128)
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py::test_scipy_resample
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py:30: DeprecationWarning: Please use `resample` from the `scipy.signal` namespace, the `scipy.signal.signaltools` namespace is deprecated.
>     t_dn = signaltools.resample(tst, 32)
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py::test_scipy_resample
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py:36: DeprecationWarning: Please use `resample` from the `scipy.signal` namespace, the `scipy.signal.signaltools` namespace is deprecated.
>     t_dn2 = signaltools.resample(tst, 48)
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py::test_psd_matlab
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests/test_algorithms.py:148: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
>   Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     ts0 = ts[1] + ts[0] * np.complex(0, 1)
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_analysis.py::test_MorletWaveletAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/wavelet.py:77: RuntimeWarning: divide by zero encountered in log
>     wf = (2 * np.exp(-(np.log(f) - np.log(f0)) ** 2 / (2 * sfl ** 2)) *
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_analysis.py::test_MorletWaveletAnalyzer
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/algorithms/wavelet.py:77: RuntimeWarning: invalid value encountered in log
>     wf = (2 * np.exp(-(np.log(f) - np.log(f0)) ** 2 / (2 * sfl ** 2)) *
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_lazy.py::test_lazy_noreload
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/tests/test_lazy.py:40: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
>     import imp
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_viz.py::test_drawgraph_channels
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/nitime/viz.py:681: DeprecationWarning: adj_matrix is deprecated and will be removed in version 3.0.
>   Use `adjacency_matrix` instead
>   
>     amat = nx.adj_matrix(G).A  # get a normal array out of it
> 
> .pybuild/cpython3_3.10/build/nitime/tests/test_viz.py: 45 warnings
>   /usr/lib/python3/dist-packages/networkx/drawing/nx_pylab.py:717: MatplotlibDeprecationWarning: Passing *transOffset* without *offsets* has no effect. This behavior is deprecated since 3.5 and in 3.6, *transOffset* will begin having an effect regardless of *offsets*. In the meantime, if you wish to set *transOffset*, call collection.set_offset_transform(transOffset) explicitly.
>     edge_collection = mpl.collections.LineCollection(
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info ============================
> FAILED nitime/tests/test_analysis.py::test_FilterAnalyzer - ValueError: Value...
> =========== 1 failed, 121 passed, 1 skipped, 157 warnings in 31.85s ============
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/nitime_0.9-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Debian-med-packaging mailing list