Bug#835238: astroquery: FTBFS with pytest 3.0.0
Hi, The issue has been solved upstream by the pytest team. Please package the new release of pytest. Cheers
Bug#835238: astroquery: FTBFS with pytest 3.0.0
Hi On 2016-08-31 17:05:41, Vincent Prat wrote: > I tried to replace all the occurrences of getfuncargvalue in the package, > and this removes a lot of errors. Thanks for working on the issue! > However, there are still some left, apparently due to pytest itself: If that's a pytest regression, please report it at https://github.com/pytest-dev/pytest/issues. Cheers > > |self = > | > |def setup(self): > |if self.dtest is not None: > |self.fixture_request = _setup_fixtures(self) > |globs = dict(getfixture=self.fixture_request.getfixturevalue) > |> for name, value in > self.fixture_request.getfuncargvalue('doctest_namespace').items(): > | > |/usr/lib/python2.7/dist-packages/_pytest/doctest.py:91: > |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ _ > | > |self = 'astroquery.utils.url_helpers.urljoin_keep_path'>> > |argname = 'doctest_namespace' > | > |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 > > Cheers, > > Vincent Prat > -- Sebastian Ramacher signature.asc Description: PGP signature
Bug#835238: astroquery: FTBFS with pytest 3.0.0
Hi, I tried to replace all the occurrences of getfuncargvalue in the package, and this removes a lot of errors. However, there are still some left, apparently due to pytest itself: |self = | |def setup(self): |if self.dtest is not None: |self.fixture_request = _setup_fixtures(self) |globs = dict(getfixture=self.fixture_request.getfixturevalue) |> for name, value in self.fixture_request.getfuncargvalue('doctest_namespace').items(): | |/usr/lib/python2.7/dist-packages/_pytest/doctest.py:91: |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |self = 'astroquery.utils.url_helpers.urljoin_keep_path'>> |argname = 'doctest_namespace' | |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 Cheers, Vincent Prat
Bug#835238: astroquery: FTBFS with pytest 3.0.0
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 = > | | @pytest.fixture | def patch_post(request): | > mp = request.getfuncargvalue("monkeypatch") | | ../../../astroquery/vizier/tests/test_vizier.py:30: | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | | self = > | 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 = > | | @pytest.fixture | def patch_post(request): | > mp = request.getfuncargvalue("monkeypatch") | | ../../../astroquery/vizier/tests/test_vizier.py:30: | _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | | self = > | 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 /<>/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 signature.asc Description: PGP signature