Control: tags 1095096 + patch
Control: tags 1095096 + pending

Dear maintainer,

I've prepared an NMU for seaborn (versioned as 0.13.2-4.1) and
uploaded it to unstable.

Regards.


-- 
WBR, wRAR
diff -Nru seaborn-0.13.2/debian/changelog seaborn-0.13.2/debian/changelog
--- seaborn-0.13.2/debian/changelog	2024-07-03 15:26:25.000000000 +0500
+++ seaborn-0.13.2/debian/changelog	2025-02-14 20:52:04.000000000 +0500
@@ -1,3 +1,10 @@
+seaborn (0.13.2-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix tests with NumPy 2.x (Closes: #1095096).
+
+ -- Andrey Rakhmatullin <w...@debian.org>  Fri, 14 Feb 2025 20:52:04 +0500
+
 seaborn (0.13.2-4) unstable; urgency=medium
 
   * Team Upload
diff -Nru seaborn-0.13.2/debian/patches/numpy2.patch seaborn-0.13.2/debian/patches/numpy2.patch
--- seaborn-0.13.2/debian/patches/numpy2.patch	1970-01-01 05:00:00.000000000 +0500
+++ seaborn-0.13.2/debian/patches/numpy2.patch	2025-02-14 20:51:34.000000000 +0500
@@ -0,0 +1,23 @@
+From 371f33c5ac72c5c670e0dde00e42973bcf13f892 Mon Sep 17 00:00:00 2001
+From: Michael Waskom <mwas...@gmail.com>
+Date: Thu, 25 Apr 2024 06:54:20 -0400
+Subject: [PATCH] Remove reference to deprecated numpy error class in tests
+
+---
+ tests/test_distributions.py | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/tests/test_distributions.py b/tests/test_distributions.py
+index 0df1a15beb..fd2f333fbc 100644
+--- a/tests/test_distributions.py
++++ b/tests/test_distributions.py
+@@ -1038,9 +1038,6 @@ def test_bandwidth(self, rng):
+ 
+     def test_weights(self, rng):
+ 
+-        import warnings
+-        warnings.simplefilter("error", np.VisibleDeprecationWarning)
+-
+         n = 100
+         x, y = rng.multivariate_normal([1, 3], [(.2, .5), (.5, 2)], n).T
+         hue = np.repeat([0, 1], n // 2)
diff -Nru seaborn-0.13.2/debian/patches/series seaborn-0.13.2/debian/patches/series
--- seaborn-0.13.2/debian/patches/series	2024-06-30 22:55:53.000000000 +0500
+++ seaborn-0.13.2/debian/patches/series	2025-02-14 20:51:54.000000000 +0500
@@ -1 +1,2 @@
 32-bits.patch
+numpy2.patch

Attachment: signature.asc
Description: PGP signature

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to