Bug#1090242: lmfit-py: FTBFS: Invalid `intersphinx_mapping` configuration (1 error).

Santiago Vila sanvila at debian.org
Mon Dec 16 17:50:54 GMT 2024


Package: src:lmfit-py
Version: 1.2.2-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp -a lmfit/version.py lmfit/version.py.orig
dh_auto_configure
	pybuild --configure -i python{version} -p "3.13 3.12"
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=pybuild
	pybuild --build -i python{version} -p "3.13 3.12"
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit  
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/lmfit
copying lmfit/confidence.py -> build/lib/lmfit
copying lmfit/model.py -> build/lib/lmfit
copying lmfit/models.py -> build/lib/lmfit
copying lmfit/jsonutils.py -> build/lib/lmfit
copying lmfit/__init__.py -> build/lib/lmfit
copying lmfit/printfuncs.py -> build/lib/lmfit
copying lmfit/conf_emcee.py -> build/lib/lmfit
copying lmfit/lineshapes.py -> build/lib/lmfit
copying lmfit/_ampgo.py -> build/lib/lmfit
copying lmfit/version.py -> build/lib/lmfit
copying lmfit/parameter.py -> build/lib/lmfit
copying lmfit/minimizer.py -> build/lib/lmfit
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/confidence.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/model.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/models.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/jsonutils.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/__init__.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/printfuncs.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/conf_emcee.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/lineshapes.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/_ampgo.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/version.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/parameter.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/minimizer.py -> build/bdist.linux-x86_64/wheel/./lmfit
running install_egg_info
running egg_info
writing lmfit.egg-info/PKG-INFO
writing dependency_links to lmfit.egg-info/dependency_links.txt
writing requirements to lmfit.egg-info/requires.txt
writing top-level names to lmfit.egg-info/top_level.txt
reading manifest file 'lmfit.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'AUTHORS.txt'
writing manifest file 'lmfit.egg-info/SOURCES.txt'
Copying lmfit.egg-info to build/bdist.linux-x86_64/wheel/./lmfit-1.2.2.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/lmfit-1.2.2.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/.tmp-ht18v7dx/lmfit-1.2.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'lmfit/__init__.py'
adding 'lmfit/_ampgo.py'
adding 'lmfit/conf_emcee.py'
adding 'lmfit/confidence.py'
adding 'lmfit/jsonutils.py'
adding 'lmfit/lineshapes.py'
adding 'lmfit/minimizer.py'
adding 'lmfit/model.py'
adding 'lmfit/models.py'
adding 'lmfit/parameter.py'
adding 'lmfit/printfuncs.py'
adding 'lmfit/version.py'
adding 'lmfit-1.2.2.dist-info/AUTHORS.txt'
adding 'lmfit-1.2.2.dist-info/LICENSE'
adding 'lmfit-1.2.2.dist-info/METADATA'
adding 'lmfit-1.2.2.dist-info/WHEEL'
adding 'lmfit-1.2.2.dist-info/top_level.txt'
adding 'lmfit-1.2.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built lmfit-1.2.2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit  
* Building wheel...
running bdist_wheel
running build
running build_py
copying lmfit/version.py -> build/lib/lmfit
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/confidence.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/model.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/models.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/jsonutils.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/__init__.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/printfuncs.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/conf_emcee.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/lineshapes.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/_ampgo.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/version.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/parameter.py -> build/bdist.linux-x86_64/wheel/./lmfit
copying build/lib/lmfit/minimizer.py -> build/bdist.linux-x86_64/wheel/./lmfit
running install_egg_info
running egg_info
writing lmfit.egg-info/PKG-INFO
writing dependency_links to lmfit.egg-info/dependency_links.txt
writing requirements to lmfit.egg-info/requires.txt
writing top-level names to lmfit.egg-info/top_level.txt
reading manifest file 'lmfit.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'AUTHORS.txt'
writing manifest file 'lmfit.egg-info/SOURCES.txt'
Copying lmfit.egg-info to build/bdist.linux-x86_64/wheel/./lmfit-1.2.2.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/lmfit-1.2.2.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/.tmp-kpqmj6yc/lmfit-1.2.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'lmfit/__init__.py'
adding 'lmfit/_ampgo.py'
adding 'lmfit/conf_emcee.py'
adding 'lmfit/confidence.py'
adding 'lmfit/jsonutils.py'
adding 'lmfit/lineshapes.py'
adding 'lmfit/minimizer.py'
adding 'lmfit/model.py'
adding 'lmfit/models.py'
adding 'lmfit/parameter.py'
adding 'lmfit/printfuncs.py'
adding 'lmfit/version.py'
adding 'lmfit-1.2.2.dist-info/AUTHORS.txt'
adding 'lmfit-1.2.2.dist-info/LICENSE'
adding 'lmfit-1.2.2.dist-info/METADATA'
adding 'lmfit-1.2.2.dist-info/WHEEL'
adding 'lmfit-1.2.2.dist-info/top_level.txt'
adding 'lmfit-1.2.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built lmfit-1.2.2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
   dh_auto_test -O--buildsystem=pybuild
	pybuild --test --test-pytest -i python{version} -p "3.13 3.12"
