diff options
| author | Francesco Ballarin <ballarin@debian.org> | 2026-05-07 09:13:56 +0000 |
|---|---|---|
| committer | git-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com> | 2026-05-07 16:29:30 +0000 |
| commit | a5220f0e29d242d809b59bf61008f5d6beb69914 (patch) | |
| tree | 1a41cf2821a4fb89f81d29299a9280603ae74fab | |
| parent | d3171173482458fe2adf59d708c926d35f60afc7 (diff) | |
2019.2.0~legacy20230509.35df986-8 (patches unapplied)HEADimport/2019.2.0_legacy20230509.35df986-8ubuntu/stonking-proposedubuntu/stonking-develubuntu/stonkingubuntu/develdebian/sid
Imported using git-ubuntu import.
Notes
Notes:
* Add patch numpy_2_4.patch for compatibility of tests with numpy 2.4.
Closes: #1131054.
| -rw-r--r-- | debian/changelog | 7 | ||||
| -rw-r--r-- | debian/patches/numpy_2_4.patch | 13 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index ebc9ca0..de0f369 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ffc (2019.2.0~legacy20230509.35df986-8) unstable; urgency=medium + + * Add patch numpy_2_4.patch for compatibility of tests with numpy 2.4. + Closes: #1131054. + + -- Francesco Ballarin <ballarin@debian.org> Thu, 07 May 2026 09:13:56 +0000 + ffc (2019.2.0~legacy20230509.35df986-7) unstable; urgency=medium * Update F. Ballarin's email address. diff --git a/debian/patches/numpy_2_4.patch b/debian/patches/numpy_2_4.patch new file mode 100644 index 0000000..31a0e93 --- /dev/null +++ b/debian/patches/numpy_2_4.patch @@ -0,0 +1,13 @@ +diff --git a/test/unit/misc/test_elements.py b/test/unit/misc/test_elements.py +index 52170ab..7f34d14 100644 +--- a/test/unit/misc/test_elements.py ++++ b/test/unit/misc/test_elements.py +@@ -190,7 +190,7 @@ supported (non-mixed) for low degrees""" + basis = table[list(table.keys())[0]] + for i in range(len(basis)): + if not element.value_shape(): +- assert round(float(basis[i]) - reference[i](x), 10) == 0.0 ++ assert round(float(basis[i, 0]) - reference[i](x), 10) == 0.0 + else: + for k in range(element.value_shape()[0]): + assert round(basis[i][k][0] - reference[i](x)[k] , 10) == 0.0 diff --git a/debian/patches/series b/debian/patches/series index c4e0a32..6872758 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ cflags_soabi_in_jit_signature.patch pkg-resources-to-importlib.patch numpy_product.patch cmake4.patch +numpy_2_4.patch |
