Hello community, here is the log from the commit of package python-pandas for openSUSE:Factory checked in at 2019-03-18 10:43:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pandas (Old) and /work/SRC/openSUSE:Factory/.python-pandas.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pandas" Mon Mar 18 10:43:30 2019 rev:17 rq:685823 version:0.24.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pandas/python-pandas.changes 2019-02-26 22:19:43.586123107 +0100 +++ /work/SRC/openSUSE:Factory/.python-pandas.new.28833/python-pandas.changes 2019-03-18 10:43:36.303130120 +0100 @@ -1,0 +2,88 @@ +Sat Mar 16 22:35:08 UTC 2019 - Arun Persaud <[email protected]> + +- specfile: + * requier pytest-mock + +- update to version 0.24.2: + * Fixed Regressions + + Fixed regression in DataFrame.all() and DataFrame.any() where + bool_only=True was ignored (GH25101) + + Fixed issue in DataFrame construction with passing a mixed list + of mixed types could segfault. (GH25075) + + Fixed regression in DataFrame.apply() causing RecursionError + when dict-like classes were passed as argument. (GH25196) + + Fixed regression in DataFrame.replace() where regex=True was + only replacing patterns matching the start of the string + (GH25259) + + Fixed regression in DataFrame.duplicated(), where empty + dataframe was not returning a boolean dtyped Series. (GH25184) + + Fixed regression in Series.min() and Series.max() where + numeric_only=True was ignored when the Series contained + Categorical data (GH25299) + + Fixed regression in subtraction between Series objects with + datetime64[ns] dtype incorrectly raising OverflowError when the + Series on the right contains null values (GH25317) + + Fixed regression in TimedeltaIndex where np.sum(index) + incorrectly returned a zero-dimensional object instead of a + scalar (GH25282) + + Fixed regression in IntervalDtype construction where passing an + incorrect string with ‘Interval’ as a prefix could result in a + RecursionError. (GH25338) + + Fixed regression in creating a period-dtype array from a + read-only NumPy array of period objects. (GH25403) + + Fixed regression in Categorical, where constructing it from a + categorical Series and an explicit categories= that differed + from that in the Series created an invalid object which could + trigger segfaults. (GH25318) + + Fixed regression in to_timedelta() losing precision when + converting floating data to Timedelta data (GH25077). + + Fixed pip installing from source into an environment without + NumPy (GH25193) + + Fixed regression in DataFrame.replace() where large strings of + numbers would be coerced into int64, causing an OverflowError + (GH25616) + + Fixed regression in factorize() when passing a custom + na_sentinel value with sort=True (GH25409). + + Fixed regression in DataFrame.to_csv() writing duplicate line + endings with gzip compress (GH25311) + * Bug Fixes + + I/O + o Better handling of terminal printing when the terminal + dimensions are not known (GH25080) + o Bug in reading a HDF5 table-format DataFrame created in Python + 2, in Python 3 (GH24925) + o Bug in reading a JSON with orient='table' generated by + DataFrame.to_json() with index=False (GH25170) + o Bug where float indexes could have misaligned values when + printing (GH25061) + + Reshaping + o Bug in transform() where applying a function to a timezone aware + column would return a timezone naive result (GH24198) + o Bug in DataFrame.join() when joining on a timezone aware + DatetimeIndex (GH23931) + o Visualization + o Bug in Series.plot() where a secondary y axis could not be set + to log scale (GH25545) + + Other + o Bug in Series.is_unique() where single occurrences of NaN were + not considered unique (GH25180) + o Bug in merge() when merging an empty DataFrame with an Int64 + column or a non-empty DataFrame with an Int64 column that is all + NaN (GH25183) + o Bug in IntervalTree where a RecursionError occurs upon + construction due to an overflow when adding endpoints, which + also causes IntervalIndex to crash during indexing operations + (GH25485) + o Bug in Series.size raising for some extension-array-backed + Series, rather than returning the size (GH25580) + o Bug in resampling raising for nullable integer-dtype columns + (GH25580) + +------------------------------------------------------------------- +Fri Feb 22 10:22:38 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Add patch to fix testrun on 32bit: + https://github.com/pandas-dev/pandas/issues/25384 + * pandas-tests-memory.patch + +------------------------------------------------------------------- Old: ---- pandas-0.24.1.tar.gz New: ---- pandas-0.24.2.tar.gz pandas-tests-memory.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pandas.spec ++++++ --- /var/tmp/diff_new_pack.KCp8LS/_old 2019-03-18 10:43:37.087129278 +0100 +++ /var/tmp/diff_new_pack.KCp8LS/_new 2019-03-18 10:43:37.091129273 +0100 @@ -19,13 +19,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-pandas -Version: 0.24.1 +Version: 0.24.2 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 +Patch0: pandas-tests-memory.patch BuildRequires: %{python_module Cython >= 0.28.2} BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module XlsxWriter} @@ -35,6 +36,7 @@ BuildRequires: %{python_module lxml} BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy-devel >= 1.15.0} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil >= 2.5} BuildRequires: %{python_module pytz >= 2011k} @@ -92,6 +94,7 @@ %prep %setup -q -n pandas-%{version} +%patch0 -p1 sed -i -e '/^#!\//, 1d' pandas/core/computation/eval.py %build ++++++ pandas-0.24.1.tar.gz -> pandas-0.24.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-pandas/pandas-0.24.1.tar.gz /work/SRC/openSUSE:Factory/.python-pandas.new.28833/pandas-0.24.2.tar.gz differ: char 5, line 1 ++++++ pandas-tests-memory.patch ++++++ >From 5a73ff8b4e10d016e0fd4162fa14c8f1a41345d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <[email protected]> Date: Thu, 21 Feb 2019 15:05:21 +0100 Subject: [PATCH] Mark test_pct_max_many_rows as high memory Fixes issue #25384 --- pandas/tests/frame/test_rank.py | 1 + pandas/tests/series/test_rank.py | 1 + pandas/tests/test_algos.py | 1 + 3 files changed, 3 insertions(+) diff --git a/pandas/tests/frame/test_rank.py b/pandas/tests/frame/test_rank.py index 10c42e0d1a1..6bb9dea15d1 100644 --- a/pandas/tests/frame/test_rank.py +++ b/pandas/tests/frame/test_rank.py @@ -310,6 +310,7 @@ def test_rank_pct_true(self, method, exp): tm.assert_frame_equal(result, expected) @pytest.mark.single + @pytest.mark.high_memory def test_pct_max_many_rows(self): # GH 18271 df = DataFrame({'A': np.arange(2**24 + 1), diff --git a/pandas/tests/series/test_rank.py b/pandas/tests/series/test_rank.py index 510a51e0029..dfcda889269 100644 --- a/pandas/tests/series/test_rank.py +++ b/pandas/tests/series/test_rank.py @@ -499,6 +499,7 @@ def test_rank_first_pct(dtype, ser, exp): @pytest.mark.single [email protected]_memory def test_pct_max_many_rows(): # GH 18271 s = Series(np.arange(2**24 + 1)) diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index 888cf78a1c6..cb7426ce2f7 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -1484,6 +1484,7 @@ def test_too_many_ndims(self): algos.rank(arr) @pytest.mark.single + @pytest.mark.high_memory @pytest.mark.parametrize('values', [ np.arange(2**24 + 1), np.arange(2**25 + 2).reshape(2**24 + 1, 2)],
