Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
New patch for fixing compatibility with Python 3.7
· 30e2cf54
Antonio Valentino
authored
Jul 14, 2018
30e2cf54
Set distribution to unstable
· 071f7d1b
Antonio Valentino
authored
Jul 14, 2018
071f7d1b
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
071f7d1b
pyresample (1.10.1-1)
UNRELEASED
; urgency=medium
pyresample (1.10.1-1)
unstable
; urgency=medium
[ Bas Couwenberg ]
* Bump Standards-Version to 4.1.5, no changes.
...
...
@@ -14,8 +14,11 @@ pyresample (1.10.1-1) UNRELEASED; urgency=medium
skip tests requiring dask if dask is not available.
- new 0004-Regenerate-cython-extensions.patch
Fixes a FTBFS with Python 3.7 (Closes: #903530).
- New debian/patches/0005-Fix-StopIteration-handling.patch.
Fix StopIteration handling for compatibility with Python 3.7 and
PEP 479. See also https://github.com/pytroll/pyresample/pull/134.
--
Bas Couwenberg <sebastic@debian.org> Thu, 05
Jul 2018 11:
02:39
+0
2
00
--
Antonio Valentino <antonio.valentino@tiscali.it> Sat, 14
Jul 2018 11:
50:40
+0
0
00
pyresample (1.9.3-2) unstable; urgency=medium
...
...
debian/patches/0005-Fix-StopIteration-handling.patch
0 → 100644
View file @
071f7d1b
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 14 Jul 2018 10:36:51 +0000
Subject: Fix StopIteration handling
Compatibility with Python 3.7 and PEP 479.
See also https://github.com/pytroll/pyresample/pull/134.
---
pyresample/_multi_proc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyresample/_multi_proc.py b/pyresample/_multi_proc.py
index e40c293..1f318a3 100644
--- a/pyresample/_multi_proc.py
+++ b/pyresample/_multi_proc.py
@@ -71,7 +71,7 @@
class Scheduler(object):
yield slice(s0, s1)
else:
self._lock.release()
- raise StopIteration
+ return
def shmem_as_ndarray(raw_array):
debian/patches/series
View file @
071f7d1b
...
...
@@ -2,3 +2,4 @@
0002-fix-proj4-initialization.patch
0003-Skip-TestXArrayResamplerNN-if-dask-is-not-available.patch
0004-Regenerate-cython-extensions.patch
0005-Fix-StopIteration-handling.patch