Source: scipy
Version: 1.8.1-14
Severity: serious
X-Debbugs-CC: nu...@packages.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:numpy

Dear maintainer(s),

With a recent upload of numpy the autopkgtest of scipy fails in testing when that autopkgtest is run with the binary packages of numpy from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
numpy                  from testing    1:1.23.5-2
scipy                  from testing    1.8.1-14
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of numpy to testing [1]. Of course, numpy shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in numpy was intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from numpy should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=numpy

https://ci.debian.net/data/autopkgtest/testing/armel/s/scipy/29447608/log.gz

skipping tests with SKIP_TEST_LIST=
=== Testing: python3.10  ===
============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.10
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest-lxc.81kfm6nh/downtmp/build.dRh/src, configfile: pytest.ini collecting ... collected 49779 items / 1 error / 12514 deselected / 1 skipped / 37265 selected

==================================== ERRORS ==================================== __________ ERROR collecting _build_utils/tests/test_scipy_version.py ___________
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
        level      = 0
        name       = 'scipy._build_utils.tests.test_scipy_version'
        package    = None
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
        level      = 0
        name       = 'scipy._build_utils.tests.test_scipy_version'
        package    = None
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
        import_    = <function _gcd_import at 0xf7538df0>
        module     = <object object at 0xf7597038>
        name       = 'scipy._build_utils.tests.test_scipy_version'
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
    ???
        import_    = <function _gcd_import at 0xf7538df0>
        name       = 'scipy._build_utils.tests.test_scipy_version'
        parent     = 'scipy._build_utils.tests'
        path       = None
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
        args       = ('scipy._build_utils.tests',)
        f          = <function _gcd_import at 0xf7538df0>
        kwds       = {}
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
        level      = 0
        name       = 'scipy._build_utils.tests'
        package    = None
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
        import_    = <function _gcd_import at 0xf7538df0>
        module     = <object object at 0xf7597038>
        name       = 'scipy._build_utils.tests'
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
    ???
        import_    = <function _gcd_import at 0xf7538df0>
        name       = 'scipy._build_utils.tests'
        parent     = 'scipy._build_utils'
        path       = None
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
        args       = ('scipy._build_utils',)
        f          = <function _gcd_import at 0xf7538df0>
        kwds       = {}
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
        level      = 0
        name       = 'scipy._build_utils'
        package    = None
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
        import_    = <function _gcd_import at 0xf7538df0>
        module     = <object object at 0xf7597038>
        name       = 'scipy._build_utils'
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
        import_    = <function _gcd_import at 0xf7538df0>
        name       = 'scipy._build_utils'
        parent     = 'scipy'
parent_module = <module 'scipy' from '/usr/lib/python3/dist-packages/scipy/__init__.py'>
        path       = ['/usr/lib/python3/dist-packages/scipy']
