public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/dask/files/
@ 2022-04-04  7:26 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2022-04-04  7:26 UTC (permalink / raw
  To: gentoo-commits

commit:     46ca9de1dec5061ef258d9ddde67312b23ced952
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Apr  4 06:03:28 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr  4 07:26:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ca9de1

dev-python/dask: remove unused patch(es)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24893
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/dask/files/dask-2021.10.0-warning.patch | 38 ----------------------
 1 file changed, 38 deletions(-)

diff --git a/dev-python/dask/files/dask-2021.10.0-warning.patch b/dev-python/dask/files/dask-2021.10.0-warning.patch
deleted file mode 100644
index 87c2ab318aee..000000000000
--- a/dev-python/dask/files/dask-2021.10.0-warning.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f59293c180f846a220762701006d25655095991f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sat, 23 Oct 2021 09:09:29 +0200
-Subject: [PATCH] Fix test_describe_empty to work without global -Werror
-
-Fix test_describe_empty to work when the test suite is run without
-global -Werror.  This is e.g. desirable for packagers who don't want
-the test suite for a fixed version to suddenly start failing due to
-DeprecationWarnings in dependencies that otherwise don't break
-the package.
-
-Since the test expects either a ValueError or a RuntimeWarning, it seems
-that the easiest way to assert for that is to inject the "error" filter
-for the scope of the call.
----
- dask/dataframe/tests/test_dataframe.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py
-index 32edb488..e0d88ba8 100644
---- a/dask/dataframe/tests/test_dataframe.py
-+++ b/dask/dataframe/tests/test_dataframe.py
-@@ -570,7 +570,11 @@ def test_describe_empty():
-     )
- 
-     with pytest.raises((ValueError, RuntimeWarning)):
--        ddf_len0.describe(percentiles_method="dask").compute()
-+        with warnings.catch_warnings():
-+            # ensure that the warning is turned into an error since this is
-+            # the easiest way to assert for exception-or-warning
-+            warnings.simplefilter("error")
-+            ddf_len0.describe(percentiles_method="dask").compute()
- 
-     with pytest.raises(ValueError):
-         ddf_nocols.describe(percentiles_method="dask").compute()
--- 
-2.33.1
-


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-04  7:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-04  7:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/dask/files/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox