From 7bcad28c0f621cf42029679d27fc2f41ce27db60 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: May 23 2022 13:49:27 +0000 Subject: Add “pandas[test]” to “test” extra This is important because the python-pandas package will now install pandas.tests only with python3-pandas+tests, and Dask’s tests import from Pandas’s test suite. --- diff --git a/9110.patch b/9110.patch new file mode 100644 index 0000000..247d698 --- /dev/null +++ b/9110.patch @@ -0,0 +1,27 @@ +From 96112f76bb28608f100920732825e45917ee0e5d Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Sat, 21 May 2022 08:09:39 -0400 +Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=9Cpandas[test]=E2=80=9D=20to=20?= + =?UTF-8?q?=E2=80=9Ctest=E2=80=9D=20extra?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Since the tests use “pandas.test” (the actual Pandas test suite), not +only “pandas.testing”, it makes sense to rely on Pandas’s test extra. +--- + setup.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/setup.py b/setup.py +index d52adf72d29..c3ae3ff62d9 100755 +--- a/setup.py ++++ b/setup.py +@@ -25,6 +25,7 @@ + extras_require["complete"] = sorted({v for req in extras_require.values() for v in req}) + # after complete is set, add in test + extras_require["test"] = [ ++ "pandas[test]", + "pytest", + "pytest-rerunfailures", + "pytest-xdist", diff --git a/python-dask.spec b/python-dask.spec index 742e06e..859176c 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -40,6 +40,9 @@ Patch: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch # This patch has been trivially rebased to apply to the PyPI sdist, which uses # tabs rather than spaces in setup.cfg. Patch: dask-2022.5.0-pr-9113.patch +# Add “pandas[test]” to “test” extra +# https://github.com/dask/dask/pull/9110 +Patch: %{url}/pull/9110.patch %description Dask is a flexible parallel computing library for analytics.