Debian Patches
Status for python-scinexus/2026.5.16-1
| 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-loky-dependency.patch | Skip tests requiring the optional loky dependency The upstream test suite includes several tests in tests/test_parallel.py that exercise the optional "loky" parallel backend. This backend depends on the Python module "loky", which is not currently packaged in Debian. When loky is not installed, calls such as set_parallel_backend("loky") raise: Guard the affected tests with pytest.importorskip("loky") so that they are skipped automatically when the optional dependency is unavailable. This allows the remainder of the test suite to run successfully without modifying runtime behavior or introducing an additional Debian package dependency. |
Karsten Schöke <karsten.schoeke@geobasis-bb.de> | not-needed | 2026-05-20 | ||
| 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 |
All known versions for source package 'python-scinexus'
- 2026.5.16-1 (sid)
