Bas Couwenberg pushed to branch master at Debian GIS Project / sarsen
Commits: 5e712b10 by Bas Couwenberg at 2026-03-27T11:28:54+01:00 Add patch to skip test that gets killed in Salsa CI and on 32-bit archs. - - - - - 4 changed files: - debian/changelog - + debian/patches/salsa-ci.patch - + debian/patches/series - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -4,6 +4,7 @@ sarsen (0.9.5+ds-2) UNRELEASED; urgency=medium * Use test-build-validate-cleanup instead of test-build-twice. * Drop Priority: optional, default since dpkg 1.22.13. * Bump Standards-Version to 4.7.3, changes: priority. + * Add patch to skip test that gets killed in Salsa CI and on 32-bit archs. -- Bas Couwenberg <[email protected]> Sat, 25 Oct 2025 13:08:24 +0200 ===================================== debian/patches/salsa-ci.patch ===================================== @@ -0,0 +1,24 @@ +Description: Skip test that gets killed in Salsa CI and on 32-bit architectures. +Author: Bas Couwenberg <[email protected]> +Forwarded: https://github.com/bopen/sarsen/pull/94 + +--- a/tests/test_20_sentinel1.py ++++ b/tests/test_20_sentinel1.py +@@ -1,4 +1,6 @@ ++import os + import pathlib ++import sys + + import numpy as np + import pytest +@@ -18,6 +20,10 @@ DATA_PATHS = [ + GROUPS = ["IW/VV", "IW1/VV"] + + [email protected]( ++ os.getenv("GITLAB_CI") == "true" or not sys.maxsize > 2**32, ++ reason="Process gets killed" ++) + @pytest.mark.parametrize("data_path,group", zip(DATA_PATHS, GROUPS)) + def test_Sentinel1SarProduct(data_path: str, group: str) -> None: + res = sentinel1.Sentinel1SarProduct(data_path, group) ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +salsa-ci.patch ===================================== debian/rules ===================================== @@ -1,10 +1,5 @@ #! /usr/bin/make -f -include /usr/share/dpkg/architecture.mk -ifeq (32,$(DEB_BUILD_ARCH_BITS)) - export PYBUILD_TEST_ARGS=-k "not test_Sentinel1SarProduct" $(CURDIR)/tests -endif - # Skip tests that require a large amount of memory export GITHUB_ACTIONS=true View it on GitLab: https://salsa.debian.org/debian-gis-team/sarsen/-/commit/5e712b10db6008d4eaa6cf19e7fd5a221f11ba5f -- View it on GitLab: https://salsa.debian.org/debian-gis-team/sarsen/-/commit/5e712b10db6008d4eaa6cf19e7fd5a221f11ba5f You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
