[Git][debian-gis-team/pyninjotiff][master] 3 commits: Fix 0001-Fix-floating-point-comparison.patch
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Sat Dec 9 09:21:08 GMT 2023
Antonio Valentino pushed to branch master at Debian GIS Project / pyninjotiff
Commits:
3dd04e34 by Antonio Valentino at 2023-12-09T09:20:29+00:00
Fix 0001-Fix-floating-point-comparison.patch
- - - - -
a6c52534 by Antonio Valentino at 2023-12-09T09:20:29+00:00
Update dates in d/copyright
- - - - -
e37e5ad2 by Antonio Valentino at 2023-12-09T09:20:29+00:00
Set distribution to unstable
- - - - -
3 changed files:
- debian/changelog
- debian/copyright
- debian/patches/0001-Fix-floating-point-comparison.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,7 +1,6 @@
-pyninjotiff (0.4.0-3) UNRELEASED; urgency=medium
+pyninjotiff (0.4.0-3) unstable; urgency=medium
[ Bas Couwenberg ]
- * Team upload.
* Enable numpy3 dh helper.
* Enable Salsa CI.
* Bump Standards-Version to 4.6.2, no changes.
@@ -13,10 +12,11 @@ pyninjotiff (0.4.0-3) UNRELEASED; urgency=medium
* debian/control:
- Use the <!nocheck> marker.
* Switch to autopkgtest-pkg-pybuild.
+ * Update dates in d/copyright.
* debian/patches:
- New 0001-Fix-floating-point-comparison.patch.
- -- Bas Couwenberg <sebastic at debian.org> Thu, 22 Dec 2022 10:01:47 +0100
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Sat, 09 Dec 2023 09:14:46 +0000
pyninjotiff (0.4.0-2) unstable; urgency=medium
=====================================
debian/copyright
=====================================
@@ -14,7 +14,7 @@ Copyright: 2008-2014, Christoph Gohlke
License: BSD-3-clause
Files: debian/*
-Copyright: 2018-2022, Antonio Valentino <antonio.valentino at tiscali.it>
+Copyright: 2018-2023, Antonio Valentino <antonio.valentino at tiscali.it>
License: GPL-3+
License: GPL-3+
=====================================
debian/patches/0001-Fix-floating-point-comparison.patch
=====================================
@@ -8,7 +8,7 @@ Forwarded: https://github.com/pytroll/pyninjotiff/pull/33
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pyninjotiff/tests/test_ninjotiff.py b/pyninjotiff/tests/test_ninjotiff.py
-index 2d4f224..20c99fa 100644
+index 2d4f224..fce6386 100644
--- a/pyninjotiff/tests/test_ninjotiff.py
+++ b/pyninjotiff/tests/test_ninjotiff.py
@@ -519,7 +519,10 @@ def test_write_rgb_tb():
@@ -16,7 +16,7 @@ index 2d4f224..20c99fa 100644
if key in ['datetime', '40002', '40003', '40006']:
continue
- assert(val == read_tags[key].value)
-+ if hasattr(val, "dtype") and val.dtype.kinf == "f":
++ if isinstance(val, float) or (hasattr(val, "dtype") and val.dtype.kinf == "f"):
+ np.testing.assert_allclose(val, read_tags[key].value)
+ else:
+ assert(val == read_tags[key].value)
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/227ced2b165e4d304531f5aaec1321377c63f345...e37e5ad2714a6a11f800d8f144bddf76d489a815
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyninjotiff/-/compare/227ced2b165e4d304531f5aaec1321377c63f345...e37e5ad2714a6a11f800d8f144bddf76d489a815
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/20231209/343b535d/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list