[Git][debian-gis-team/sarsen][master] Skip test_Sentinel1SarProduct if less than 8GB RAM is available.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Mar 27 12:14:50 GMT 2026



Bas Couwenberg pushed to branch master at Debian GIS Project / sarsen


Commits:
240fb77a by Bas Couwenberg at 2026-03-27T13:14:35+01:00
Skip test_Sentinel1SarProduct if less than 8GB RAM is available.

- - - - -


2 changed files:

- debian/patches/salsa-ci.patch
- debian/rules


Changes:

=====================================
debian/patches/salsa-ci.patch
=====================================
@@ -18,7 +18,7 @@ Forwarded: https://github.com/bopen/sarsen/pull/94
  
  
 + at pytest.mark.skipif(
-+    psutil.virtual_memory().available < (4 * 1024 * 1024 * 1024) or
++    psutil.virtual_memory().available < (8 * 1024 * 1024 * 1024) or
 +    not sys.maxsize > 2**32,
 +    reason="Process gets killed"
 +)


=====================================
debian/rules
=====================================
@@ -8,9 +8,5 @@ export GITHUB_ACTIONS=true
 %:
 	dh $@ --buildsystem=pybuild
 
-
-execute_before_dh_auto_test:
-	python3 -c 'import psutil; print("available memory: %s GB" % (psutil.virtual_memory().available / 1024 / 1024 / 1024))'
-
 override_dh_numpy3:
 	dh_numpy3 -p python3-sarsen



View it on GitLab: https://salsa.debian.org/debian-gis-team/sarsen/-/commit/240fb77a63ea3ac16af9380e3c7309ef9c5f2f35

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/sarsen/-/commit/240fb77a63ea3ac16af9380e3c7309ef9c5f2f35
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260327/05f66b5c/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list