[Debian-astro-maintainers] Bug#835238: astroquery: FTBFS with pytest 3.0.0

Sebastian Ramacher sramacher at debian.org
Tue Aug 23 19:09:08 UTC 2016


Source: astroquery
Version: 0.3.2+dfsg-1
Severity: important
Tags: sid stretch
Usertags: pytest3.0.0

During a test build of astroquery against pytest 3.0.0 from experimental,
astroquery failed to build:
| __________________ ERROR at setup of test_get_catalogs_async ___________________
|
| request = <SubRequest 'patch_post' for <Function 'test_get_catalogs_async'>>
|
|     @pytest.fixture
|     def patch_post(request):
| >       mp = request.getfuncargvalue("monkeypatch")
|
| ../../../astroquery/vizier/tests/test_vizier.py:30: 
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
|
| self = <SubRequest 'patch_post' for <Function 'test_get_catalogs_async'>>
| argname = 'monkeypatch'
|
|     def getfuncargvalue(self, argname):
|         """ Deprecated, use getfixturevalue. """
|         from _pytest import deprecated
|         warnings.warn(
|             deprecated.GETFUNCARGVALUE,
| >           DeprecationWarning)
| E       DeprecationWarning: use of getfuncargvalue is deprecated, use getfixturevalue
|
| /usr/lib/python2.7/dist-packages/_pytest/fixtures.py:446: DeprecationWarning
| _____________________ ERROR at setup of test_get_catalogs ______________________
|
| request = <SubRequest 'patch_post' for <Function 'test_get_catalogs'>>
|
|     @pytest.fixture
|     def patch_post(request):
| >       mp = request.getfuncargvalue("monkeypatch")
|
| ../../../astroquery/vizier/tests/test_vizier.py:30: 
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
|
| self = <SubRequest 'patch_post' for <Function 'test_get_catalogs'>>
| argname = 'monkeypatch'

|     def getfuncargvalue(self, argname):
|         """ Deprecated, use getfixturevalue. """
|         from _pytest import deprecated
|         warnings.warn(
|             deprecated.GETFUNCARGVALUE,
| >           DeprecationWarning)
| E       DeprecationWarning: use of getfuncargvalue is deprecated, use getfixturevalue
|
| /usr/lib/python2.7/dist-packages/_pytest/fixtures.py:446: DeprecationWarning
| ============================ pytest-warning summary ============================
| WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
|  175 passed, 230 skipped, 1 xfailed, 1 pytest-warnings, 335 error in 18.49 seconds 
| E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /<<BUILDDIR>>/astroquery-0.3.2+dfsg/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest ../../../astroquery
| dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

For a full build log see
https://people.debian.org/~sramacher/logs/pytest3.0.0/astroquery_amd64.log.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20160823/2c439dc5/attachment.sig>


More information about the Debian-astro-maintainers mailing list