Package: src:lmfit-py
Version: 1.2.2-2
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
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p "3.12 3.11"
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p "3.12 3.11"
I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build" 
module
I: pybuild base:310: 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
creating build
creating build/lib
creating build/lib/lmfit
copying lmfit/__init__.py -> build/lib/lmfit
copying lmfit/confidence.py -> build/lib/lmfit
copying lmfit/version.py -> build/lib/lmfit
copying lmfit/models.py -> build/lib/lmfit
copying lmfit/printfuncs.py -> build/lib/lmfit
copying lmfit/_ampgo.py -> build/lib/lmfit
copying lmfit/parameter.py -> build/lib/lmfit
copying lmfit/minimizer.py -> build/lib/lmfit
copying lmfit/jsonutils.py -> build/lib/lmfit
copying lmfit/conf_emcee.py -> build/lib/lmfit
copying lmfit/model.py -> build/lib/lmfit
copying lmfit/lineshapes.py -> build/lib/lmfit
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/__init__.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/confidence.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/models.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/_ampgo.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
copying build/lib/lmfit/jsonutils.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/model.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/lineshapes.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-8rugln1l/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:122: Unpacking wheel built for python3.12 with 
"installer" module
I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
module
I: pybuild base:310: python3.11 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit
* Building wheel...
running bdist_wheel
running build
running build_py
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/__init__.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/confidence.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/models.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/_ampgo.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
copying build/lib/lmfit/jsonutils.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/model.py -> build/bdist.linux-x86_64/wheel/lmfit
copying build/lib/lmfit/lineshapes.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.11_lmfit/.tmp-s3otg8hv/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:122: Unpacking wheel built for python3.11 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
        pybuild --test --test-pytest -i python{version} -p "3.12 3.11"
I: pybuild pybuild:314: cp -r NIST_STRD examples 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build
I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build; 
python3.12 -m pytest tests
ImportError while loading conftest 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build/tests/conftest.py'.
tests/conftest.py:6: in <module>
    import lmfit
lmfit/__init__.py:38: in <module>
    from .confidence import conf_interval, conf_interval2d
lmfit/confidence.py:6: in <module>
    from scipy.optimize import root_scalar
/usr/lib/python3/dist-packages/scipy/__init__.py:159: in <module>
    raise ImportError(msg) from e
E   ImportError: The `scipy` install you are using seems to be broken, 
(extension modules cannot be imported), please try reinstalling.
E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=4: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lmfit/build; python3.12 -m pytest tests
I: pybuild pybuild:314: cp -r NIST_STRD examples 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build
I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build; 
python3.11 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: cov-4.1.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 ===============================
../../../../../../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_manypeaks_speed.py:15
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_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.11_lmfit/build/tests/test_model.py::test_make_params_valuetypes
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit/model.py:686: 
ComplexWarning: Casting complex values to real discards the imaginary part
    dval = {'value': float(val)}

.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 <tests.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 <tests.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 <tests.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 <tests.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 <tests.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 <tests.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 <tests.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 <tests.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 <tests.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 <tests.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 <tests.test_nose.CommonMinimizerTest 
testMethod=test_emcee_seed>>)
    return self.run(*args, **kwds)

.pybuild/cpython3_3.11_lmfit/build/tests/test_nose.py::CommonMinimizerTest::test_scalar_minimizers
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/lmfit/minimizer.py:979: 
DeprecationWarning: 'maxiter' has been deprecated in favor of 'maxfun' and will be removed 
in SciPy 1.11.0.
    ret = scipy_minimize(self.penalty, variables, **fmin_kws)

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

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

=========== 642 passed, 12 skipped, 15 warnings in 74.88s (0:01:14) ============
I: pybuild pybuild:340: rm -fr /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/NIST_STRD 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build/examples; find 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lmfit/build -name "*.sav" -delete
        rm -fr -- /tmp/dh-xdg-rundir-Oz_xUhDB
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.11" returned exit code 13
make: *** [debian/rules:13: binary] Error 25
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/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using 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.

Reply via email to