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
This commit is contained in:
Tomáš Chvátal 2020-05-26 07:29:19 +00:00 committed by Git OBS Bridge
parent b10c5eda60
commit a6ba2f7761
3 changed files with 20 additions and 0 deletions

12
gcc10-skip-one-test.patch Normal file
View File

@ -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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 25 20:21:59 UTC 2020 - Martin Liška <mliska@suse.cz>
- 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 <arun@gmx.de>

View File

@ -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