[Debian-astro-maintainers] Bug#871995: astroscrappy FTBFS: AttributeError: 'NoneType' object has no attribute 'lineno'
Adrian Bunk
bunk at debian.org
Sun Aug 13 12:33:33 UTC 2017
Source: astroscrappy
Version: 1.0.5-1
Severity: serious
Tags: buster sid
Some recent change in unstable makes astroscrappy FTBFS:
https://tests.reproducible-builds.org/debian/history/astroscrappy.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/astroscrappy.html
...
Numpy: 1.12.1
Scipy: 0.18.1
Matplotlib: not available
Pandas: not available
Astropy: 2.0.1
Using Astropy options: remote_data: none.
rootdir: /tmp/astroscrappy-test-1Xfh3S, inifile: setup.cfg
collecting ... collected 26 items
astroscrappy/tests/test_astroscrappy.py::test_main PASSED
astroscrappy/tests/test_cleaning.py::test_median_clean PASSED
astroscrappy/tests/test_cleaning.py::test_medmask_clean PASSED
astroscrappy/tests/test_cleaning.py::test_meanmask_clean PASSED
astroscrappy/tests/test_cleaning.py::test_idw_clean PASSED
astroscrappy/tests/test_utils.py::test_median PASSED
astroscrappy/tests/test_utils.py::test_optmed3 PASSED
astroscrappy/tests/test_utils.py::test_optmed5 PASSED
astroscrappy/tests/test_utils.py::test_optmed7 PASSED
astroscrappy/tests/test_utils.py::test_optmed9 PASSED
astroscrappy/tests/test_utils.py::test_optmed25 PASSED
astroscrappy/tests/test_utils.py::test_medfilt3 PASSED
astroscrappy/tests/test_utils.py::test_medfilt5 PASSED
astroscrappy/tests/test_utils.py::test_medfilt7 PASSED
astroscrappy/tests/test_utils.py::test_sepmedfilt3 PASSED
astroscrappy/tests/test_utils.py::test_sepmedfilt5 PASSED
astroscrappy/tests/test_utils.py::test_sepmedfilt7 PASSED
astroscrappy/tests/test_utils.py::test_sepmedfilt9 PASSED
astroscrappy/tests/test_utils.py::test_dilate5 PASSED
astroscrappy/tests/test_utils.py::test_dilate3 PASSED
astroscrappy/tests/test_utils.py::test_subsample PASSED
astroscrappy/tests/test_utils.py::test_rebin PASSED
astroscrappy/tests/test_utils.py::test_laplaceconvolve PASSED
astroscrappy/tests/test_utils.py::test_convolve PASSED
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 110, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 146, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 169, in pytest_runtestloop
INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 280, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 280, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/runner.py", line 65, in pytest_runtest_protocol
INTERNALERROR> nodeid=item.nodeid, location=item.location,
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 571, in location
INTERNALERROR> location = self.reportinfo()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/doctest.py", line 143, in reportinfo
INTERNALERROR> return self.fspath, self.dtest.lineno, "[doctest] %s" % self.name
INTERNALERROR> AttributeError: 'NoneType' object has no attribute 'lineno'
==================== 24 passed, 1 warnings in 53.55 seconds ====================
debian/rules:17: recipe for target 'test-python2.7' failed
make[1]: *** [test-python2.7] Error 3
make[1]: Leaving directory '/build/1st/astroscrappy-1.0.5'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
More information about the Debian-astro-maintainers
mailing list