pygac: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Bug #2059331 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygac (Debian)
Fix Released
Unknown
pygac (Ubuntu)
New
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1066765:

Source: pygac
Version: 1.7.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: <email address hidden>
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

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

Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
> I: pybuild base:305: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/pygac
> copying pygac/correct_tsm_issue.py -> build/lib/pygac
> copying pygac/utils.py -> build/lib/pygac
> copying pygac/gac_pod.py -> build/lib/pygac
> copying pygac/__init__.py -> build/lib/pygac
> copying pygac/runner.py -> build/lib/pygac
> copying pygac/klm_reader.py -> build/lib/pygac
> copying pygac/slerp.py -> build/lib/pygac
> copying pygac/version.py -> build/lib/pygac
> copying pygac/gac_reader.py -> build/lib/pygac
> copying pygac/pygac_geotiepoints.py -> build/lib/pygac
> copying pygac/lac_reader.py -> build/lib/pygac
> copying pygac/clock_offsets_converter.py -> build/lib/pygac
> copying pygac/reader.py -> build/lib/pygac
> copying pygac/calibration.py -> build/lib/pygac
> copying pygac/gac_klm.py -> build/lib/pygac
> copying pygac/configuration.py -> build/lib/pygac
> copying pygac/lac_klm.py -> build/lib/pygac
> copying pygac/pod_reader.py -> build/lib/pygac
> copying pygac/gac_io.py -> build/lib/pygac
> copying pygac/lac_pod.py -> build/lib/pygac
> creating build/lib/pygac/tests
> copying pygac/tests/utils.py -> build/lib/pygac/tests
> copying pygac/tests/__init__.py -> build/lib/pygac/tests
> copying pygac/tests/test_klm.py -> build/lib/pygac/tests
> copying pygac/tests/test_slerp.py -> build/lib/pygac/tests
> copying pygac/tests/test_calibration_coefficients.py -> build/lib/pygac/tests
> copying pygac/tests/test_calibrate_klm.py -> build/lib/pygac/tests
> copying pygac/tests/test_io.py -> build/lib/pygac/tests
> copying pygac/tests/test_angles.py -> build/lib/pygac/tests
> copying pygac/tests/test_utils.py -> build/lib/pygac/tests
> copying pygac/tests/test_calibrate_pod.py -> build/lib/pygac/tests
> copying pygac/tests/test_pod.py -> build/lib/pygac/tests
> copying pygac/tests/test_reader.py -> build/lib/pygac/tests
> copying pygac/tests/test_tsm.py -> build/lib/pygac/tests
> creating build/lib/pygac/data
> copying pygac/data/calibration.json -> build/lib/pygac/data
> running build_scripts
> creating build/scripts-3.12
> copying and adjusting bin/pygac-convert-patmosx-coefficients -> build/scripts-3.12
> copying and adjusting bin/pygac-run -> build/scripts-3.12
> changing mode of build/scripts-3.12/pygac-convert-patmosx-coefficients from 644 to 755
> changing mode of build/scripts-3.12/pygac-run from 644 to 755
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/correct_tsm_issue.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/utils.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_pod.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/__init__.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/runner.py -> build/bdist.linux-x86_64/wheel/pygac
> creating build/bdist.linux-x86_64/wheel/pygac/data
> copying build/lib/pygac/data/calibration.json -> build/bdist.linux-x86_64/wheel/pygac/data
> copying build/lib/pygac/klm_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> creating build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/utils.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/__init__.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_klm.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_slerp.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_calibration_coefficients.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_calibrate_klm.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_io.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_angles.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_calibrate_pod.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_pod.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_reader.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_tsm.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/slerp.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/version.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/pygac_geotiepoints.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/lac_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/clock_offsets_converter.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/calibration.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_klm.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/configuration.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/lac_klm.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/pod_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_io.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/lac_pod.py -> build/bdist.linux-x86_64/wheel/pygac
> running install_data
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share/pygac
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share/pygac/gapfilled_tles
> copying gapfilled_tles/TLE_noaa16.txt -> build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share/pygac/gapfilled_tles
> running install_egg_info
> running egg_info
> creating pygac.egg-info
> writing pygac.egg-info/PKG-INFO
> writing dependency_links to pygac.egg-info/dependency_links.txt
> writing requirements to pygac.egg-info/requires.txt
> writing top-level names to pygac.egg-info/top_level.txt
> writing manifest file 'pygac.egg-info/SOURCES.txt'
> reading manifest file 'pygac.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'pygac.egg-info/SOURCES.txt'
> Copying pygac.egg-info to build/bdist.linux-x86_64/wheel/pygac-1.7.2.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts
> copying build/scripts-3.12/pygac-convert-patmosx-coefficients -> build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts
> copying build/scripts-3.12/pygac-run -> build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts
> changing mode of build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts/pygac-convert-patmosx-coefficients to 755
> changing mode of build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts/pygac-run to 755
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.dist-info/WHEEL
> creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/.tmp-pkncr_6e/pygac-1.7.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'pygac/__init__.py'
> adding 'pygac/calibration.py'
> adding 'pygac/clock_offsets_converter.py'
> adding 'pygac/configuration.py'
> adding 'pygac/correct_tsm_issue.py'
> adding 'pygac/gac_io.py'
> adding 'pygac/gac_klm.py'
> adding 'pygac/gac_pod.py'
> adding 'pygac/gac_reader.py'
> adding 'pygac/klm_reader.py'
> adding 'pygac/lac_klm.py'
> adding 'pygac/lac_pod.py'
> adding 'pygac/lac_reader.py'
> adding 'pygac/pod_reader.py'
> adding 'pygac/pygac_geotiepoints.py'
> adding 'pygac/reader.py'
> adding 'pygac/runner.py'
> adding 'pygac/slerp.py'
> adding 'pygac/utils.py'
> adding 'pygac/version.py'
> adding 'pygac/data/calibration.json'
> adding 'pygac/tests/__init__.py'
> adding 'pygac/tests/test_angles.py'
> adding 'pygac/tests/test_calibrate_klm.py'
> adding 'pygac/tests/test_calibrate_pod.py'
> adding 'pygac/tests/test_calibration_coefficients.py'
> adding 'pygac/tests/test_io.py'
> adding 'pygac/tests/test_klm.py'
> adding 'pygac/tests/test_pod.py'
> adding 'pygac/tests/test_reader.py'
> adding 'pygac/tests/test_slerp.py'
> adding 'pygac/tests/test_tsm.py'
> adding 'pygac/tests/test_utils.py'
> adding 'pygac/tests/utils.py'
> adding 'pygac-1.7.2.data/data/share/pygac/gapfilled_tles/TLE_noaa16.txt'
> adding 'pygac-1.7.2.data/scripts/pygac-convert-patmosx-coefficients'
> adding 'pygac-1.7.2.data/scripts/pygac-run'
> adding 'pygac-1.7.2.dist-info/LICENSE.txt'
> adding 'pygac-1.7.2.dist-info/METADATA'
> adding 'pygac-1.7.2.dist-info/WHEEL'
> adding 'pygac-1.7.2.dist-info/top_level.txt'
> adding 'pygac-1.7.2.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built pygac-1.7.2-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" module
> I: pybuild base:305: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> running build_scripts
> creating build/scripts-3.11
> copying and adjusting bin/pygac-convert-patmosx-coefficients -> build/scripts-3.11
> copying and adjusting bin/pygac-run -> build/scripts-3.11
> changing mode of build/scripts-3.11/pygac-convert-patmosx-coefficients from 644 to 755
> changing mode of build/scripts-3.11/pygac-run from 644 to 755
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/correct_tsm_issue.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/utils.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_pod.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/__init__.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/runner.py -> build/bdist.linux-x86_64/wheel/pygac
> creating build/bdist.linux-x86_64/wheel/pygac/data
> copying build/lib/pygac/data/calibration.json -> build/bdist.linux-x86_64/wheel/pygac/data
> copying build/lib/pygac/klm_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> creating build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/utils.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/__init__.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_klm.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_slerp.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_calibration_coefficients.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_calibrate_klm.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_io.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_angles.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_calibrate_pod.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_pod.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_reader.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/tests/test_tsm.py -> build/bdist.linux-x86_64/wheel/pygac/tests
> copying build/lib/pygac/slerp.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/version.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/pygac_geotiepoints.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/lac_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/clock_offsets_converter.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/calibration.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_klm.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/configuration.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/lac_klm.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/pod_reader.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/gac_io.py -> build/bdist.linux-x86_64/wheel/pygac
> copying build/lib/pygac/lac_pod.py -> build/bdist.linux-x86_64/wheel/pygac
> running install_data
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share/pygac
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share/pygac/gapfilled_tles
> copying gapfilled_tles/TLE_noaa16.txt -> build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/data/share/pygac/gapfilled_tles
> running install_egg_info
> running egg_info
> writing pygac.egg-info/PKG-INFO
> writing dependency_links to pygac.egg-info/dependency_links.txt
> writing requirements to pygac.egg-info/requires.txt
> writing top-level names to pygac.egg-info/top_level.txt
> reading manifest file 'pygac.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'pygac.egg-info/SOURCES.txt'
> Copying pygac.egg-info to build/bdist.linux-x86_64/wheel/pygac-1.7.2.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts
> copying build/scripts-3.11/pygac-convert-patmosx-coefficients -> build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts
> copying build/scripts-3.11/pygac-run -> build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts
> changing mode of build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts/pygac-convert-patmosx-coefficients to 755
> changing mode of build/bdist.linux-x86_64/wheel/pygac-1.7.2.data/scripts/pygac-run to 755
> creating build/bdist.linux-x86_64/wheel/pygac-1.7.2.dist-info/WHEEL
> creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/.tmp-43te2ova/pygac-1.7.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'pygac/__init__.py'
> adding 'pygac/calibration.py'
> adding 'pygac/clock_offsets_converter.py'
> adding 'pygac/configuration.py'
> adding 'pygac/correct_tsm_issue.py'
> adding 'pygac/gac_io.py'
> adding 'pygac/gac_klm.py'
> adding 'pygac/gac_pod.py'
> adding 'pygac/gac_reader.py'
> adding 'pygac/klm_reader.py'
> adding 'pygac/lac_klm.py'
> adding 'pygac/lac_pod.py'
> adding 'pygac/lac_reader.py'
> adding 'pygac/pod_reader.py'
> adding 'pygac/pygac_geotiepoints.py'
> adding 'pygac/reader.py'
> adding 'pygac/runner.py'
> adding 'pygac/slerp.py'
> adding 'pygac/utils.py'
> adding 'pygac/version.py'
> adding 'pygac/data/calibration.json'
> adding 'pygac/tests/__init__.py'
> adding 'pygac/tests/test_angles.py'
> adding 'pygac/tests/test_calibrate_klm.py'
> adding 'pygac/tests/test_calibrate_pod.py'
> adding 'pygac/tests/test_calibration_coefficients.py'
> adding 'pygac/tests/test_io.py'
> adding 'pygac/tests/test_klm.py'
> adding 'pygac/tests/test_pod.py'
> adding 'pygac/tests/test_reader.py'
> adding 'pygac/tests/test_slerp.py'
> adding 'pygac/tests/test_tsm.py'
> adding 'pygac/tests/test_utils.py'
> adding 'pygac/tests/utils.py'
> adding 'pygac-1.7.2.data/data/share/pygac/gapfilled_tles/TLE_noaa16.txt'
> adding 'pygac-1.7.2.data/scripts/pygac-convert-patmosx-coefficients'
> adding 'pygac-1.7.2.data/scripts/pygac-run'
> adding 'pygac-1.7.2.dist-info/LICENSE.txt'
> adding 'pygac-1.7.2.dist-info/METADATA'
> adding 'pygac-1.7.2.dist-info/WHEEL'
> adding 'pygac-1.7.2.dist-info/top_level.txt'
> adding 'pygac-1.7.2.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built pygac-1.7.2-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest --pyargs pygac
> ============================= test session starts ==============================
> platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> collected 76 items
>
> pygac/tests/test_angles.py .. [ 2%]
> pygac/tests/test_calibrate_klm.py .. [ 5%]
> pygac/tests/test_calibrate_pod.py .. [ 7%]
> pygac/tests/test_calibration_coefficients.py ..... [ 14%]
> pygac/tests/test_io.py ....... [ 23%]
> pygac/tests/test_klm.py EEEEEEEEEE [ 36%]
> pygac/tests/test_pod.py .......... [ 50%]
> pygac/tests/test_reader.py ........................... [ 85%]
> pygac/tests/test_slerp.py ..... [ 92%]
> pygac/tests/test_tsm.py .. [ 94%]
> pygac/tests/test_utils.py .... [100%]
>
> ==================================== ERRORS ====================================
> __________________ ERROR at setup of TestKLM.test_get_lonlat ___________________
>
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f5041bdb420>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
>
> @classmethod
> def from_call(
> cls,
> func: Callable[[], TResult],
> when: Literal["collect", "setup", "call", "teardown"],
> reraise: Optional[
> Union[Type[BaseException], Tuple[Type[BaseException], ...]]
> ] = None,
> ) -> "CallInfo[TResult]":
> """Call func, wrapping the result in a CallInfo.
>
> :param func:
> The function to call. Called without arguments.
> :param when:
> The phase in which the function is called.
> :param reraise:
> Exception or exceptions that shall propagate if raised by the
> function, instead of being wrapped in the CallInfo.
> """
> excinfo = None
> start = timing.time()
> precise_start = timing.perf_counter()
> try:
> > result: Optional[TResult] = func()
>
> /usr/lib/python3/dist-packages/_pytest/runner.py:342:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
> yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
> yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
> yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
> yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
> item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
> raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
> col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
> self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
> item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
> fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
> self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
> fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
> result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
> result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
> fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <pygac.tests.test_klm.TestKLM object at 0x7f5043b735f0>
> request = <SubRequest '_xunit_setup_method_fixture_TestKLM' for <Function test_get_lonlat>>
>
> @fixtures.fixture(
> autouse=True,
> scope="function",
> # Use a unique name to speed up lookup.
> name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
> )
> def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
> method = request.function
> if setup_method is not None:
> func = getattr(self, setup_name)
> _call_with_optional_argument(func, method)
> if emit_nose_setup_warning:
> > warnings.warn(
> NOSE_SUPPORT_METHOD.format(
> nodeid=request.node.nodeid, method="setup"
> ),
> stacklevel=2,
> )
> E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
> E .pybuild/cpython3_3.12/build/pygac/tests/test_klm.py::TestKLM::test_get_lonlat is using nose-specific method: `setup(self)`
> E To remove this warning, rename it to `setup_method(self)`
> E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
>
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> _____________ ERROR at setup of TestKLM.test_get_header_timestamp ______________
>
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f5041aaff60>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
>
> @classmethod
> def from_call(
> cls,
> func: Callable[[], TResult],
> when: Literal["collect", "setup", "call", "teardown"],
> reraise: Optional[
> Union[Type[BaseException], Tuple[Type[BaseException], ...]]
> ] = None,
> ) -> "CallInfo[TResult]":
> """Call func, wrapping the result in a CallInfo.
>
> :param func:
> The function to call. Called without arguments.
> :param when:
> The phase in which the function is called.
> :param reraise:
> Exception or exceptions that shall propagate if raised by the
> function, instead of being wrapped in the CallInfo.
> """
> excinfo = None
> start = timing.time()
> precise_start = timing.perf_counter()
> try:
> > result: Optional[TResult] = func()
>
> /usr/lib/python3/dist-packages/_pytest/runner.py:342:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
> yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
> yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
> yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
> yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
> item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
> raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
> col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
> self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
> item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
> fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
> self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
> fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
> result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
> result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
> fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <pygac.tests.test_klm.TestKLM object at 0x7f5045ad0200>
> request = <SubRequest '_xunit_setup_method_fixture_TestKLM' for <Function test_get_header_timestamp>>
>
> @fixtures.fixture(
> autouse=True,
> scope="function",
> # Use a unique name to speed up lookup.
> name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
> )
> def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
> method = request.function
> if setup_method is not None:
> func = getattr(self, setup_name)
> _call_with_optional_argument(func, method)
> if emit_nose_setup_warning:
> > warnings.warn(
> NOSE_SUPPORT_METHOD.format(
> nodeid=request.node.nodeid, method="setup"
> ),
> stacklevel=2,
> )
> E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
> E .pybuild/cpython3_3.12/build/pygac/tests/test_klm.py::TestKLM::test_get_header_timestamp is using nose-specific method: `setup(self)`
> E To remove this warning, rename it to `setup_method(self)`
> E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
>
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> ___________________ ERROR at setup of TestKLM.test_get_times ___________________
>
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f50417013a0>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
>
> @classmethod
> def from_call(
> cls,
> func: Callable[[], TResult],
> when: Literal["collect", "setup", "call", "teardown"],
> reraise: Optional[
> Union[Type[BaseException], Tuple[Type[BaseException], ...]]
> ] = None,
> ) -> "CallInfo[TResult]":
> """Call func, wrapping the result in a CallInfo.
>
> :param func:
> The function to call. Called without arguments.
> :param when:
> The phase in which the function is called.
> :param reraise:
> Exception or exceptions that shall propagate if raised by the
> function, instead of being wrapped in the CallInfo.
> """
> excinfo = None
> start = timing.time()
> precise_start = timing.perf_counter()
> try:
> > result: Optional[TResult] = func()
>
> /usr/lib/python3/dist-packages/_pytest/runner.py:342:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
> yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
> yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
> yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
> yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
> item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
> raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
> col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
> self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
> item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
> fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
> self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
> fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
> result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
> result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
> fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <pygac.tests.test_klm.TestKLM object at 0x7f5041be5190>
> request = <SubRequest '_xunit_setup_method_fixture_TestKLM' for <Function test_get_times>>
>
> @fixtures.fixture(
> autouse=True,
> scope="function",
> # Use a unique name to speed up lookup.
> name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
> )
> def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
> method = request.function
> if setup_method is not None:
> func = getattr(self, setup_name)
> _call_with_optional_argument(func, method)
> if emit_nose_setup_warning:
> > warnings.warn(
> NOSE_SUPPORT_METHOD.format(
> nodeid=request.node.nodeid, method="setup"
> ),
> stacklevel=2,
> )
> E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
> E .pybuild/cpython3_3.12/build/pygac/tests/test_klm.py::TestKLM::test_get_times is using nose-specific method: `setup(self)`
> E To remove this warning, rename it to `setup_method(self)`
> E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
>
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> ________________ ERROR at setup of TestKLM.test_get_ch3_switch _________________
>
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f5041aaff60>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
>
> @classmethod
> def from_call(
> cls,
> func: Callable[[], TResult],
> when: Literal["collect", "setup", "call", "teardown"],
> reraise: Optional[
> Union[Type[BaseException], Tuple[Type[BaseException], ...]]
> ] = None,
> ) -> "CallInfo[TResult]":
> """Call func, wrapping the result in a CallInfo.
>
> :param func:
> The function to call. Called without arguments.
> :param when:
> The phase in which the function is called.
> :param reraise:
> Exception or exceptions that shall propagate if raised by the
> function, instead of being wrapped in the CallInfo.
> """
> excinfo = None
> start = timing.time()
> precise_start = timing.perf_counter()
> try:
> > result: Optional[TResult] = func()
>
> /usr/lib/python3/dist-packages/_pytest/runner.py:342:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
> yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
> yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
> yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
> yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
> item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
> raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
> col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
> self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
> item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
> fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
> self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
> fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
> result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
> result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
> fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <pygac.tests.test_klm.TestKLM object at 0x7f5041be54c0>
> request = <SubRequest '_xunit_setup_method_fixture_TestKLM' for <Function test_get_ch3_switch>>
>
> @fixtures.fixture(
> autouse=True,
> scope="function",
> # Use a unique name to speed up lookup.
> name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
> )
> def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
> method = request.function
> if setup_method is not None:
> func = getattr(self, setup_name)
> _call_with_optional_argument(func, method)
> if emit_nose_setup_warning:
> > warnings.warn(
> NOSE_SUPPORT_METHOD.format(
> nodeid=request.node.nodeid, method="setup"
> ),
> stacklevel=2,
> )
> E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
> E .pybuild/cpython3_3.12/build/pygac/tests/test_klm.py::TestKLM::test_get_ch3_switch is using nose-specific method: `setup(self)`
> E To remove this warning, rename it to `setup_method(self)`
> E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
>
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> ___________________ ERROR at setup of TestKLM.test_postproc ____________________
>
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f50417018a0>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
>
> @classmethod
> def from_call(
> cls,
> func: Callable[[], TResult],
> when: Literal["collect", "setup", "call", "teardown"],
> reraise: Optional[
> Union[Type[BaseException], Tuple[Type[BaseException], ...]]
> ] = None,
> ) -> "CallInfo[TResult]":
> """Call func, wrapping the result in a CallInfo.
>
> :param func:
> The function to call. Called without arguments.
> :param when:
> The phase in which the function is called.
> :param reraise:
> Exception or exceptions that shall propagate if raised by the
> function, instead of being wrapped in the CallInfo.
> """
> excinfo = None
> start = timing.time()
> precise_start = timing.perf_counter()
> try:
> > result: Optional[TResult] = func()
>
> /usr/lib/python3/dist-packages/_pytest/runner.py:342:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
> yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
> yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
> yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in pytest_runtest_setup
> yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook
> yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
> item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
> raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
> col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
> self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
> item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
> fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in _get_active_fixturedef
> self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in _compute_fixture_value
> fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
> result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
> return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup
> result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
> fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> self = <pygac.tests.test_klm.TestKLM object at 0x7f5041be6480>
> request = <SubRequest '_xunit_setup_method_fixture_TestKLM' for <Function test_postproc>>
>
> @fixtures.fixture(
> autouse=True,
> scope="function",
> # Use a unique name to speed up lookup.
> name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
> )
> def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]:
> method = request.function
> if setup_method is not None:
> func = getattr(self, setup_name)
> _call_with_optional_argument(func, method)
> if emit_nose_setup_warning:
> > warnings.warn(
> NOSE_SUPPORT_METHOD.format(
> nodeid=request.node.nodeid, method="setup"
> ),
> stacklevel=2,
> )
> E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
> E .pybuild/cpython3_3.12/build/pygac/tests/test_klm.py::TestKLM::test_postproc is using nose-specific method: `setup(self)`
> E To remove this warning, rename it to `setup_method(self)`
> E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
>
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> ______________ ERROR at setup of TestKLM.test_quality_indicators _______________
>
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f5041701c60>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
>
> @classmethod
> def from_call(
> cls,
> func: Callable[[], TResult],
> when: Literal["collect", "setup", "call", "teardown"],
> reraise: Optional[
> Union[Type[BaseException], Tuple[Type[BaseException], ...]]
> ] = None,
> ) -> "CallInfo[TResult]":
> """Call func, wrapping the result in a CallInfo.
>
> :param func:
> The function to call. Called without arguments.
> :param when:
> The phase in which the function is called.
> :param reraise:
> Exception or exceptions that shall propagate if raised by the
> function, instead of being wrapped in the CallInfo.
> """
> excinfo = None
> start = timing.time()
> precise_start = timing.perf_counter()
> try:
> > result: Optional[TResult] = func()
>
> /usr/lib/python3/dist-packages/_pytest/runner.py:342:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
> lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup
> yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65 [...]

Revision history for this message
Dan Bungert (dbungert) wrote :

may just need sync

tags: added: update-excuse
Changed in pygac (Debian):
importance: Undecided → Unknown
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.