- Update to 2.1.3:

* Reverted deprecation of fill_method=None in DataFrame.pct_change(),
    Series.pct_change(), DataFrameGroupBy.pct_change(), and
    SeriesGroupBy.pct_change(); the values 'backfill', 'bfill', 'pad', and
    'ffill' are still deprecated
  * Fixed regressions
    + Fixed infinite recursion from operations that return a new object on
      some DataFrame subclasses
    + Fixed regression in DataFrame.join() where result has missing values
      and dtype is arrow backed string
    + Fixed regression in rolling() where non-nanosecond index or on column
      would produce incorrect results
    + Fixed regression in DataFrame.resample() which was extrapolating back
      to origin when origin was outside its bounds
    + Fixed regression in DataFrame.sort_index() which was not sorting
      correctly when the index was a sliced MultiIndex
    + Fixed regression in DataFrameGroupBy.agg() and SeriesGroupBy.agg()
      where if the option compute.use_numba was set to True, groupby methods
      not supported by the numba engine would raise a TypeError
    + Fixed performance regression with wide DataFrames, typically
      involving methods where all columns were accessed individually
    + Fixed regression in merge_asof() raising TypeError for by with
      datetime and timedelta dtypes
    + Fixed regression in read_parquet() when reading a file with a string
      column consisting of more than 2 GB of string data and using the
      "string" dtype
    + Fixed regression in DataFrame.to_sql() not roundtripping datetime
      columns correctly for sqlite when using detect_types
    + Fixed regression in construction of certain DataFrame or Series
      subclasses

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=102
This commit is contained in:
Steve Kowalik 2023-12-01 03:26:59 +00:00 committed by Git OBS Bridge
parent be276136fd
commit 006aa4a237
5 changed files with 83 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/pandas-dev/pandas.git</param>
<param name="scm">git</param>
<param name="revision">v2.1.1</param>
<param name="revision">v2.1.3</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="filename">pandas</param>

View File

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

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

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

View File

@ -1,3 +1,70 @@
-------------------------------------------------------------------
Fri Dec 1 03:25:23 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.1.3:
* Reverted deprecation of fill_method=None in DataFrame.pct_change(),
Series.pct_change(), DataFrameGroupBy.pct_change(), and
SeriesGroupBy.pct_change(); the values 'backfill', 'bfill', 'pad', and
'ffill' are still deprecated
* Fixed regressions
+ Fixed infinite recursion from operations that return a new object on
some DataFrame subclasses
+ Fixed regression in DataFrame.join() where result has missing values
and dtype is arrow backed string
+ Fixed regression in rolling() where non-nanosecond index or on column
would produce incorrect results
+ Fixed regression in DataFrame.resample() which was extrapolating back
to origin when origin was outside its bounds
+ Fixed regression in DataFrame.sort_index() which was not sorting
correctly when the index was a sliced MultiIndex
+ Fixed regression in DataFrameGroupBy.agg() and SeriesGroupBy.agg()
where if the option compute.use_numba was set to True, groupby methods
not supported by the numba engine would raise a TypeError
+ Fixed performance regression with wide DataFrames, typically
involving methods where all columns were accessed individually
+ Fixed regression in merge_asof() raising TypeError for by with
datetime and timedelta dtypes
+ Fixed regression in read_parquet() when reading a file with a string
column consisting of more than 2 GB of string data and using the
"string" dtype
+ Fixed regression in DataFrame.to_sql() not roundtripping datetime
columns correctly for sqlite when using detect_types
+ Fixed regression in construction of certain DataFrame or Series
subclasses
* Bug fixes
+ Bug in DatetimeIndex.diff() raising TypeError
+ Bug in Index.isin() raising for Arrow backed string and None value
+ Fix read_parquet() and read_feather() for CVE-2023-47248
+ Fixed bug in DataFrameGroupBy reductions not preserving object dtype
when infer_string is set
+ Fixed bug in SeriesGroupBy.value_counts() returning incorrect dtype for
string columns
+ Fixed bug in Categorical.equals() if other has arrow backed string dtype
+ Fixed bug in DataFrame.__setitem__() not inferring string dtype for
zero-dimensional array with infer_string=True
+ Fixed bug in DataFrame.idxmin() and DataFrame.idxmax() raising for
arrow dtypes
+ Fixed bug in DataFrame.interpolate() raising incorrect error message
+ Fixed bug in Index.insert() raising when inserting None into Index with
dtype="string[pyarrow_numpy]"
+ Fixed bug in Series.all() and Series.any() not treating missing values
correctly for dtype="string[pyarrow_numpy]"
+ Fixed bug in Series.floordiv() for ArrowDtype
+ Fixed bug in Series.mode() not sorting values for arrow backed string
dtype
+ Fixed bug in Series.rank() for string[pyarrow_numpy] dtype
+ Fixed bug in Series.str.extractall() for ArrowDtype dtype being
converted to object
+ Fixed bug where PDEP-6 warning about setting an item of an
incompatible dtype was being shown when creating a new conditional
column
+ Silence Period[B] warnings introduced by GH 53446 during normal
plotting activity
+ Fixed bug in Series constructor not inferring string dtype when NA is
the first value and infer_string is set
- Prepare for Python 3.12, include the flavor check.
- Unpin Cython, upstream has moved onto 3.
-------------------------------------------------------------------
Sat Oct 14 03:55:05 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -21,18 +21,28 @@
%define psuffix -test-py39
%define skip_python310 1
%define skip_python311 1
%define skip_python312 1
%bcond_without test
%endif
%if "%{flavor}" == "test-py310"
%define psuffix -test-py310
%define skip_python39 1
%define skip_python311 1
%define skip_python312 1
%bcond_without test
%endif
%if "%{flavor}" == "test-py311"
%define psuffix -test-py311
%define skip_python39 1
%define skip_python310 1
%define skip_python312 1
%bcond_without test
%endif
%if "%{flavor}" == "test-py312"
%define psuffix -test-py312
%define skip_python39 1
%define skip_python310 1
%define skip_python311 1
%bcond_without test
%endif
%if "%{flavor}" == ""
@ -53,16 +63,15 @@
%{?sle15_python_module_pythons}
Name: python-pandas%{psuffix}
# Set version through _service
Version: 2.1.1
Version: 2.1.3
Release: 0
Summary: Python data structures for data analysis, time series, and statistics
License: BSD-3-Clause
Group: Development/Libraries/Python
URL: https://pandas.pydata.org/
# SourceRepository: https://github.com/pandas-dev/pandas
# Must be created by cloning through `osc service runall`: gh#pandas-dev/pandas#54903, gh#pandas-dev/pandas#54907
Source0: pandas-%{version}.tar.gz
BuildRequires: %{python_module Cython >= 0.29.33 with %python-Cython < 3}
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module meson-python >= 0.13.1}
BuildRequires: %{python_module numpy-devel >= 1.23.2 if %python-base < 3.12 else %python-numpy-devel >= 1.26}