1
0
forked from pool/python-pandas

- update to 2.0.3:

* Bug in Timestamp.weekday`() was returning incorrect results
    before '0000-02-29'
  * Fixed performance regression in merging on datetime-like columns
  * Fixed regression when DataFrame.to_string() creates extra space
    for string dtypes
  * Bug in DataFrame.convert_dtype() and Series.convert_dtype()
    when trying to convert ArrowDtype with dtype_backend="nullable_numpy"
  * Bug in RangeIndex.union() when using sort=True with another
    RangeIndex 
  * Bug in Series.reindex() when expanding a non-nanosecond datetime
    or timedelta
  * Bug in read_csv() when defining dtype with bool[pyarrow] for
    the "c" and "python" engines 
  * Bug in Series.str.split() and Series.str.rsplit() with expand=True 
  * Bug in indexing methods (e.g. DataFrame.__getitem__()) where
    taking the entire DataFrame/Series would raise an OverflowError
    when Copy on Write was enabled the length of the array was over
    the maximum size a 32-bit integer can hold
  * Bug when constructing a DataFrame with columns of an ArrowDtype
    with a pyarrow.dictionary type that reindexes the data
  * Bug when indexing a DataFrame or Series with an Index with a
    timestamp ArrowDtype would raise an AttributeError
- drop pandas-fix-tests.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=92
This commit is contained in:
2023-08-13 21:57:11 +00:00
committed by Git OBS Bridge
parent ddc519d9d8
commit e08d685614
5 changed files with 32 additions and 34 deletions

View File

@@ -51,7 +51,7 @@
%{?sle15_python_module_pythons}
Name: python-pandas%{psuffix}
Version: 2.0.2
Version: 2.0.3
Release: 0
Summary: Python data structures for data analysis, time series, and statistics
License: BSD-3-Clause
@@ -60,8 +60,6 @@ URL: https://pandas.pydata.org/
# Use GitHub Archive: Test-data
Source0: https://github.com/pandas-dev/pandas/archive/refs/tags/v%{version}.tar.gz#/pandas-%{version}-gh.tar.gz
# SourceRepository: https://github.com/pandas-dev/pandas
# https://github.com/pandas-dev/pandas/issues/53791#issuecomment-1602320315
Patch1: pandas-fix-tests.patch
BuildRequires: %{python_module Cython >= 0.29.33 with %python-Cython < 3}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy-devel >= 1.20.3}