Bug#1026737: lmfit-py: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 20 17:28:59 GMT 2022


Source: lmfit-py
Version: 1.0.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 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 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> 	pybuild --configure -i python{version} -p "3.11 3.10"
> I: pybuild base:240: python3.11 setup.py config 
> running config
> I: pybuild base:240: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> 	pybuild --build -i python{version} -p "3.11 3.10"
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/jsonutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/models.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/minimizer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/model.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/printfuncs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/lineshapes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/confidence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/_ampgo.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/parameter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> copying lmfit/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit/_version.py to '1.0.2'
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/jsonutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/models.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/minimizer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/model.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/printfuncs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/lineshapes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/confidence.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/_ampgo.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/parameter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> copying lmfit/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit/_version.py to '1.0.2'
>    dh_auto_test -O--buildsystem=pybuild
> 	pybuild --test --test-pytest -i python{version} -p "3.11 3.10"
> I: pybuild pybuild:307: cp -r NIST_STRD examples /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build; python3.11 -m pytest -k 'not speed and not test_model_nan_policy'
> ============================= test session starts ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 578 items / 3 deselected / 575 selected
> 
> tests/test_1variable.py .                                                [  0%]
> tests/test_NIST_Strd.py ...........................                      [  4%]
> tests/test_algebraic_constraint.py ....                                  [  5%]
> tests/test_ampgo.py ............                                         [  7%]
> tests/test_basicfit.py .                                                 [  7%]
> tests/test_basinhopping.py .....                                         [  8%]
> tests/test_bounded_jacobian.py ..                                        [  9%]
> tests/test_bounds.py .                                                   [  9%]
> tests/test_brute.py ............                                         [ 11%]
> tests/test_builtin_models.py .......                                     [ 12%]
> tests/test_confidence.py .............                                   [ 14%]
> tests/test_covariance_matrix.py ..ssssssss.                              [ 16%]
> tests/test_custom_independentvar.py .                                    [ 16%]
> tests/test_default_kws.py .                                              [ 17%]
> tests/test_dual_annealing.py ...                                         [ 17%]
> tests/test_itercb.py ....F..                                             [ 18%]
> tests/test_jsonutils.py ................                                 [ 21%]
> tests/test_least_squares.py .....                                        [ 22%]
> tests/test_lineshapes.py ............................................... [ 30%]
> ................................                                         [ 36%]
> tests/test_max_nfev.py ...........................                       [ 40%]
> tests/test_minimizer.py .                                                [ 41%]
> tests/test_model.py .................................................... [ 50%]
> .....................................................s....s............. [ 62%]
> .............................                                            [ 67%]
> tests/test_model_uncertainties.py ....                                   [ 68%]
> tests/test_models.py ......                                              [ 69%]
> tests/test_multidatasets.py .                                            [ 69%]
> tests/test_nose.py ................s........                             [ 73%]
> tests/test_pandas.py .                                                   [ 74%]
> tests/test_parameter.py ................................................ [ 82%]
> ..........                                                               [ 84%]
> tests/test_parameters.py .............................                   [ 89%]
> tests/test_printfuncs.py .................................               [ 94%]
> tests/test_saveload.py .s.s................                              [ 98%]
> tests/test_shgo.py .......                                               [ 99%]
> tests/test_stepmodel.py ..                                               [100%]
> 
> =================================== FAILURES ===================================
> __________________________ test_itercb[leastsq-False] __________________________
> 
> method = 'leastsq', calc_covar = False
> 
>     @pytest.mark.parametrize("calc_covar", calc_covar_options)
>     @pytest.mark.parametrize("method", ['ampgo', 'brute', 'basinhopping',
>                                         'differential_evolution', 'leastsq',
>                                         'least_squares', 'nelder'])
>     def test_itercb(method, calc_covar):
>         """Test the iteration callback for all solvers."""
>         out = mod.fit(y, pars, x=x, method=method, iter_cb=per_iteration,
>                       calc_covar=calc_covar)
>     
> >       assert out.nfev == 23
> E       assert 20 == 23
> E        +  where 20 = <lmfit.model.ModelResult object at 0x7f21d4f3d110>.nfev
> 
> tests/test_itercb.py:47: AssertionError
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/past/builtins/misc.py:45
>   /usr/lib/python3/dist-packages/past/builtins/misc.py:45: 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
>     from imp import reload
> 
> tests/test_nose.py:430
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py:430: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     @dec.slow
> 
> tests/test_nose.py:441
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py:441: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     @dec.slow
> 
> tests/test_nose.py:461
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py:461: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     @dec.slow
> 
> tests/test_nose.py:483
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py:483: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     @dec.slow
> 
> tests/test_nose.py:588
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py:588: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     @dec.slow
> 
> tests/test_nose.py:612
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py:612: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     @dec.slow
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Bennett5
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Bennett5 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_BoxBOD
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_BoxBOD returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_DanWood
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_DanWood returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_ENSO
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_ENSO returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Eckerle4
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Eckerle4 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Gauss1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Gauss1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Gauss2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Gauss2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Gauss3
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Gauss3 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Hahn1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Hahn1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Kirby2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Kirby2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos3
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos3 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_MGH09
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_MGH09 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_MGH10
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_MGH10 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_MGH17
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_MGH17 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1a
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1a returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1b
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1b returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1c
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1c returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1d
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Misra1d returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Nelson
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Nelson returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Rat42
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Rat42 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Rat43
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Rat43 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Roszman1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Roszman1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Thurber
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_lmfit/build/tests/test_NIST_Strd.py::test_Thurber returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_dual_annealing.py::test_da_scipy_vs_lmfit
> .pybuild/cpython3_3.11_lmfit/build/tests/test_dual_annealing.py::test_da_Alpine02
> .pybuild/cpython3_3.11_lmfit/build/tests/test_dual_annealing.py::test_da_bounds
> .pybuild/cpython3_3.11_lmfit/build/tests/test_max_nfev.py::test_max_nfev_Minimizer[dual_annealing]
> .pybuild/cpython3_3.11_lmfit/build/tests/test_max_nfev.py::test_max_nfev_Model[dual_annealing]
> .pybuild/cpython3_3.11_lmfit/build/tests/test_max_nfev.py::test_default_max_nfev[dual_annealing-1200000]
> .pybuild/cpython3_3.11_lmfit/build/tests/test_max_nfev.py::test_default_max_nfev[dual_annealing-1200000]
> .pybuild/cpython3_3.11_lmfit/build/tests/test_saveload.py::test_saveload_modelresult_roundtrip[dual_annealing]
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit/minimizer.py:2243: DeprecationWarning: dual_annealing argument 'local_search_options' is deprecated in favor of 'minimizer_kwargs'
>     ret = scipy_dual_annealing(self.penalty, bounds, **da_kws)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_lineshapes.py::test_no_ZeroDivisionError_and_finite_output[donaich]
> .pybuild/cpython3_3.11_lmfit/build/tests/test_lineshapes.py::test_x_float_value[donaich]
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit/lineshapes.py:302: FutureWarning: Please correct the name of your lineshape function: donaich --> doniach. The incorrect spelling will be removed in a later release.
>     warnings.warn(FutureWarning(msg))
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_lineshapes.py::test_x_float_value[step]
> .pybuild/cpython3_3.11_lmfit/build/tests/test_lineshapes.py::test_x_float_value[rectangle]
>   <__array_function__ internals>:180: DeprecationWarning: Calling nonzero on 0d arrays is deprecated, as it behaves surprisingly. Use `atleast_1d(cond).nonzero()` if the old behavior was intended. If the context of this warning is of the form `arr[nonzero(cond)]`, just use `arr[cond]`.
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee of <test_nose.CommonMinimizerTest testMethod=test_emcee>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_bounds_length
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_bounds_length of <test_nose.CommonMinimizerTest testMethod=test_emcee_bounds_length>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_custom_pool
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_custom_pool of <test_nose.CommonMinimizerTest testMethod=test_emcee_custom_pool>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_float
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_float of <test_nose.CommonMinimizerTest testMethod=test_emcee_float>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_init_with_chain
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_init_with_chain of <test_nose.CommonMinimizerTest testMethod=test_emcee_init_with_chain>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_method_kwarg
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_method_kwarg of <test_nose.CommonMinimizerTest testMethod=test_emcee_method_kwarg>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_ntemps
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_ntemps of <test_nose.CommonMinimizerTest testMethod=test_emcee_ntemps>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_output
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_output of <test_nose.CommonMinimizerTest testMethod=test_emcee_output>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_partial_bounds
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_partial_bounds of <test_nose.CommonMinimizerTest testMethod=test_emcee_partial_bounds>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_reuse_sampler
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_reuse_sampler of <test_nose.CommonMinimizerTest testMethod=test_emcee_reuse_sampler>>)
>     return self.run(*args, **kwds)
> 
> .pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_seed
>   /usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_seed of <test_nose.CommonMinimizerTest testMethod=test_emcee_seed>>)
>     return self.run(*args, **kwds)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_itercb.py::test_itercb[leastsq-False] - assert 20 == 23
> = 1 failed, 561 passed, 13 skipped, 3 deselected, 57 warnings in 73.05s (0:01:13) =
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build; python3.11 -m pytest -k 'not speed and not test_model_nan_policy'
> I: pybuild pybuild:307: cp -r NIST_STRD examples /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build; python3.10 -m pytest -k 'not speed and not test_model_nan_policy'
> ============================= test session starts ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 578 items / 3 deselected / 575 selected
> 
> tests/test_1variable.py .                                                [  0%]
> tests/test_NIST_Strd.py ...........................                      [  4%]
> tests/test_algebraic_constraint.py ....                                  [  5%]
> tests/test_ampgo.py ............                                         [  7%]
> tests/test_basicfit.py .                                                 [  7%]
> tests/test_basinhopping.py .....                                         [  8%]
> tests/test_bounded_jacobian.py ..                                        [  9%]
> tests/test_bounds.py .                                                   [  9%]
> tests/test_brute.py ............                                         [ 11%]
> tests/test_builtin_models.py .......                                     [ 12%]
> tests/test_confidence.py .............                                   [ 14%]
> tests/test_covariance_matrix.py ..ssssssss.                              [ 16%]
> tests/test_custom_independentvar.py .                                    [ 16%]
> tests/test_default_kws.py .                                              [ 17%]
> tests/test_dual_annealing.py ...                                         [ 17%]
> tests/test_itercb.py ....F..                                             [ 18%]
> tests/test_jsonutils.py ................                                 [ 21%]
> tests/test_least_squares.py .....                                        [ 22%]
> tests/test_lineshapes.py ............................................... [ 30%]
> ................................                                         [ 36%]
> tests/test_max_nfev.py ...........................                       [ 40%]
> tests/test_minimizer.py .                                                [ 41%]
> tests/test_model.py .................................................... [ 50%]
> .....................................................s....s............. [ 62%]
> .............................                                            [ 67%]
> tests/test_model_uncertainties.py ....                                   [ 68%]
> tests/test_models.py ......                                              [ 69%]
> tests/test_multidatasets.py .                                            [ 69%]
> tests/test_nose.py ................s........                             [ 73%]
> tests/test_pandas.py .                                                   [ 74%]
> tests/test_parameter.py ................................................ [ 82%]
> ..........                                                               [ 84%]
> tests/test_parameters.py .............................                   [ 89%]
> tests/test_printfuncs.py .................................               [ 94%]
> tests/test_saveload.py .s.s................                              [ 98%]
> tests/test_shgo.py .......                                               [ 99%]
> tests/test_stepmodel.py ..                                               [100%]
> 
> =================================== FAILURES ===================================
> __________________________ test_itercb[leastsq-False] __________________________
> 
> method = 'leastsq', calc_covar = False
> 
>     @pytest.mark.parametrize("calc_covar", calc_covar_options)
>     @pytest.mark.parametrize("method", ['ampgo', 'brute', 'basinhopping',
>                                         'differential_evolution', 'leastsq',
>                                         'least_squares', 'nelder'])
>     def test_itercb(method, calc_covar):
>         """Test the iteration callback for all solvers."""
>         out = mod.fit(y, pars, x=x, method=method, iter_cb=per_iteration,
>                       calc_covar=calc_covar)
>     
> >       assert out.nfev == 23
> E       assert 20 == 23
> E        +  where 20 = <lmfit.model.ModelResult object at 0x7f9c656e28c0>.nfev
> 
> tests/test_itercb.py:47: AssertionError
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/past/builtins/misc.py:45
>   /usr/lib/python3/dist-packages/past/builtins/misc.py:45: 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
>     from imp import reload
> 
> tests/test_nose.py:431
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/tests/test_nose.py:431: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     def test_emcee(self):
> 
> tests/test_nose.py:442
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/tests/test_nose.py:442: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     def test_emcee_method_kwarg(self):
> 
> tests/test_nose.py:462
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/tests/test_nose.py:462: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     def test_emcee_multiprocessing(self):
> 
> tests/test_nose.py:484
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/tests/test_nose.py:484: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     def test_emcee_partial_bounds(self):
> 
> tests/test_nose.py:589
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/tests/test_nose.py:589: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     def test_emcee_float(self):
> 
> tests/test_nose.py:613
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/tests/test_nose.py:613: DeprecationWarning: the np.testing.dec decorators are included for nose support, and are deprecated since NumPy v1.21. Use the nose2 or pytest frameworks instead.
>     def test_emcee_seed(self):
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Bennett5
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Bennett5 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_BoxBOD
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_BoxBOD returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Chwirut2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_DanWood
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_DanWood returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_ENSO
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_ENSO returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Eckerle4
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Eckerle4 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Gauss1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Gauss1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Gauss2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Gauss2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Gauss3
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Gauss3 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Hahn1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Hahn1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Kirby2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Kirby2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos2
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos2 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos3
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Lanczos3 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_MGH09
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_MGH09 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_MGH10
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_MGH10 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_MGH17
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_MGH17 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1a
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1a returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1b
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1b returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1c
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1c returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1d
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Misra1d returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Nelson
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Nelson returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Rat42
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Rat42 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Rat43
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Rat43 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Roszman1
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Roszman1 returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Thurber
>   /usr/lib/python3/dist-packages/_pytest/python.py:199: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.10_lmfit/build/tests/test_NIST_Strd.py::test_Thurber returned True, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
>     warnings.warn(
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_dual_annealing.py::test_da_scipy_vs_lmfit
> .pybuild/cpython3_3.10_lmfit/build/tests/test_dual_annealing.py::test_da_Alpine02
> .pybuild/cpython3_3.10_lmfit/build/tests/test_dual_annealing.py::test_da_bounds
> .pybuild/cpython3_3.10_lmfit/build/tests/test_max_nfev.py::test_max_nfev_Minimizer[dual_annealing]
> .pybuild/cpython3_3.10_lmfit/build/tests/test_max_nfev.py::test_max_nfev_Model[dual_annealing]
> .pybuild/cpython3_3.10_lmfit/build/tests/test_max_nfev.py::test_default_max_nfev[dual_annealing-1200000]
> .pybuild/cpython3_3.10_lmfit/build/tests/test_max_nfev.py::test_default_max_nfev[dual_annealing-1200000]
> .pybuild/cpython3_3.10_lmfit/build/tests/test_saveload.py::test_saveload_modelresult_roundtrip[dual_annealing]
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit/minimizer.py:2243: DeprecationWarning: dual_annealing argument 'local_search_options' is deprecated in favor of 'minimizer_kwargs'
>     ret = scipy_dual_annealing(self.penalty, bounds, **da_kws)
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_lineshapes.py::test_no_ZeroDivisionError_and_finite_output[donaich]
> .pybuild/cpython3_3.10_lmfit/build/tests/test_lineshapes.py::test_x_float_value[donaich]
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build/lmfit/lineshapes.py:302: FutureWarning: Please correct the name of your lineshape function: donaich --> doniach. The incorrect spelling will be removed in a later release.
>     warnings.warn(FutureWarning(msg))
> 
> .pybuild/cpython3_3.10_lmfit/build/tests/test_lineshapes.py::test_x_float_value[step]
> .pybuild/cpython3_3.10_lmfit/build/tests/test_lineshapes.py::test_x_float_value[rectangle]
>   <__array_function__ internals>:180: DeprecationWarning: Calling nonzero on 0d arrays is deprecated, as it behaves surprisingly. Use `atleast_1d(cond).nonzero()` if the old behavior was intended. If the context of this warning is of the form `arr[nonzero(cond)]`, just use `arr[cond]`.
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_itercb.py::test_itercb[leastsq-False] - assert 20 == 23
> = 1 failed, 561 passed, 13 skipped, 3 deselected, 46 warnings in 71.76s (0:01:11) =
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_lmfit/build; python3.10 -m pytest -k 'not speed and not test_model_nan_policy'
> 	rm -fr -- /tmp/dh-xdg-rundir-EmbrPqEh
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/lmfit-py_1.0.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&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 mark 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-science-maintainers mailing list