I: pybuild pybuild:308: cp -r NIST_STRD examples /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build; python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1, cov-5.0.0
collected 654 items

tests/test_1variable.py .                                                [  0%]
tests/test_NIST_Strd.py ...........................                      [  4%]
tests/test_algebraic_constraint.py ....                                  [  4%]
tests/test_ampgo.py ............                                         [  6%]
tests/test_basicfit.py .                                                 [  6%]
tests/test_basinhopping.py .....                                         [  7%]
tests/test_bounded_jacobian.py ..                                        [  7%]
tests/test_bounds.py .                                                   [  8%]
tests/test_brute.py ............                                         [  9%]
tests/test_builtin_models.py .......                                     [ 11%]
tests/test_confidence.py .............                                   [ 12%]
tests/test_covariance_matrix.py ..ssssssss.                              [ 14%]
tests/test_custom_independentvar.py .                                    [ 14%]
tests/test_default_kws.py .                                              [ 14%]
tests/test_dual_annealing.py ...                                         [ 15%]
tests/test_itercb.py ....................                                [ 18%]
tests/test_jsonutils.py .................                                [ 21%]
tests/test_least_squares.py .....                                        [ 21%]
tests/test_lineshapes.py ............................................... [ 29%]
..........................................                               [ 35%]
tests/test_manypeaks_speed.py .                                          [ 35%]
tests/test_max_nfev.py ...........................                       [ 39%]
tests/test_minimizer.py ...............                                  [ 42%]
tests/test_model.py .................................................... [ 50%]
........................................................................ [ 61%]
.....s....s.............................................                 [ 69%]
tests/test_model_saveload.py ......................                      [ 72%]
tests/test_model_uncertainties.py .....                                  [ 73%]
tests/test_models.py ........                                            [ 74%]
tests/test_multidatasets.py .                                            [ 75%]
tests/test_nose.py ...................s......                            [ 79%]
tests/test_pandas.py ..                                                  [ 79%]
tests/test_parameter.py ................................................ [ 86%]
..........                                                               [ 88%]
tests/test_parameters.py ...............................                 [ 92%]
tests/test_params_uvars.py ...                                           [ 93%]
tests/test_printfuncs.py ............................s......             [ 98%]
tests/test_shgo.py ......                                                [ 99%]
tests/test_stepmodel.py ..                                               [100%]

=============================== warnings summary ===============================
tests/test_manypeaks_speed.py:15
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/tests/test_manypeaks_speed.py:15: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.flaky(max_runs=5)

.pybuild/cpython3_3.13_lmfit/build/tests/test_jsonutils.py::test_encode_decode_pandas
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/lmfit/jsonutils.py:130: FutureWarning: Passing literal json to 'read_json' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
    out = read_json(obj['value'])

.pybuild/cpython3_3.13_lmfit/build/tests/test_jsonutils.py::test_encode_decode_pandas
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/lmfit/jsonutils.py:132: FutureWarning: Passing literal json to 'read_json' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
    out = read_json(obj['value'], typ='series')

