diff --git a/python-pandas.changes b/python-pandas.changes index b2d6612..7401666 100644 --- a/python-pandas.changes +++ b/python-pandas.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 19 14:31:25 UTC 2019 - Tomáš Chvátal + +- Do not delete tests, they are used even by other inheriting packages + for their testing +- Execute tests + ------------------------------------------------------------------- Tue Feb 5 22:16:08 UTC 2019 - Todd R diff --git a/python-pandas.spec b/python-pandas.spec index a1a6a1a..e0edb2f 100644 --- a/python-pandas.spec +++ b/python-pandas.spec @@ -1,7 +1,7 @@ # # spec file for package python-pandas # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,16 +26,17 @@ License: BSD-3-Clause Group: Development/Libraries/Python URL: http://pandas.pydata.org/ Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz +BuildRequires: %{python_module Cython >= 0.28.2} BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module XlsxWriter} BuildRequires: %{python_module beautifulsoup4 >= 4.2.1} BuildRequires: %{python_module devel} +BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module lxml} BuildRequires: %{python_module nose} -BuildRequires: %{python_module numpy-devel >= 1.12.0} +BuildRequires: %{python_module numpy-devel >= 1.15.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil >= 2.5} -BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module pytz >= 2011k} BuildRequires: %{python_module setuptools >= 24.2.0} BuildRequires: %{python_module six} @@ -43,10 +44,11 @@ BuildRequires: %{python_module xlrd} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros +BuildRequires: xvfb-run Requires: python-Cython >= 0.28.2 Requires: python-Tempita Requires: python-lxml -Requires: python-numpy >= 1.12.0 +Requires: python-numpy >= 1.15.0 Requires: python-python-dateutil >= 2.5 Requires: python-pytz >= 2011k Requires: python-six @@ -100,11 +102,9 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} -%python_expand rm -r %{buildroot}%{$python_sitearch}/pandas/tests - -# Needs X and various other fun to work -#%check -#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_version} pandas/tests +%check +# skip test that tries to compile stuff in buildroot test_oo_optimizable +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} xvfb-run py.test-%{$python_version} -v %{buildroot}%{$python_sitearch}/pandas/tests -k 'not test_oo_optimizable' %files %{python_files} %license LICENSE