Accepting request 677956 from devel:languages:python:numeric

- Add requirement for at least 4 GB of physical memory

- Do not delete tests, they are used even by other inheriting packages
  for their testing
- Execute tests

- Update to 0.24.1
  * The default ``sort`` value for :meth:`Index.union` has changed from ``True`` to ``None`` (:issue:`24959`).
    The default *behavior*, however, remains the same
  * Fixed regression in :meth:`DataFrame.to_dict` with ``records`` orient raising an
    ``AttributeError`` when the ``DataFrame`` contained more than 255 columns, or
    wrongly converting column names that were not valid python identifiers (:issue:`24939`, :issue:`24940`).
  * Fixed regression in :func:`read_sql` when passing certain queries with MySQL/pymysql (:issue:`24988`).
  * Fixed regression in :class:`Index.intersection` incorrectly sorting the values by default (:issue:`24959`).
  * Fixed regression in :func:`merge` when merging an empty ``DataFrame`` with multiple timezone-aware columns on one of the timezone-aware columns (:issue:`25014`).
  * Fixed regression in :meth:`Series.rename_axis` and :meth:`DataFrame.rename_axis` where passing ``None`` failed to remove the axis name (:issue:`25034`)
  * Fixed regression in :func:`to_timedelta` with `box=False` incorrectly returning a ``datetime64`` object instead of a ``timedelta64`` object (:issue:`24961`)
  * Fixed regression where custom hashable types could not be used as column keys in :meth:`DataFrame.set_index` (:issue:`24969`)
  * Bug in :meth:`DataFrame.groupby` with :class:`Grouper` when there is a time change (DST) and grouping frequency is ``'1d'`` (:issue:`24972`)
  * Fixed the warning for implicitly registered matplotlib converters not showing. See :ref:`whatsnew_0211.converters` for more (:issue:`24963`).
  * Fixed AttributeError when printing a DataFrame's HTML repr after accessing the IPython config object (:issue:`25036`)

- Update to 0.24.0
  Highlights include:
  * Optional Integer NA Support
  * New APIs for accessing the array backing a Series or Index
  * A new top-level method for creating arrays
  * Store Interval and Period data in a Series or DataFrame
  * Support for joining on two MultiIndexes

OBS-URL: https://build.opensuse.org/request/show/677956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2019-02-26 21:19:20 +00:00 committed by Git OBS Bridge
commit f9be2ff729
5 changed files with 71 additions and 19 deletions

7
_constraints Normal file
View File

@ -0,0 +1,7 @@
<constraints>
<hardware>
<physicalmemory>
<size unit="M">4000</size>
</physicalmemory>
</hardware>
</constraints>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4
size 10490077

3
pandas-0.24.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:435821cb2501eabbcee7e83614bd710940dc0cf28b5afbc4bdb816c31cec71af
size 11832827

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Thu Feb 21 10:45:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Add requirement for at least 4 GB of physical memory
-------------------------------------------------------------------
Tue Feb 19 14:31:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <toddrme2178@gmail.com>
- Update to 0.24.1
* The default ``sort`` value for :meth:`Index.union` has changed from ``True`` to ``None`` (:issue:`24959`).
The default *behavior*, however, remains the same
* Fixed regression in :meth:`DataFrame.to_dict` with ``records`` orient raising an
``AttributeError`` when the ``DataFrame`` contained more than 255 columns, or
wrongly converting column names that were not valid python identifiers (:issue:`24939`, :issue:`24940`).
* Fixed regression in :func:`read_sql` when passing certain queries with MySQL/pymysql (:issue:`24988`).
* Fixed regression in :class:`Index.intersection` incorrectly sorting the values by default (:issue:`24959`).
* Fixed regression in :func:`merge` when merging an empty ``DataFrame`` with multiple timezone-aware columns on one of the timezone-aware columns (:issue:`25014`).
* Fixed regression in :meth:`Series.rename_axis` and :meth:`DataFrame.rename_axis` where passing ``None`` failed to remove the axis name (:issue:`25034`)
* Fixed regression in :func:`to_timedelta` with `box=False` incorrectly returning a ``datetime64`` object instead of a ``timedelta64`` object (:issue:`24961`)
* Fixed regression where custom hashable types could not be used as column keys in :meth:`DataFrame.set_index` (:issue:`24969`)
* Bug in :meth:`DataFrame.groupby` with :class:`Grouper` when there is a time change (DST) and grouping frequency is ``'1d'`` (:issue:`24972`)
* Fixed the warning for implicitly registered matplotlib converters not showing. See :ref:`whatsnew_0211.converters` for more (:issue:`24963`).
* Fixed AttributeError when printing a DataFrame's HTML repr after accessing the IPython config object (:issue:`25036`)
-------------------------------------------------------------------
Mon Jan 28 15:46:08 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Update to 0.24.0
Highlights include:
* Optional Integer NA Support
* New APIs for accessing the array backing a Series or Index
* A new top-level method for creating arrays
* Store Interval and Period data in a Series or DataFrame
* Support for joining on two MultiIndexes
-------------------------------------------------------------------
Wed Aug 8 16:26:30 UTC 2018 - jengelh@inai.de

View File

@ -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,31 +12,31 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%define oldpython python
Name: python-pandas
Version: 0.23.4
Version: 0.24.1
Release: 0
Summary: Python module for working with "relational" or "labeled" data
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}
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.9.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}
@ -44,9 +44,11 @@ BuildRequires: %{python_module xlrd}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-Cython
BuildRequires: xvfb-run
Requires: python-Cython >= 0.28.2
Requires: python-Tempita
Requires: python-lxml
Requires: python-numpy >= 1.9.0
Requires: python-numpy >= 1.15.0
Requires: python-python-dateutil >= 2.5
Requires: python-pytz >= 2011k
Requires: python-six
@ -72,10 +74,12 @@ Recommends: python-xarray >= 0.7.0
Recommends: python-xlrd
Recommends: python-xlwt
Recommends: xclip
Obsoletes: python-pandas-doc
Obsoletes: python-pandas-doc < %{version}
Provides: python-pandas-doc = %{version}
%ifpython2
Recommends: python-backports.lzma
Obsoletes: %{oldpython}-pandas-doc
Obsoletes: %{oldpython}-pandas-doc < %{version}
Provides: %{oldpython}-pandas-doc = %{version}
%endif
%python_subpackages
@ -88,6 +92,7 @@ http://pandas.pydata.org/pandas-docs/stable/ .
%prep
%setup -q -n pandas-%{version}
sed -i -e '/^#!\//, 1d' pandas/core/computation/eval.py
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
@ -97,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