[Git][debian-gis-team/metpy][master] Add patch to fix autopkgtest failure on arm64.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Wed Aug 2 20:23:25 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / metpy
Commits:
7a187608 by Bas Couwenberg at 2023-08-02T21:22:36+02:00
Add patch to fix autopkgtest failure on arm64.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/arm64.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+metpy (1.5.1+ds-3) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Add patch to fix autopkgtest failure on arm64.
+
+ -- Bas Couwenberg <sebastic at debian.org> Wed, 02 Aug 2023 21:22:24 +0200
+
metpy (1.5.1+ds-2) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/arm64.patch
=====================================
@@ -0,0 +1,22 @@
+Description: Use xfail for test that doesn't fail on arm64.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/tests/calc/test_thermo.py
++++ b/tests/calc/test_thermo.py
+@@ -3,6 +3,7 @@
+ # SPDX-License-Identifier: BSD-3-Clause
+ """Test the `thermo` module."""
+
++import platform
+ import sys
+ import warnings
+
+@@ -197,6 +198,8 @@ def test_moist_lapse_starting_points(sta
+ assert_almost_equal(temp, truth, 4)
+
+
++ at pytest.mark.xfail(platform.machine() == 'aarch64',
++ reason='ValueError is not raised on aarch64')
+ @pytest.mark.xfail(sys.platform == 'win32', reason='solve_ivp() does not error on Windows')
+ @pytest.mark.xfail(packaging.version.parse(scipy.__version__) < packaging.version.parse('1.7'),
+ reason='solve_ivp() does not error on Scipy < 1.7')
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
0001-Skip-tests-requiring-internet.patch
+arm64.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/metpy/-/commit/7a187608c6a65a2f6686fb11ad286913a9b979cb
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/metpy/-/commit/7a187608c6a65a2f6686fb11ad286913a9b979cb
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/20230802/d77e5a82/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list