Antonio Valentino pushed to branch master at Debian GIS Project / pims
Commits: 92bf09b7 by Antonio Valentino at 2026-03-01T12:16:23+00:00 Revert 'Drop (test) dependency on python3-av' - - - - - 96be902f by Antonio Valentino at 2026-03-01T15:11:55+00:00 Skip broken tests - - - - - 3c1f355f by Antonio Valentino at 2026-03-01T15:26:44+00:00 Set distribution to unstable - - - - - 4 changed files: - debian/changelog - debian/control - + debian/patches/0004-Skip-broken-tests.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,9 +1,10 @@ pims (0.7+ds-2) unstable; urgency=medium - * debian/control: - - Drop (test) depencency on python3-av. + * debian/patches: + - New 0004-Skip-broken-tests.patch. + Skip tests that are broken on non x86 architectures. - -- Antonio Valentino <[email protected]> Sun, 01 Mar 2026 11:26:49 +0000 + -- Antonio Valentino <[email protected]> Sun, 01 Mar 2026 15:26:12 +0000 pims (0.7+ds-1) unstable; urgency=low ===================================== debian/control ===================================== @@ -5,6 +5,7 @@ Uploaders: Antonio Valentino <[email protected]> Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, + python3-av <!nocheck>, python3-jinja2 <!nocheck>, python3-imageio, python3-matplotlib <!nocheck>, ===================================== debian/patches/0004-Skip-broken-tests.patch ===================================== @@ -0,0 +1,50 @@ +From: Antonio Valentino <[email protected]> +Date: Sun, 1 Mar 2026 12:36:48 +0000 +Subject: Skip broken tests + +Forwarded: not-needed +--- + pims/tests/test_common.py | 2 ++ + pims/tests/test_imseq.py | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/pims/tests/test_common.py b/pims/tests/test_common.py +index 110c4bd..4ce9f9a 100644 +--- a/pims/tests/test_common.py ++++ b/pims/tests/test_common.py +@@ -398,6 +398,7 @@ class TestImageReaderND(_image_single, unittest.TestCase): + clean_dummy_png(path, ['dummy.png']) + + [email protected](reason="broken on non x86 platforms") + class TestVideo_PyAV_timed(_image_series, unittest.TestCase): + def check_skip(self): + _skip_if_no_PyAV() +@@ -414,6 +415,7 @@ class TestVideo_PyAV_timed(_image_series, unittest.TestCase): + self.expected_len = 480 + + [email protected](reason="broken on non x86 platforms") + class TestVideo_PyAV_indexed(_image_series, unittest.TestCase): + def check_skip(self): + _skip_if_no_PyAV() +diff --git a/pims/tests/test_imseq.py b/pims/tests/test_imseq.py +index 0d00c24..c994a69 100644 +--- a/pims/tests/test_imseq.py ++++ b/pims/tests/test_imseq.py +@@ -4,6 +4,7 @@ import zipfile + import unittest + import numpy as np + from numpy.testing import (assert_equal, assert_allclose) ++import pytest + import pims + + from .test_common import (_image_series, +@@ -203,6 +204,7 @@ class ImageSequenceND(_image_series, unittest.TestCase): + assert_equal(self.v.sizes['c'], self.expected_C) + + [email protected](reason="broken on non x86 platforms") + class ImageSequenceND_RGB(_image_series, unittest.TestCase): + def setUp(self): + self.filepath = os.path.join(path, 'image_sequence3d') ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ 0001-Do-not-install-tests.patch 0002-python-av-compat.patch 0003-Do-not-treat-warnings-as-errors.patch +0004-Skip-broken-tests.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/pims/-/compare/486ef77f32306ad18d00246f6e46655e0589c4ba...3c1f355f1ffeaf7e05fea942fcaeb09c825bd22c -- View it on GitLab: https://salsa.debian.org/debian-gis-team/pims/-/compare/486ef77f32306ad18d00246f6e46655e0589c4ba...3c1f355f1ffeaf7e05fea942fcaeb09c825bd22c 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