.pybuild/cpython3_3.13_lmfit/build/tests/test_model.py::test_coercion_of_input_data[pandas-complex]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/lmfit/model.py:818: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary.  Use `to_numpy()` for conversion to a numpy array instead.
    diff = diff.ravel().view(float)

.pybuild/cpython3_3.13_lmfit/build/tests/test_model.py::test_make_params_valuetypes
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/lmfit/model.py:686: ComplexWarning: Casting complex values to real discards the imaginary part
    dval = {'value': float(val)}

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_coerce_float64
.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_scalar_minimizers
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/lmfit/minimizer.py:979: OptimizeWarning: Unknown solver options: maxiter
    ret = scipy_minimize(self.penalty, variables, **fmin_kws)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_bounds_length
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_bounds_length of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_bounds_length>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_custom_pool
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_custom_pool of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_custom_pool>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_float
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_float of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_float>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_init_with_chain
  /usr/lib/python3.13/unittest/case.py:707: 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 <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_init_with_chain>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_method_kwarg
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_method_kwarg of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_method_kwarg>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_ntemps
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_ntemps of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_ntemps>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_output
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_output of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_output>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_partial_bounds
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_partial_bounds of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_partial_bounds>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_reuse_sampler
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_reuse_sampler of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_reuse_sampler>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.13_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_seed
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_seed of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_seed>>)
    return self.run(*args, **kwds)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.13.1-final-0 -----------
Coverage HTML written to dir htmlcov

================ 642 passed, 12 skipped, 18 warnings in 53.10s =================
I: pybuild pybuild:334: rm -fr /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/NIST_STRD /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build/examples; find /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lmfit/build -name "*.sav" -delete
I: pybuild pybuild:308: cp -r NIST_STRD examples /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build; python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1, cov-5.0.0
collected 654 items

tests/test_1variable.py .                                                [  0%]
tests/test_NIST_Strd.py ...........................                      [  4%]
tests/test_algebraic_constraint.py ....                                  [  4%]
tests/test_ampgo.py ............                                         [  6%]
tests/test_basicfit.py .                                                 [  6%]
tests/test_basinhopping.py .....                                         [  7%]
tests/test_bounded_jacobian.py ..                                        [  7%]
tests/test_bounds.py .                                                   [  8%]
tests/test_brute.py ............                                         [  9%]
tests/test_builtin_models.py .......                                     [ 11%]
tests/test_confidence.py .............                                   [ 12%]
tests/test_covariance_matrix.py ..ssssssss.                              [ 14%]
tests/test_custom_independentvar.py .                                    [ 14%]
tests/test_default_kws.py .                                              [ 14%]
tests/test_dual_annealing.py ...                                         [ 15%]
tests/test_itercb.py ....................                                [ 18%]
tests/test_jsonutils.py .................                                [ 21%]
tests/test_least_squares.py .....                                        [ 21%]
tests/test_lineshapes.py ............................................... [ 29%]
..........................................                               [ 35%]
tests/test_manypeaks_speed.py .                                          [ 35%]
tests/test_max_nfev.py ...........................                       [ 39%]
tests/test_minimizer.py ...............                                  [ 42%]
tests/test_model.py .................................................... [ 50%]
........................................................................ [ 61%]
.....s....s.............................................                 [ 69%]
tests/test_model_saveload.py ......................                      [ 72%]
tests/test_model_uncertainties.py .....                                  [ 73%]
tests/test_models.py ........                                            [ 74%]
tests/test_multidatasets.py .                                            [ 75%]
tests/test_nose.py ...................s......                            [ 79%]
tests/test_pandas.py ..                                                  [ 79%]
tests/test_parameter.py ................................................ [ 86%]
..........                                                               [ 88%]
tests/test_parameters.py ...............................                 [ 92%]
tests/test_params_uvars.py ...                                           [ 93%]
tests/test_printfuncs.py ............................s......             [ 98%]
tests/test_shgo.py ......                                                [ 99%]
tests/test_stepmodel.py ..                                               [100%]

=============================== warnings summary ===============================
tests/test_manypeaks_speed.py:15
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/tests/test_manypeaks_speed.py:15: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.flaky(max_runs=5)

