Bug#1114280: pyorbital: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13

Santiago Vila sanvila at debian.org
Fri Sep 5 19:23:03 BST 2025


Package: src:pyorbital
Version: 1.10.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pyorbital, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyorbital  
* Building wheel...
Successfully built pyorbital-1.10.2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
   debian/rules execute_after_dh_auto_build-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=/<<PKGBUILDDIR>> python3 -m sphinx -N -E -T -b html doc/source /<<PKGBUILDDIR>>/.pybuild/docs/html
Running Sphinx v8.2.3
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/language_data.js
Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/basic.css
Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/documentation_options.js
Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/js/versions.js
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [100%] index

generating indices... genindex py-modindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in .pybuild/docs/html.
rm -rf /<<PKGBUILDDIR>>/.pybuild/docs/html/.doctrees
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyorbital/build; python3.13 -m pytest -k "not TestGetObserverLook and not test_tle_instance_printing" --pyargs pyorbital
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyorbital/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 101 items / 10 deselected / 91 selected

pyorbital/tests/test_aiaa.py .                                           [  1%]
pyorbital/tests/test_astronomy.py .....................                  [ 24%]
pyorbital/tests/test_geoloc.py ..................                        [ 43%]
pyorbital/tests/test_logging.py .                                        [ 45%]
pyorbital/tests/test_orbital.py ................                         [ 62%]
pyorbital/tests/test_tlefile.py ..................................       [100%]  + Exception Group Traceback (most recent call last):
  |   File "<frozen runpy>", line 198, in _run_module_as_main
  |   File "<frozen runpy>", line 88, in _run_code
  |   File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9, in <module>
  |     raise SystemExit(pytest.console_main())
  |                      ~~~~~~~~~~~~~~~~~~~^^
  |   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201, in console_main
  |     code = main()
  |   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175, in main
  |     ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config)
  |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__
  |     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  |            ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
  |     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  |            ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall
  |     raise exception
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall
  |     res = hook_impl.function(*args)
  |   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 336, in pytest_cmdline_main
  |     return wrap_session(config, _main)
  |   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 331, in wrap_session
  |     config._ensure_unconfigure()
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  |   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1131, in _ensure_unconfigure
  |     self._cleanup_stack.close()
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  |   File "/usr/lib/python3.13/contextlib.py", line 627, in close
  |     self.__exit__(None, None, None)
  |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3.13/contextlib.py", line 619, in __exit__
  |     raise exc
  |   File "/usr/lib/python3.13/contextlib.py", line 604, in __exit__
  |     if cb(*exc_details):
  |        ~~^^^^^^^^^^^^^^
  |   File "/usr/lib/python3.13/contextlib.py", line 482, in _exit_wrapper
  |     callback(*args, **kwds)
  |     ~~~~~~~~^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 95, in cleanup
  |     collect_unraisable(config)
  |     ~~~~~~~~~~~~~~~~~~^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 81, in collect_unraisable
  |     raise ExceptionGroup("multiple unraisable exception warnings", errors)
  | ExceptionGroup: multiple unraisable exception warnings (3 sub-exceptions)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 33, in gc_collect_harder
    |     gc.collect()
    |     ~~~~~~~~~~^^
    | ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f939938e4d0>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f939938e4d0>
    | Enable tracemalloc to get traceback where the object was allocated.
    | See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
    +---------------- 2 ----------------
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 33, in gc_collect_harder
    |     gc.collect()
    |     ~~~~~~~~~~^^
    | ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f93a2d89c60>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f93a2d89c60>
    | Enable tracemalloc to get traceback where the object was allocated.
    | See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
    +---------------- 3 ----------------
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 33, in gc_collect_harder
    |     gc.collect()
    |     ~~~~~~~~~~^^
    | ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f93a2d898a0>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x7f93a2d898a0>
    | Enable tracemalloc to get traceback where the object was allocated.
    | See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
    +------------------------------------


====================== 91 passed, 10 deselected in 6.24s =======================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyorbital/build; python3.13 -m pytest -k "not TestGetObserverLook and not test_tle_instance_printing" --pyargs pyorbital
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-grass-devel mailing list