From b51797a84ed628ed897b05c1445fed55f0ce897d54671c0528b96c0011a7c320 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 21 May 2020 17:39:44 +0000 Subject: [PATCH 1/4] Add diagnostics OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=36 --- python-pandas.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-pandas.spec b/python-pandas.spec index e2eb8fe..db1c3d8 100644 --- a/python-pandas.spec +++ b/python-pandas.spec @@ -122,6 +122,7 @@ export LC_ALL=en_US.UTF-8 export PYTHONDONTWRITEBYTECODE=1 mv pandas pandas_temp %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python -c 'import pandas; print(pandas.show_versions())' xvfb-run py.test-%{$python_version} -n auto -v %{buildroot}%{$python_sitearch}/pandas/tests -k 'not test_oo_optimizable and not test_encode_non_c_locale and not test_maybe_promote_int_with_int' } mv pandas_temp pandas From c329e95ac3a87a06d3c96e13b4dcca2380c0a929eba90f5a575f29b49f06f8e5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 21 May 2020 20:52:50 +0000 Subject: [PATCH 2/4] Increase _constraints OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=37 --- _constraints | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_constraints b/_constraints index 99390ab..1627d46 100644 --- a/_constraints +++ b/_constraints @@ -1,7 +1,7 @@ - 4000 + 8000 From b10c5eda60cb710e2ee8d805677218c329c0c83809a12263f3b5bdb1dfd09315 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 21 May 2020 21:19:50 +0000 Subject: [PATCH 3/4] - Increase memory _constraints to 8GB RAM. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=38 --- python-pandas.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/python-pandas.changes b/python-pandas.changes index 52ccd09..5e6cd42 100644 --- a/python-pandas.changes +++ b/python-pandas.changes @@ -7,6 +7,7 @@ Sat Mar 28 16:42:49 UTC 2020 - Arun Persaud non-writeable (GH31710) + Fixed regression in DataFrame exponentiation with reindexing (GH32685) +- Increase memory _constraints to 8GB RAM. ------------------------------------------------------------------- Mon Mar 16 07:12:34 UTC 2020 - Tomáš Chvátal From a6ba2f77619318ebbeaaea9866a90ed59a5e2d3da5fc94a4aac73e8a32c1a6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 26 May 2020 07:29:19 +0000 Subject: [PATCH 4/4] Accepting request 808860 from home:marxin:branches:devel:languages:python:numeric - Add gcc10-skip-one-test.patch in order to fix a failing test-case on i586. OBS-URL: https://build.opensuse.org/request/show/808860 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=39 --- gcc10-skip-one-test.patch | 12 ++++++++++++ python-pandas.changes | 6 ++++++ python-pandas.spec | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 gcc10-skip-one-test.patch diff --git a/gcc10-skip-one-test.patch b/gcc10-skip-one-test.patch new file mode 100644 index 0000000..339eefa --- /dev/null +++ b/gcc10-skip-one-test.patch @@ -0,0 +1,12 @@ +diff --git a/pandas/tests/reshape/merge/test_merge.py b/pandas/tests/reshape/merge/test_merge.py +index 8465e2c..f53d2ad 100644 +--- a/pandas/tests/reshape/merge/test_merge.py ++++ b/pandas/tests/reshape/merge/test_merge.py +@@ -1459,6 +1459,7 @@ class TestMergeDtypes: + ) + tm.assert_frame_equal(result, expected) + ++ @pytest.mark.xfail + def test_merge_on_ints_floats_warning(self): + # GH 16572 + # merge will produce a warning when merging on int and diff --git a/python-pandas.changes b/python-pandas.changes index 5e6cd42..682337e 100644 --- a/python-pandas.changes +++ b/python-pandas.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 25 20:21:59 UTC 2020 - Martin Liška + +- Add gcc10-skip-one-test.patch in order to fix a failing test-case + on i586. + ------------------------------------------------------------------- Sat Mar 28 16:42:49 UTC 2020 - Arun Persaud diff --git a/python-pandas.spec b/python-pandas.spec index db1c3d8..f2e5dcb 100644 --- a/python-pandas.spec +++ b/python-pandas.spec @@ -26,6 +26,7 @@ License: BSD-3-Clause Group: Development/Libraries/Python URL: https://pandas.pydata.org/ Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz +Patch0: gcc10-skip-one-test.patch BuildRequires: %{python_module Cython >= 0.28.2} # test requirements BuildRequires: %{python_module Jinja2} @@ -98,6 +99,7 @@ block for doing data analysis in Python. %prep %setup -q -n pandas-%{version} +%patch0 -p1 sed -i -e '/^#!\//, 1d' pandas/core/computation/eval.py sed -i -e '/^#!\//, 1d' pandas/tests/io/generate_legacy_storage_files.py sed -i -e '/^#!\//, 1d' pandas/tests/plotting/common.py