The package rpms/python-pingouin.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-pingouin.git/commit/?id=2bac2... https://src.fedoraproject.org/cgit/rpms/python-pingouin.git/commit/?id=9dab5....
Change: -%ifarch %{arm32} -%ifarch %{arm32} %{ix86}
Thanks.
Full change: ============
commit 2bac270900385c8bc7c504438e6420848b948149 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Aug 30 10:42:50 2022 -0400
Remove test skip for retired 32-bit arm arch.
diff --git a/python-pingouin.spec b/python-pingouin.spec index 087fa31..411e05d 100644 --- a/python-pingouin.spec +++ b/python-pingouin.spec @@ -85,11 +85,7 @@ sed -r -i 's/^(pytest-travis-fold)$/# \1/' requirements-test.txt
%check %if %{with tests} -%ifarch %{arm32} -# https://github.com/raphaelvallat/pingouin/issues/196 -k="${k-}${k+ and }not (TestRegression and test_linear_regression)" -%endif -%pytest -k "${k-}" +%pytest %endif
%files -n python3-pingouin -f %{pyproject_files}
commit 9dab5ce12c750cdfa3cb07160521fb790eeb970d Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Aug 30 10:41:54 2022 -0400
Remove workaround for pandas<1.3.4
https://github.com/pandas-dev/pandas/issues/43588
diff --git a/python-pingouin.spec b/python-pingouin.spec index e5b9840..087fa31 100644 --- a/python-pingouin.spec +++ b/python-pingouin.spec @@ -89,11 +89,6 @@ sed -r -i 's/^(pytest-travis-fold)$/# \1/' requirements-test.txt # https://github.com/raphaelvallat/pingouin/issues/196 k="${k-}${k+ and }not (TestRegression and test_linear_regression)" %endif -%ifarch %{arm32} %{ix86} -# https://github.com/raphaelvallat/pingouin/issues/197 -# https://github.com/pandas-dev/pandas/issues/43588 -k="${k-}${k+ and }not (TestParametric and test_pandas)" -%endif %pytest -k "${k-}" %endif
commit 4130e588149a0eafe70da87966f54871e751d551 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Aug 30 10:39:30 2022 -0400
Fix compatibility with scikit-learn 1.1.2 (fix RHBZ#2122144)
Backport upstream PR#300.
diff --git a/300.patch b/300.patch new file mode 100644 index 0000000..ab3e016 --- /dev/null +++ b/300.patch @@ -0,0 +1,53 @@ +From 09a7a65751d20cc4ba04e3725c47f59c9a13b619 Mon Sep 17 00:00:00 2001 +From: Raphael Vallat raphaelvallat9@gmail.com +Date: Mon, 29 Aug 2022 16:15:56 -0700 +Subject: [PATCH] sklearn >=1.1.2 + +--- + docs/changelog.rst | 5 +++++ + requirements.txt | 2 +- + setup.py | 2 +- + 3 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/docs/changelog.rst b/docs/changelog.rst +index 1569f5e..d77616b 100644 +--- a/docs/changelog.rst ++++ b/docs/changelog.rst +@@ -21,6 +21,11 @@ We have added the :py:func:`pingouin.ptests` function to calculate a T-test (T- + >>> df = pg.read_dataset('pairwise_corr').iloc[:30, 1:] + >>> df.ptests() + ++ ++**Dependencies** ++ ++a. New requirement for scikit-learn>=1.1.2, which includes bugfix for :py:func:`pingouin.logistic_regression`. `PR 272 https://github.com/raphaelvallat/pingouin/issues/272`_. ++ + ************* + + v0.5.2 (June 2022) +diff --git a/requirements.txt b/requirements.txt +index 115ae3f..5e73cbb 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -4,7 +4,7 @@ pandas>=1.0 + matplotlib>=3.0.2 + seaborn>=0.11 + statsmodels>=0.13 +-scikit-learn<1.1.0 ++scikit-learn>=1.1.2 + pandas_flavor>=0.2.0 + outdated + tabulate +diff --git a/setup.py b/setup.py +index 7009812..cf0c738 100644 +--- a/setup.py ++++ b/setup.py +@@ -28,7 +28,7 @@ def read(fname): + "matplotlib>=3.0.2", + "seaborn>=0.11", + "statsmodels>=0.13", +- "scikit-learn<1.1.0", ++ "scikit-learn>=1.1.2", + "pandas_flavor>=0.2.0", + "outdated", + "tabulate", diff --git a/pingouin-0.5.2-scikit-learn-1.1.2.patch b/pingouin-0.5.2-scikit-learn-1.1.2.patch new file mode 100644 index 0000000..ff2e1b0 --- /dev/null +++ b/pingouin-0.5.2-scikit-learn-1.1.2.patch @@ -0,0 +1,39 @@ +diff -Naur pingouin-0.5.2-original/docs/changelog.rst pingouin-0.5.2/docs/changelog.rst +--- pingouin-0.5.2-original/docs/changelog.rst 2022-06-24 13:41:06.000000000 -0400 ++++ pingouin-0.5.2/docs/changelog.rst 2022-08-30 10:37:33.649763612 -0400 +@@ -6,6 +6,11 @@ + .. contents:: Table of Contents + :depth: 2 + ++ ++**Dependencies** ++ ++a. New requirement for scikit-learn>=1.1.2, which includes bugfix for :py:func:`pingouin.logistic_regression`. `PR 272 https://github.com/raphaelvallat/pingouin/issues/272`_. ++ + ************* + + v0.5.2 (June 2022) +diff -Naur pingouin-0.5.2-original/requirements.txt pingouin-0.5.2/requirements.txt +--- pingouin-0.5.2-original/requirements.txt 2022-06-24 13:41:06.000000000 -0400 ++++ pingouin-0.5.2/requirements.txt 2022-08-30 10:37:33.649763612 -0400 +@@ -4,7 +4,7 @@ + matplotlib>=3.0.2 + seaborn>=0.11 + statsmodels>=0.13 +-scikit-learn<1.1.0 ++scikit-learn>=1.1.2 + pandas_flavor>=0.2.0 + outdated + tabulate +diff -Naur pingouin-0.5.2-original/setup.py pingouin-0.5.2/setup.py +--- pingouin-0.5.2-original/setup.py 2022-06-24 13:41:06.000000000 -0400 ++++ pingouin-0.5.2/setup.py 2022-08-30 10:37:33.649763612 -0400 +@@ -28,7 +28,7 @@ + "matplotlib>=3.0.2", + "seaborn>=0.11", + "statsmodels>=0.13", +- "scikit-learn<1.1.0", ++ "scikit-learn>=1.1.2", + "pandas_flavor>=0.2.0", + "outdated", + "tabulate", diff --git a/python-pingouin.spec b/python-pingouin.spec index 83dc606..e5b9840 100644 --- a/python-pingouin.spec +++ b/python-pingouin.spec @@ -33,6 +33,12 @@ URL: https://pingouin-stats.org/ # PyPI tar does not contain docs and tests Source0: https://github.com/raphaelvallat/pingouin/archive/v%%7Bversion%7D/pingouin-%...
+# Use scikit-learn>=1.1.2 +# https://github.com/raphaelvallat/pingouin/pull/300 +# +# Rebased on 0.5.2. +Patch: pingouin-0.5.2-scikit-learn-1.1.2.patch + BuildRequires: python3-devel
# The odd combination of an arched package with only noarch binary packages @@ -61,7 +67,7 @@ BuildArch: noarch %{summary}.
%prep -%autosetup -n pingouin-%{version} +%autosetup -n pingouin-%{version} -p1 %if %{with tests} # Only required and works in TRAVIS, so not needed here sed -r -i 's/^(pytest-travis-fold)$/# \1/' requirements-test.txt
arch-excludes@lists.fedoraproject.org