[Debian-astro-maintainers] Bug#872011: photutils FTBFS with pytest 3.2.0

Adrian Bunk bunk at debian.org
Sun Aug 13 13:09:49 UTC 2017


Source: photutils
Version: 0.3.2-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/photutils.html

...
============================= test session starts ==============================
platform linux2 -- Python 2.7.13+, pytest-3.2.0, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python2.7
cachedir: ..

Running tests with photutils version 0.3.2.
Running tests in lib.linux-x86_64-2.7/photutils.

Date: 2017-08-12T20:33:33

Platform: Linux-4.9.0-3-amd64-x86_64-with-debian-buster-sid

Executable: /usr/bin/python2.7

Full Python Version: 
2.7.13+ (default, Jul 19 2017, 18:15:03) 
[GCC 6.4.0 20170704]

encodings: sys: ascii, locale: ANSI_X3.4-1968, filesystem: ANSI_X3.4-1968, unicode bits: 20
byteorder: little
float info: dig: 15, mant_dig: 15

Numpy: 1.12.1
Scipy: not available
Matplotlib: not available
Pandas: not available
Astropy: 2.0.1
scikit-image: not available
Using Astropy options: remote_data: none.

rootdir: /tmp/photutils-test-o_Rm6f, inifile: setup.cfg
collecting ... collected 1058 items / 1 errors

==================================== ERRORS ====================================
_ ERROR collecting lib.linux-x86_64-2.7/photutils/psf/tests/test_photometry.py _
/usr/lib/python2.7/dist-packages/_pytest/runner.py:191: in __init__
    self.result = func()
/usr/lib/python2.7/dist-packages/_pytest/runner.py:370: in <lambda>
    lambda: list(collector.collect()),
/usr/lib/python2.7/dist-packages/_pytest/python.py:389: in collect
    return super(Module, self).collect()
/usr/lib/python2.7/dist-packages/_pytest/python.py:330: in collect
    res = self.makeitem(name, obj)
/usr/lib/python2.7/dist-packages/_pytest/python.py:342: in makeitem
    collector=self, name=name, obj=obj)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:745: in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:339: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:334: in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:613: in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:250: in _wrapped_call
    wrap_controller.send(call_outcome)
/usr/lib/python2.7/dist-packages/_pytest/python.py:188: in pytest_pycollect_makeitem
    res = list(collector._genfunctions(name, obj))
/usr/lib/python2.7/dist-packages/_pytest/python.py:362: in _genfunctions
    self.ihook.pytest_generate_tests(metafunc=metafunc)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:745: in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:339: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:334: in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:614: in execute
    res = hook_impl.function(*args)
/usr/lib/python2.7/dist-packages/_pytest/python.py:113: in pytest_generate_tests
    metafunc.parametrize(*marker.args, **marker.kwargs)
/usr/lib/python2.7/dist-packages/_pytest/python.py:781: in parametrize
    for x in argvalues]
/usr/lib/python2.7/dist-packages/_pytest/mark.py:66: in extract_from
    warnings.warn(MARK_PARAMETERSET_UNPACKING)
E   RemovedInPytest4Warning: Applying marks directly to parameters is deprecated, please use pytest.param(..., marks=...) instead.
E   For more details, see: https://docs.pytest.org/en/latest/parametrize.html
=============================== warnings summary ===============================
None
  [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
===================== 1 warnings, 1 error in 7.49 seconds ======================
debian/rules:18: recipe for target 'test-python2.7' failed
make[1]: *** [test-python2.7] Error 2
make[1]: Leaving directory '/build/1st/photutils-0.3.2'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2



More information about the Debian-astro-maintainers mailing list