Accepting request 1030925 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1030925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2022-10-27 11:53:09 +00:00 committed by Git OBS Bridge
commit 7bdba623af
4 changed files with 116 additions and 37 deletions

View File

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

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

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

View File

@ -1,3 +1,85 @@
-------------------------------------------------------------------
Sat Oct 22 16:10:11 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 1.5.1:
* Fixed regressions
+ Fixed Regression in Series.__setitem__() casting None to NaN for
object dtype (GH48665)
+ Fixed Regression in DataFrame.loc() when setting values as a
DataFrame with all True indexer (GH48701)
+ Regression in read_csv() causing an EmptyDataError when using an
UTF-8 file handle that was already read from (GH48646)
+ Regression in to_datetime() when utc=True and arg contained
timezone naive and aware arguments raised a ValueError (GH48678)
+ Fixed regression in DataFrame.loc() raising FutureWarning when
setting an empty DataFrame (GH48480)
+ Fixed regression in DataFrame.describe() raising TypeError when
result contains NA (GH48778)
+ Fixed regression in DataFrame.plot() ignoring invalid colormap
for kind="scatter" (GH48726)
+ Fixed regression in MultiIndex.values`() resetting freq
attribute of underlying Index object (GH49054)
+ Fixed performance regression in factorize() when na_sentinel is
not None and sort=False (GH48620)
+ Fixed regression causing an AttributeError during warning
emitted if the provided table name in DataFrame.to_sql() and the
table name actually used in the database do not match (GH48733)
+ Fixed regression in to_datetime() when arg was a date string
with nanosecond and format contained %f would raise a ValueError
(GH48767)
+ Fixed regression in assert_frame_equal() raising for MultiIndex
with Categorical and check_like=True (GH48975)
+ Fixed regression in DataFrame.fillna() replacing wrong values
for datetime64[ns] dtype and inplace=True (GH48863)
+ Fixed DataFrameGroupBy.size() not returning a Series when axis=1
(GH48738)
+ Fixed Regression in DataFrameGroupBy.apply() when user defined
function is called on an empty dataframe (GH47985)
+ Fixed regression in DataFrame.apply() when passing non-zero axis
via keyword argument (GH48656)
+ Fixed regression in Series.groupby() and DataFrame.groupby()
when the grouper is a nullable data type (e.g. Int64) or a
PyArrow-backed string array, contains null values, and
dropna=False (GH48794)
+ Fixed performance regression in Series.isin() with mismatching
dtypes (GH49162)
+ Fixed regression in DataFrame.to_parquet() raising when file
name was specified as bytes (GH48944)
+ Fixed regression in ExcelWriter where the book attribute could
no longer be set; however setting this attribute is now
deprecated and this ability will be removed in a future version
of pandas (GH48780)
+ Fixed regression in DataFrame.corrwith() when computing
correlation on tied data with method="spearman" (GH48826)
* Bug fixes
+ Bug in Series.__getitem__() not falling back to positional for
integer keys and boolean Index (GH48653)
+ Bug in DataFrame.to_hdf() raising AssertionError with boolean
index (GH48667)
+ Bug in assert_index_equal() for extension arrays with non
matching NA raising ValueError (GH48608)
+ Bug in DataFrame.pivot_table() raising unexpected FutureWarning
when setting datetime column as index (GH48683)
+ Bug in DataFrame.sort_values() emitting unnecessary
FutureWarning when called on DataFrame with boolean sparse
columns (GH48784)
+ Bug in arrays.ArrowExtensionArray with a comparison operator to
an invalid object would not raise a NotImplementedError
(GH48833)
* Other
+ Avoid showing deprecated signatures when introspecting functions
with warnings about arguments becoming keyword-only (GH48692)
-------------------------------------------------------------------
Mon Sep 19 21:49:49 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* update required versions
- update to version 1.5.0:
* long changelog, full version available at
https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.5.0.html#
-------------------------------------------------------------------
Sat Sep 10 13:25:41 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -42,7 +42,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-pandas%{psuffix}
Version: 1.4.4
Version: 1.5.1
Release: 0
Summary: Python data structures for data analysis, time series, and statistics
License: BSD-3-Clause
@ -50,45 +50,45 @@ Group: Development/Libraries/Python
URL: https://pandas.pydata.org/
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
BuildRequires: %{python_module Cython >= 0.29.32}
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module Jinja2 >= 3.0.0}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy-devel >= 1.18.5}
BuildRequires: %{python_module numpy-devel >= 1.20.3}
BuildRequires: %{python_module python-dateutil >= 2.8.1}
BuildRequires: %{python_module pytz >= 2020.1}
BuildRequires: %{python_module setuptools >= 51.0.0}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.18.5
Requires: python-numpy >= 1.20.3
Requires: python-python-dateutil >= 2.8.1
Requires: python-pytz >= 2020.1
Recommends: python-Bottleneck >= 1.3.1
Recommends: python-numexpr >= 2.7.1
Suggests: python-Jinja2 >= 2.10
Suggests: python-PyMySQL >= 0.10.1
Suggests: python-SQLAlchemy >= 1.4.0
Recommends: python-Bottleneck >= 1.3.2
Recommends: python-numexpr >= 2.7.3
Suggests: python-Jinja2 >= 3.0.0
Suggests: python-PyMySQL >= 1.0.2
Suggests: python-SQLAlchemy >= 1.4.16
Suggests: python-XlsxWriter >= 1.2.2
Suggests: python-beautifulsoup4 >= 4.8.2
Suggests: python-blosc >= 1.17.0
Suggests: python-beautifulsoup4 >= 4.9.3
Suggests: python-blosc >= 1.21.0
Suggests: python-fastparquet >= 0.4.0
Suggests: python-fsspec >= 0.7.4
Suggests: python-gcsfs >= 0.6.0
Suggests: python-html5lib >= 1.0.1
Suggests: python-lxml >= 4.5.0
Suggests: python-html5lib >= 1.1
Suggests: python-lxml >= 4.6.3
Suggests: python-matplotlib >= 3.3.2
Suggests: python-numba >= 0.50.1
Suggests: python-openpyxl >= 3.0.3
Suggests: python-pandas-gbq >= 0.14.0
Suggests: python-psycopg2 >= 2.7
Suggests: python-numba >= 0.53.1
Suggests: python-openpyxl >= 3.0.7
Suggests: python-pandas-gbq >= 0.15.0
Suggests: python-psycopg2 >= 2.8.6
Suggests: python-pyarrow >= 1.0.1
Suggests: python-pyreadstat
Suggests: python-pyreadstat >= 1.1.2
Suggests: python-qt5
Suggests: python-s3fs >= 0.4.0
Suggests: python-scipy >= 1.4.1
Suggests: python-scipy >= 1.7.1
Suggests: python-tables >= 3.6.1
Suggests: python-tabulate >= 0.8.7
Suggests: python-xarray >= 0.15.1
Suggests: python-xlrd >= 1.2.0
Suggests: python-tabulate >= 0.8.9
Suggests: python-xarray >= 0.19.0
Suggests: python-xlrd >= 2.0.1
Suggests: python-xlwt >= 1.3.0
Suggests: python-zlib
Suggests: xclip
@ -96,21 +96,21 @@ Suggests: xsel
Obsoletes: python-pandas-doc < %{version}
Provides: python-pandas-doc = %{version}
%if %{with test}
BuildRequires: %{python_module Bottleneck >= 1.3.1}
BuildRequires: %{python_module SQLAlchemy >= 1.4.0}
BuildRequires: %{python_module XlsxWriter >= 1.2.2}
BuildRequires: %{python_module beautifulsoup4 >= 4.8.2}
BuildRequires: %{python_module hypothesis >= 5.5.3}
BuildRequires: %{python_module lxml >= 4.5.0}
BuildRequires: %{python_module Bottleneck >= 1.3.2}
BuildRequires: %{python_module SQLAlchemy >= 1.4.16}
BuildRequires: %{python_module XlsxWriter >= 1.4.3}
BuildRequires: %{python_module beautifulsoup4 >= 4.9.3}
BuildRequires: %{python_module hypothesis >= 6.13.0}
BuildRequires: %{python_module lxml >= 4.6.3}
BuildRequires: %{python_module matplotlib >= 3.3.2}
BuildRequires: %{python_module numexpr >= 2.7.1}
BuildRequires: %{python_module openpyxl >= 3.0.3}
BuildRequires: %{python_module numexpr >= 2.7.3}
BuildRequires: %{python_module openpyxl >= 3.0.7}
BuildRequires: %{python_module pandas = %{version}}
BuildRequires: %{python_module pytest >= 6.0}
BuildRequires: %{python_module pytest-asyncio >= 0.17}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-xdist >= 1.31}
BuildRequires: %{python_module scipy >= 1.4.1}
BuildRequires: %{python_module scipy >= 1.7.1}
BuildRequires: %{python_module xlrd >= 2.0.1}
BuildRequires: memory-constraints
BuildRequires: xclip
@ -138,9 +138,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%if !%{with test}
%python_install
%{python_expand sed -i -e 's|"python", "-c",|"%{__$python}", "-c",|' %{buildroot}%{$python_sitearch}/pandas/tests/io/test_compression.py
# don't install devel files
rm -r %{buildroot}%{$python_sitearch}/pandas/_libs/src
rm -r %{buildroot}%{$python_sitearch}/pandas/_libs/tslibs/src
%fdupes %{buildroot}%{$python_sitearch}
}
%else