spec = ModuleSpec(name='scipy._build_utils', loader=<_frozen_importlib_external.SourceFileLoader object at 0xf5035dd8>, origi...ages/scipy/_build_utils/__init__.py', submodule_search_locations=['/usr/lib/python3/dist-packages/scipy/_build_utils'])
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
module = <module 'scipy._build_utils' from '/usr/lib/python3/dist-packages/scipy/_build_utils/__init__.py'> spec = ModuleSpec(name='scipy._build_utils', loader=<_frozen_importlib_external.SourceFileLoader object at 0xf5035dd8>, origi...ages/scipy/_build_utils/__init__.py', submodule_search_locations=['/usr/lib/python3/dist-packages/scipy/_build_utils'])
<frozen importlib._bootstrap_external>:883: in exec_module
    ???
code = <code object <module> at 0xf503cab0, file "/usr/lib/python3/dist-packages/scipy/_build_utils/__init__.py", line 1> module = <module 'scipy._build_utils' from '/usr/lib/python3/dist-packages/scipy/_build_utils/__init__.py'> self = <_frozen_importlib_external.SourceFileLoader object at 0xf5035dd8>
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
args = (<code object <module> at 0xf503cab0, file "/usr/lib/python3/dist-packages/scipy/_build_utils/__init__.py", line 1>, {..._.cpython-310.pyc', '__doc__': None, '__file__': '/usr/lib/python3/dist-packages/scipy/_build_utils/__init__.py', ...})
        f          = <built-in function exec>
        kwds       = {}
/usr/lib/python3/dist-packages/scipy/_build_utils/__init__.py:4: in <module>
    from ._fortran import *
        __builtins__ = <builtins>
__cached__ = '/usr/lib/python3/dist-packages/scipy/_build_utils/__pycache__/__init__.cpython-310.pyc'
        __doc__    = None
__file__ = '/usr/lib/python3/dist-packages/scipy/_build_utils/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0xf5035dd8>
        __name__   = 'scipy._build_utils'
        __package__ = 'scipy._build_utils'
        __path__   = ['/usr/lib/python3/dist-packages/scipy/_build_utils']
__spec__ = ModuleSpec(name='scipy._build_utils', loader=<_frozen_importlib_external.SourceFileLoader object at 0xf5035dd8>, origi...ages/scipy/_build_utils/__init__.py', submodule_search_locations=['/usr/lib/python3/dist-packages/scipy/_build_utils']) np = <module 'numpy' from '/usr/lib/python3/dist-packages/numpy/__init__.py'>
        os         = <module 'os' from '/usr/lib/python3.10/os.py'>
/usr/lib/python3/dist-packages/scipy/_build_utils/_fortran.py:8: in <module>
    from .system_info import combine_dict
        __builtins__ = <builtins>
__cached__ = '/usr/lib/python3/dist-packages/scipy/_build_utils/__pycache__/_fortran.cpython-310.pyc'
        __doc__    = None
__file__ = '/usr/lib/python3/dist-packages/scipy/_build_utils/_fortran.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0xf5035d18>
        __name__   = 'scipy._build_utils._fortran'
        __package__ = 'scipy._build_utils'
__spec__ = ModuleSpec(name='scipy._build_utils._fortran', loader=<_frozen_importlib_external.SourceFileLoader object at 0xf5035d18>, origin='/usr/lib/python3/dist-packages/scipy/_build_utils/_fortran.py')
        __warningregistry__ = {'version': 38}
        get_platform = <function get_platform at 0xf5050730>
np = <module 'numpy' from '/usr/lib/python3/dist-packages/numpy/__init__.py'>
        os         = <module 'os' from '/usr/lib/python3.10/os.py'>
        re         = <module 're' from '/usr/lib/python3.10/re.py'>
        sys        = <module 'sys' (built-in)>
/usr/lib/python3/dist-packages/scipy/_build_utils/system_info.py:4: in <module>
    import numpy.distutils.system_info
        __builtins__ = <builtins>
__cached__ = '/usr/lib/python3/dist-packages/scipy/_build_utils/__pycache__/system_info.cpython-310.pyc'
        __doc__    = None
__file__ = '/usr/lib/python3/dist-packages/scipy/_build_utils/system_info.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0xf5056d78>
        __name__   = 'scipy._build_utils.system_info'
        __package__ = 'scipy._build_utils'
__spec__ = ModuleSpec(name='scipy._build_utils.system_info', loader=<_frozen_importlib_external.SourceFileLoader object at 0xf5056d78>, origin='/usr/lib/python3/dist-packages/scipy/_build_utils/system_info.py')
        __warningregistry__ = {'version': 38}
np = <module 'numpy' from '/usr/lib/python3/dist-packages/numpy/__init__.py'> warnings = <module 'warnings' from '/usr/lib/python3.10/warnings.py'>
/usr/lib/python3/dist-packages/numpy/distutils/__init__.py:31: in <module>
    warnings.warn("\n\n"
E DeprecationWarning: E E `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
E     of the deprecation of `distutils` itself. It will be removed for
E     Python >= 3.12. For older Python versions it will remain present.
E It is recommended to use `setuptools < 60.0` for those Python versions.
E     For more details, see:
E       https://numpy.org/devdocs/reference/distutils_status_migration.html
        FormatError = <class 'numpy.distutils.npy_pkg_config.FormatError'>
        LibraryInfo = <class 'numpy.distutils.npy_pkg_config.LibraryInfo'>
        PkgNotFound = <class 'numpy.distutils.npy_pkg_config.PkgNotFound'>
        VariableSet = <class 'numpy.distutils.npy_pkg_config.VariableSet'>
        __builtins__ = <builtins>
__cached__ = '/usr/lib/python3/dist-packages/numpy/distutils/__pycache__/__init__.cpython-310.pyc' __doc__ = '\nAn enhanced distutils, providing support for Fortran compilers, for BLAS,\nLAPACK and other common libraries for nu...de paths and similar build options, please see\n``site.cfg.example`` in the root of the NumPy repository or sdist.\n\n' __file__ = '/usr/lib/python3/dist-packages/numpy/distutils/__init__.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0xf5056ec8>
        __name__   = 'numpy.distutils'
        __package__ = 'numpy.distutils'
        __path__   = ['/usr/lib/python3/dist-packages/numpy/distutils']
__spec__ = ModuleSpec(name='numpy.distutils', loader=<_frozen_importlib_external.SourceFileLoader object at 0xf5056ec8>, origin='...t-packages/numpy/distutils/__init__.py', submodule_search_locations=['/usr/lib/python3/dist-packages/numpy/distutils']) ccompiler = <module 'numpy.distutils.ccompiler' from '/usr/lib/python3/dist-packages/numpy/distutils/ccompiler.py'> exec_command = <module 'numpy.distutils.exec_command' from '/usr/lib/python3/dist-packages/numpy/distutils/exec_command.py'> log = <module 'numpy.distutils.log' from '/usr/lib/python3/dist-packages/numpy/distutils/log.py'> misc_util = <module 'numpy.distutils.misc_util' from '/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py'> npy_pkg_config = <module 'numpy.distutils.npy_pkg_config' from '/usr/lib/python3/dist-packages/numpy/distutils/npy_pkg_config.py'>
        parse_flags = <function parse_flags at 0xf4f21bb0>
        read_config = <function read_config at 0xf4f468e0>
unixccompiler = <module 'numpy.distutils.unixccompiler' from '/usr/lib/python3/dist-packages/numpy/distutils/unixccompiler.py'> warnings = <module 'warnings' from '/usr/lib/python3.10/warnings.py'> =========================== short test summary info ============================ ERROR ../../_build_utils/tests/test_scipy_version.py - DeprecationWarning: !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ================ 1 skipped, 12514 deselected, 1 error in 18.91s ================
autopkgtest [08:17:44]: test python3

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to