Accepting request 911980 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/911980 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=35
This commit is contained in:
commit
54f1ddcb96
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:649ecab692fade3cbfcf967ff936496b0cfba0af00a55dfaacd82bdda5cb2279
|
||||
size 5469105
|
3
pandas-1.3.1.tar.gz
Normal file
3
pandas-1.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:341935a594db24f3ff07d1b34d1d231786aa9adfa84b76eab10bf42907c8aed3
|
||||
size 4724471
|
@ -1,3 +1,76 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 12 13:04:09 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 1.3.1
|
||||
Fixed regressions
|
||||
* Pandas could not be built on PyPy (GH42355)
|
||||
* DataFrame constructed with an older version of pandas could not
|
||||
be unpickled (GH42345)
|
||||
* Performance regression in constructing a DataFrame from a
|
||||
dictionary of dictionaries (GH42248)
|
||||
* Fixed regression in DataFrame.agg() dropping values when the
|
||||
DataFrame had an Extension Array dtype, a duplicate index, and
|
||||
axis=1 (GH42380)
|
||||
* Fixed regression in DataFrame.astype() changing the order of
|
||||
noncontiguous data (GH42396)
|
||||
* Performance regression in DataFrame in reduction operations
|
||||
requiring casting such as DataFrame.mean() on integer data
|
||||
(GH38592)
|
||||
* Performance regression in DataFrame.to_dict() and Series.to_dict
|
||||
() when orient argument one of “records”, “dict”, or “split”
|
||||
(GH42352)
|
||||
* Fixed regression in indexing with a list subclass incorrectly
|
||||
raising TypeError (GH42433, GH42461)
|
||||
* Fixed regression in DataFrame.isin() and Series.isin() raising
|
||||
TypeError with nullable data containing at least one missing
|
||||
value (GH42405)
|
||||
* Regression in concat() between objects with bool dtype and
|
||||
integer dtype casting to object instead of to integer (GH42092)
|
||||
* Bug in Series constructor not accepting a dask.Array (GH38645)
|
||||
* Fixed regression for SettingWithCopyWarning displaying
|
||||
incorrect stacklevel (GH42570)
|
||||
* Fixed regression for merge_asof() raising KeyError when one of
|
||||
the by columns is in the index (GH34488)
|
||||
* Fixed regression in to_datetime() returning pd.NaT for inputs
|
||||
that produce duplicated values, when cache=True (GH42259)
|
||||
* Fixed regression in SeriesGroupBy.value_counts() that resulted
|
||||
in an IndexError when called on a Series with one row (GH42618)
|
||||
* Fixed bug in DataFrame.transpose() dropping values when the
|
||||
DataFrame had an Extension Array dtype and a duplicate index
|
||||
(GH42380)
|
||||
* Fixed bug in DataFrame.to_xml() raising KeyError when called
|
||||
with index=False and an offset index (GH42458)
|
||||
* Fixed bug in Styler.set_sticky() not handling index names
|
||||
correctly for single index columns case (GH42537)
|
||||
* Fixed bug in DataFrame.copy() failing to consolidate blocks in
|
||||
the result (GH42579)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 22 01:54:09 UTC 2021 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* update requirements
|
||||
* README.rst ->README.md
|
||||
|
||||
- update to version 1.3.0:
|
||||
* long changelog, see https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.3.0.html
|
||||
|
||||
- changes from version 1.2.5:
|
||||
* Fixed regression in concat() between two DataFrame where one has
|
||||
an Index that is all-None and the other is DatetimeIndex
|
||||
incorrectly raising (GH40841)
|
||||
* Fixed regression in DataFrame.sum() and DataFrame.prod() when
|
||||
min_count and numeric_only are both given (GH41074)
|
||||
* Fixed regression in read_csv() when using memory_map=True with an
|
||||
non-UTF8 encoding (GH40986)
|
||||
* Fixed regression in DataFrame.replace() and Series.replace() when
|
||||
the values to replace is a NumPy float array (GH40371)
|
||||
* Fixed regression in ExcelFile() when a corrupt file is opened but
|
||||
not closed (GH41778)
|
||||
* Fixed regression in DataFrame.astype() with dtype=str failing to
|
||||
convert NaN in categorical columns (GH41797)
|
||||
- Unpack some files required for testing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 3 01:33:01 UTC 2021 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-pandas-test
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
@ -28,7 +28,7 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-pandas%{psuffix}
|
||||
Version: 1.2.4
|
||||
Version: 1.3.1
|
||||
Release: 0
|
||||
Summary: Python data structures for data analysis, time series, and statistics
|
||||
License: BSD-3-Clause
|
||||
@ -38,15 +38,15 @@ Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%
|
||||
BuildRequires: %{python_module Cython >= 0.29.21}
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module devel >= 3.7.1}
|
||||
BuildRequires: %{python_module numpy >= 1.16.5}
|
||||
BuildRequires: %{python_module numpy >= 1.17.3}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.16.5}
|
||||
BuildRequires: %{python_module python-dateutil >= 2.7.3}
|
||||
BuildRequires: %{python_module pytz >= 2017.3}
|
||||
BuildRequires: %{python_module setuptools >= 24.2.0}
|
||||
BuildRequires: %{python_module setuptools >= 38.6.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-numpy >= 1.16.5
|
||||
Requires: python-numpy >= 1.17.3
|
||||
Requires: python-python-dateutil >= 2.7.3
|
||||
Requires: python-pytz >= 2017.3
|
||||
Recommends: python-Bottleneck >= 1.2.1
|
||||
@ -65,17 +65,17 @@ Suggests: python-html5lib >= 1.0.1
|
||||
Suggests: python-lxml >= 4.3.0
|
||||
Suggests: python-matplotlib >= 2.2.3
|
||||
Suggests: python-numba >= 0.46.0
|
||||
Suggests: python-openpyxl >= 2.6.0
|
||||
Suggests: python-openpyxl >= 3.0.0
|
||||
Suggests: python-pandas-gbq >= 0.12.0
|
||||
Suggests: python-psycopg2 >= 2.7
|
||||
Suggests: python-pyarrow >= 0.15.0
|
||||
Suggests: python-pyarrow >= 0.17.0
|
||||
Suggests: python-pyreadstat
|
||||
Suggests: python-qt5
|
||||
Suggests: python-s3fs >= 0.4.0
|
||||
Suggests: python-scipy >= 1.12.0
|
||||
Suggests: python-tables >= 3.5.1
|
||||
Suggests: python-tabulate >= 0.8.3
|
||||
Suggests: python-xarray >= 0.8.2
|
||||
Suggests: python-tabulate >= 0.8.7
|
||||
Suggests: python-xarray >= 0.12.0
|
||||
Suggests: python-xlrd >= 1.2.0
|
||||
Suggests: python-xlsb >= 1.0.6
|
||||
Suggests: python-zlib
|
||||
@ -85,15 +85,15 @@ Obsoletes: python-pandas-doc < %{version}
|
||||
Provides: python-pandas-doc = %{version}
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Bottleneck >= 1.2.1}
|
||||
BuildRequires: %{python_module SQLAlchemy >= 1.1.4}
|
||||
BuildRequires: %{python_module XlsxWriter >= 0.9.8}
|
||||
BuildRequires: %{python_module SQLAlchemy >= 1.3.0}
|
||||
BuildRequires: %{python_module XlsxWriter >= 1.0.2}
|
||||
BuildRequires: %{python_module beautifulsoup4 >= 4.6.0}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module lxml >= 4.3.0}
|
||||
BuildRequires: %{python_module numexpr >= 2.6.8}
|
||||
BuildRequires: %{python_module openpyxl >= 2.6.0}
|
||||
BuildRequires: %{python_module numexpr >= 2.7.0}
|
||||
BuildRequires: %{python_module openpyxl >= 3.0.0}
|
||||
BuildRequires: %{python_module pandas = %{version}}
|
||||
BuildRequires: %{python_module pytest >= 5.0.1}
|
||||
BuildRequires: %{python_module pytest >= 6.0}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module xlrd >= 1.2.0}
|
||||
@ -111,6 +111,14 @@ block for doing data analysis in Python.
|
||||
%prep
|
||||
%if !%{with test}
|
||||
%setup -q -n pandas-%{version}
|
||||
%else
|
||||
%setup -c -n pandas-%{version} -T
|
||||
cd ..
|
||||
# unpack only the files we need for testing
|
||||
tar xf %{SOURCE0} \
|
||||
pandas-%{version}/pyproject.toml \
|
||||
pandas-%{version}/pandas/io/formats/templates/html.tpl
|
||||
sed -i 's/--strict-data-files//' pandas-%{version}/pyproject.toml
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -123,13 +131,15 @@ 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}
|
||||
}
|
||||
%endif
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4;
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
@ -143,6 +153,8 @@ SKIP_TESTS+=" or test_oo_optimizable"
|
||||
# https://github.com/pandas-dev/pandas/issues/39096
|
||||
# https://github.com/pandas-dev/pandas/issues/36579
|
||||
SKIP_TESTS+=" or (test_misc and test_memory_usage and series and empty and index)"
|
||||
# no network -- https://github.com/pandas-dev/pandas/pull/42354
|
||||
SKIP_TESTS+=" or test_wrong_url"
|
||||
%ifarch %{ix86}
|
||||
# overflows on i586
|
||||
SKIP_TESTS+=" or test_encode_non_c_locale"
|
||||
@ -161,12 +173,14 @@ fi
|
||||
%endif
|
||||
%{python_expand $python -c 'import pandas; print(pandas.__path__); print(pandas.show_versions())'
|
||||
# -n 4: The test collection consumes a lot of memory per worker. Sync with constraints file
|
||||
# -c pyproject.toml: get the marker declarations
|
||||
# cache: can't just say no cacheprovider, because one test checks for the --lf option of pytest-cache
|
||||
# --skip-* arguments: Upstreams custom way to skip marked tests. These do not use pytest.mark.
|
||||
# clipboard marker: not set up properly in build service
|
||||
# need to specify test path directly instead of --pyargs pandas in order
|
||||
# to find all conftest.py files https://github.com/pytest-dev/pytest/issues/1596
|
||||
xvfb-run pytest-%{$python_bin_suffix} -v -n 4 \
|
||||
-c pyproject.toml \
|
||||
-o cache_dir=$PWD/.pytest_cache --cache-clear \
|
||||
--skip-network %{?test_fast} \
|
||||
-m "not clipboard" \
|
||||
@ -178,7 +192,7 @@ xvfb-run pytest-%{$python_bin_suffix} -v -n 4 \
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc doc/README.rst RELEASE.md
|
||||
%doc README.md RELEASE.md
|
||||
%{python_sitearch}/pandas/
|
||||
%{python_sitearch}/pandas-%{version}-py*.egg-info
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user