Your message dated Sun, 18 Mar 2018 07:50:11 +0000
with message-id <e1ext51-0004hn...@fasolo.debian.org>
and subject line Bug#893335: fixed in python-mpop 1.5.0-3
has caused the Debian Bug report #893335,
regarding python-mpop: make autopkgtests pass on 32-bit archs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
893335: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893335
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-mpop
Version: 1.5.0-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch autopkgtest

Dear maintainers,

With python-mpop 1.5.0-1, while the autopkgtests continue to pass fine on
amd64 as seen at <https://ci.debian.net/packages/p/python-mpop/>, but an
added upstream test makes assumptions about the python hash() function that
don't hold on 32-bit archs, as seen in Ubuntu at
<http://autopkgtest.ubuntu.com/packages/p/python-mpop/bionic/i386>.

Since there doesn't seem to be any reason to care that the cache filename
schema is consistent across architectures, and in any case this wasn't a
blocker for this version of python-mpop to reach testing, I think the test
should be fixed to be portable to 32-bit architectures.  The attached patch
achieves this, and has been uploaded to Ubuntu.

Please consider applying this change in Debian as well.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru python-mpop-1.5.0/debian/patches/series 
python-mpop-1.5.0/debian/patches/series
--- python-mpop-1.5.0/debian/patches/series     2017-03-13 10:28:27.000000000 
-0700
+++ python-mpop-1.5.0/debian/patches/series     2018-03-17 00:02:10.000000000 
-0700
@@ -3,3 +3,4 @@
 0003-fix-missing-trollsift.patch
 0004-Include-test-sub-package.patch
 0005-Disable-TestEmptyImage.test_pil_image.patch
+wordsize-safe-tests.patch
diff -Nru python-mpop-1.5.0/debian/patches/wordsize-safe-tests.patch 
python-mpop-1.5.0/debian/patches/wordsize-safe-tests.patch
--- python-mpop-1.5.0/debian/patches/wordsize-safe-tests.patch  1969-12-31 
16:00:00.000000000 -0800
+++ python-mpop-1.5.0/debian/patches/wordsize-safe-tests.patch  2018-03-17 
00:04:43.000000000 -0700
@@ -0,0 +1,26 @@
+Description: fix tests to work on 32-bit archs
+ The python hash() function doesn't return the same results on 64-bit and
+ 32-bit archs, so don't make incorrect assumptions about its output in a
+ test when used for something as inconsequential as predictable cache file
+ names.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Index: python-mpop-1.5.0/mpop/tests/test_projector.py
+===================================================================
+--- python-mpop-1.5.0.orig/mpop/tests/test_projector.py
++++ python-mpop-1.5.0/mpop/tests/test_projector.py
+@@ -259,8 +259,13 @@
+         res = mpop.projector.get_precompute_cache_fname('in_id', 'out_id',
+                                                         'in_area', 'out_area',
+                                                         'mode', 'proj_dir')
+-        cor_res = "proj_dir/in_id2out_id_-" + \
+-                  "6296787761359943868to8984161303220364208_mode.npz"
++        if sys.maxsize > 2**32:
++            cor_res = "proj_dir/in_id2out_id_-" + \
++                      "6296787761359943868to8984161303220364208_mode.npz"
++        else:
++            cor_res = "proj_dir/in_id2out_id_-" + \
++                      "1843591356to-347954256_mode.npz"
++
+         self.assertTrue(res == cor_res)
+ 
+     @patch.object(mpop.projector, 'get_area_def')

--- End Message ---
--- Begin Message ---
Source: python-mpop
Source-Version: 1.5.0-3

We believe that the bug you reported is fixed in the latest version of
python-mpop, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 893...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated python-mpop package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 18 Mar 2018 08:12:18 +0100
Source: python-mpop
Binary: python-mpop
Architecture: source all
Version: 1.5.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Description:
 python-mpop - Meteorological Post-Processing Package (MPoP)
Closes: 893335
Changes:
 python-mpop (1.5.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Add patch by Steve Langasek to fix tests on 32-bit archs.
     (closes: #893335)
Checksums-Sha1:
 f74f58f7bcfd790036c08265dbc706f2516843b7 2184 python-mpop_1.5.0-3.dsc
 2102a2507986957ce414aff97b8b6fedd1fb45ce 9440 python-mpop_1.5.0-3.debian.tar.xz
 7bb8e81428430dc289c82e3c6373d55586de256b 318900 python-mpop_1.5.0-3_all.deb
 5f93b84414e1efe8824e4484f9f6318cf842e7ff 11169 
python-mpop_1.5.0-3_amd64.buildinfo
Checksums-Sha256:
 22e8ee02c7ce6330f00619caf63ddf74d1c67f7796140dbbe08eb527056ef876 2184 
python-mpop_1.5.0-3.dsc
 08cb3faa7baabf79d42383f68f6a7d156343e1045604e29c60fa62e71f81157b 9440 
python-mpop_1.5.0-3.debian.tar.xz
 9beff1ab8182cb4f4bb2779b8f9252c4d29612b4fe5719bbc999ef7be5fb734b 318900 
python-mpop_1.5.0-3_all.deb
 5a38286045b2eb1cfedbc427a4575a24cd93257d197f50748672d052bd1798e2 11169 
python-mpop_1.5.0-3_amd64.buildinfo
Files:
 852a800f0439ef6ec24d5cd772835454 2184 python optional python-mpop_1.5.0-3.dsc
 ca03f83d79620c9169e61641212add69 9440 python optional 
python-mpop_1.5.0-3.debian.tar.xz
 011391f7aa9caf0ecbdb5aaa38f56d66 318900 python optional 
python-mpop_1.5.0-3_all.deb
 b3e700d61051b40ee69a4352a7eb503a 11169 python optional 
python-mpop_1.5.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAlquFEkACgkQZ1DxCuiN
SvFTMA/7BiZDZmN/1i8tzdixVj716nLb/WIt3b8uUMKABEsQHCw+ZWdB4d2HM1Z5
ySzPzF/n5MsOrRJ0o8pkOsliWxRmpkd6SbgFlsqVoa5blDCgJIxk2VgNTrXztGmE
43tVPIzBaJ4HskMayX+kH1BdvudLAak6Eh1OeiskfhCzEqJ8o/B1Y0pP/4O9jYXk
L2Hrc9Q4qltvSlWkIjU4TWQxH7FVmQgu8Ea0p2EDGJZo9GD3Y2/Q1lsI5Cmqwgq7
VXhcjrOJNzujlcczIGMexuwBN4ucY6+FWKDAtnwYM/zrEkIuCrnfePz4Xe5VmEmg
/5A3mkbdrSHYyThWl4JSqrhjS0tzuKSE6LWvp7AWBaqNOGL9xZ/v7z5eSd5ZcwmX
2F2pvf9C0iAhO//Z2tgBBmjYXiWHZbQSAI93/GCm2mwer9EDd9gaFZPoLmxy9/VQ
Bje+OxTLSVqEA29CVsp49gxNr/mo5GzFbfbwNw2awfCu1D4e8BY53qsg0LLVs+we
U9zCQOXmj99WE3tEGnctrm4MrJwJOcOC4+fwAO/G8uM0C8JCRdBXIEPIz0V8Q8aS
DcugiLrmRr91tSQkuGSKtBNBmIVXCdoevdMuq+CSsjm6ehL6EGity2BMI9pafT8H
7AWrWcpWgXgyIkQFb87zPWvNT3WaJq8YZ1mGk3QxxaZ2ICyen/Y=
=bTvV
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to