.pybuild/cpython3_3.12_lmfit/build/tests/test_jsonutils.py::test_encode_decode_pandas
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/lmfit/jsonutils.py:130: FutureWarning: Passing literal json to 'read_json' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
    out = read_json(obj['value'])

.pybuild/cpython3_3.12_lmfit/build/tests/test_jsonutils.py::test_encode_decode_pandas
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/lmfit/jsonutils.py:132: FutureWarning: Passing literal json to 'read_json' is deprecated and will be removed in a future version. To read from a literal string, wrap it in a 'StringIO' object.
    out = read_json(obj['value'], typ='series')

.pybuild/cpython3_3.12_lmfit/build/tests/test_model.py::test_coercion_of_input_data[pandas-complex]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/lmfit/model.py:818: FutureWarning: Series.ravel is deprecated. The underlying array is already 1D, so ravel is not necessary.  Use `to_numpy()` for conversion to a numpy array instead.
    diff = diff.ravel().view(float)

.pybuild/cpython3_3.12_lmfit/build/tests/test_model.py::test_make_params_valuetypes
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/lmfit/model.py:686: ComplexWarning: Casting complex values to real discards the imaginary part
    dval = {'value': float(val)}

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_coerce_float64
.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_scalar_minimizers
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/lmfit/minimizer.py:979: OptimizeWarning: Unknown solver options: maxiter
    ret = scipy_minimize(self.penalty, variables, **fmin_kws)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_bounds_length
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_bounds_length of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_bounds_length>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_custom_pool
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_custom_pool of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_custom_pool>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_float
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_float of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_float>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_init_with_chain
  /usr/lib/python3.12/unittest/case.py:690: 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 <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_init_with_chain>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_method_kwarg
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_method_kwarg of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_method_kwarg>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_ntemps
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_ntemps of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_ntemps>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_output
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_output of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_output>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_partial_bounds
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_partial_bounds of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_partial_bounds>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_reuse_sampler
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_reuse_sampler of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_reuse_sampler>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.12_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_emcee_seed
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method CommonMinimizerTest.test_emcee_seed of <tests.test_nose.CommonMinimizerTest testMethod=test_emcee_seed>>)
    return self.run(*args, **kwds)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.12.8-final-0 -----------
Coverage HTML written to dir htmlcov

================ 642 passed, 12 skipped, 18 warnings in 58.87s =================
I: pybuild pybuild:334: rm -fr /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/NIST_STRD /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/examples; find /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build -name "*.sav" -delete
	rm -fr -- /tmp/dh-xdg-rundir-if2qQ_LZ
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
	rm -f -- debian/python3-lmfit.substvars debian/python-lmfit-doc.substvars
	rm -fr -- debian/.debhelper/generated/python3-lmfit/ debian/python3-lmfit/ debian/tmp/ debian/.debhelper/generated/python-lmfit-doc/ debian/python-lmfit-doc/
   dh_auto_install -O--buildsystem=pybuild
	install -m0755 -d /<<PKGBUILDDIR>>/debian/tmp
	pybuild --install -i python{version} -p "3.13 3.12" --dest-dir /<<PKGBUILDDIR>>/debian/tmp
I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir
	rm -f debian/python-lmfit-doc.debhelper.log debian/python3-lmfit.debhelper.log
   debian/rules override_dh_installdocs-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mv examples/example_emcee_Model_interface.py examples/nodoc_example_emcee_Model_interface.py
cp doc/sphinx/ext_mathjax.py doc/extensions.py
PYTHONPATH=. http_proxy='localhost' python3 -m sphinx -N -bhtml -D mathjax_path="/usr/share/javascript/mathjax/MathJax.js" doc/ .pybuild/html  # HTML generator
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
Using Sphinx-Gallery to convert rst text blocks to markdown for .ipynb files.
ERROR: Invalid target URI value `'https://matplotlib.org/stable/'` in intersphinx_mapping['matplotlib'][0]. Target URIs must be unique (other instance in intersphinx_mapping['scipy']).

Configuration error:
Invalid `intersphinx_mapping` configuration (1 error).
make[1]: *** [debian/rules:30: override_dh_installdocs-indep] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the debian-science-maintainers mailing list