Debian Patches

Status for python-scinexus/2026.5.18-4

Patch Description Author Forwarded Bugs Origin Last update
skip-MPI-tests-when-mpi4py-is-not-available.patch Skip MPI tests when mpi4py is not available
The MPI test suite requires python3-mpi4py and a working MPI runtime.
When mpi4py is not installed, scinexus.parallel.MPI is set to None and
initializing MPIBackend() raises a RuntimeError("Cannot use MPI").

Mark the entire tests/test_parallel_mpi.py module with
pytest.mark.skipif(MPI is None, ...) so that these tests are skipped
automatically when MPI support is unavailable.

This makes the test suite robust in Debian build environments where
python3-mpi4py is only a conditional test dependency via
Karsten Schöke <karsten.schoeke@geobasis-bb.de> not-needed 2026-05-19
skip-tests-requiring-the-optional-cogent3-dependency.patch Skip tests requiring the optional cogent3 dependency
The upstream test suite includes tests that
exercise integration with the optional Python package "cogent3". This
module is imported conditionally and the module variable "c3" is set to
None when the dependency is unavailable.

When cogent3 is not installed, tests calling c3.get_app(...) fail with:


Mark the entire test module with
pytest.mark.skipif(c3 is None, reason="cogent3 not available") so that
these tests are skipped automatically when the optional dependency is
not installed.

This allows the remaining test suite to run successfully without
changing runtime behavior or introducing an additional Debian package
dependency.
Karsten Schöke <karsten.schoeke@geobasis-bb.de> not-needed 2026-05-20
Disable-resource-intensive-mypy-integration-tests.patch Disable resource-intensive mypy integration testsThe upstream mypy integration tests spawn separate mypy
subprocesses and can exceed the memory limits of Debian
autopkgtest environments, especially under Python 3.14.

This may cause the test runner to be terminated by the
kernel OOM killer with exit status 137.

Mark the remaining mypy reveal-type test as slow and
exclude slow tests from autopkgtest execution.

The functional runtime test coverage remains unchanged
while avoiding intermittent CI failures caused by
constrained container resources.
Karsten Schöke <karsten.schoeke@geobasis-bb.de> not-needed 2026-05-28
use-at-least-one-worker.patch Use at least one worker Santiago Vila <sanvila@debian.org> yes upstream

All known versions for source package 'python-scinexus'

Links