[Debian-astro-maintainers] Bug#951919: montage-wrapper: FTBFS: Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:02:22 GMT 2020


Source: montage-wrapper
Version: 0.9.9-3
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> python3.8 setup.py test -vv --args -v
> running test
> installing to temporary directory: /tmp/montage_wrapper-test-sgqt_n6r
> /usr/lib/python3/dist-packages/astropy/config/configuration.py:557: ConfigurationMissingWarning: Configuration defaults will be used due to FileNotFoundError:2 on None
>   warn(ConfigurationMissingWarning(msg))
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/tmp/montage_wrapper-test-sgqt_n6r/lib/python3.8/site-packages/montage_wrapper/_astropy_init.py", line 107, in test
>     return test_runner.run_tests(
>   File "/usr/lib/python3/dist-packages/astropy/tests/runner.py", line 611, in run_tests
>     return super().run_tests(**kwargs)
>   File "/usr/lib/python3/dist-packages/astropy/tests/runner.py", line 248, in run_tests
>     return pytest.main(args=args, plugins=plugins)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 63, in main
>     config = _prepareconfig(args, plugins)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 206, in _prepareconfig
>     return pluginmanager.hook.pytest_cmdline_parse(
>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
>     return self._hookexec(self, self.get_hookimpls(), kwargs)
>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec
>     return self._inner_hookexec(hook, methods, kwargs)
>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>
>     self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 203, in _multicall
>     gen.send(outcome)
>   File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 94, in pytest_cmdline_parse
>     config = outcome.get_result()
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in get_result
>     raise ex[1].with_traceback(ex[2])
>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in _multicall
>     res = hook_impl.function(*args)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 739, in pytest_cmdline_parse
>     self.parse(args)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 947, in parse
>     self._preparse(args, addopts=addopts)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 881, in _preparse
>     self._initini(args)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 808, in _initini
>     r = determine_setup(
>   File "/usr/lib/python3/dist-packages/_pytest/config/findpaths.py", line 127, in determine_setup
>     rootdir, inifile, inicfg = getcfg([ancestor], config=config)
>   File "/usr/lib/python3/dist-packages/_pytest/config/findpaths.py", line 49, in getcfg
>     fail(
>   File "/usr/lib/python3/dist-packages/_pytest/outcomes.py", line 119, in fail
>     raise Failed(msg=msg, pytrace=pytrace)
> Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.
> /usr/lib/python3/dist-packages/astropy/config/configuration.py:557: ConfigurationMissingWarning: Configuration defaults will be used due to FileNotFoundError:2 on None
>   warn(ConfigurationMissingWarning(msg))
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:161: AstropyDeprecationWarning: The package argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead
>   warnings.warn('The package argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:166: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead
>   warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:171: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release
>   warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:186: AstropyDeprecationWarning: Specifying the package name using the "package_name" option in setup.cfg is deprecated - use the "name" option instead.
>   warnings.warn('Specifying the package name using the "package_name" '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:106: AstropyDeprecationWarning: The adjust_compiler function in setup.py is deprecated and can be removed from your setup.py.
>   warnings.warn(
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:239: AstropyDeprecationWarning: The packagename argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead
>   warnings.warn('The packagename argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:244: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead
>   warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:249: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release
>   warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:264: AstropyDeprecationWarning: Specifying the package name using the "package_name" option in setup.cfg is deprecated - use the "name" option instead.
>   warnings.warn('Specifying the package name using the "package_name" '
> make[1]: *** [debian/rules:12: test-python3.8] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/montage-wrapper_0.9.9-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-astro-maintainers mailing list