Accepting request 872216 from home:bnavigator:branches:devel:languages:python:numeric
- Update to version 1.2.2 * https://pandas.pydata.org/docs/whatsnew/v1.2.2.html * fixed regressions and bugfixes - Update to version 1.2.1 * https://pandas.pydata.org/docs/whatsnew/v1.2.1.html * fixed regressions and bugfixes * Calling NumPy ufuncs on non-aligned DataFrames * The deprecated attributes _AXIS_NAMES and _AXIS_NUMBERS of DataFrame and Series will no longer show up in dir or inspect. getmembers calls (GH38740) * Bumped minimum fastparquet version to 0.4.0 to avoid AttributeError from numba (GH38344) * Bumped minimum pymysql version to 0.8.1 to avoid test failures (GH38344) * Added reference to backwards incompatible check_freq arg of testing.assert_frame_equal() and testing.assert_series_equal() in pandas 1.1.0 whats new (GH34050) - Update to version 1.2.0 * https://pandas.pydata.org/docs/whatsnew/v1.2.0.html * WARNING: The xlwt package for writing old-style .xls excel files is no longer maintained. The xlrd package is now only for reading old-style .xls files. Previously, the default argument engine=None to read_excel() would result in using the xlrd engine in many cases, including new Excel 2007+ (.xlsx) files. If openpyxl is installed, many of these cases will now default to using the openpyxl engine. See the read_excel() documentation for more details. Thus, it is strongly encouraged to install openpyxl to read Excel 2007+ (.xlsx) files. Please do not report issues when using ``xlrd`` to read ``.xlsx`` files. This is no longer supported, switch to using openpyxl instead. Attempting to use the xlwt engine will raise a FutureWarning unless the option io.excel.xls.writer is set to "xlwt". While this option is now deprecated and will also raise a FutureWarning, it can be globally set and the warning suppressed. Users are recommended to write .xlsx files using the openpyxl engine instead. Enhancements * Optionally disallow duplicate labels * Passing arguments to fsspec backends * Support for binary file handles in to_csv * Support for short caption and table position in to_latex * Change in default floating precision for read_csv and read_table * Experimental nullable data types for float data * Index/column name preservation when aggregating * GroupBy supports EWM operations directly Deprecations * https://pandas.pydata.org/docs/whatsnew/v1.2.0.html#deprecations - Skip python36 build: New minimum supported Python is 3.7.1 - Only Suggest instead of Recommend optional dependencies. Nobody wants to pull in all of those packages by default. - Remove pandas-pytest.ini - Rework test deselection - Limit to 4 pytest-xdist workers, as collection consumes a lot of memory OBS-URL: https://build.opensuse.org/request/show/872216 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=56
This commit is contained in:
parent
8117f721d8
commit
f3f936b788
@ -3,5 +3,6 @@
|
|||||||
<physicalmemory>
|
<physicalmemory>
|
||||||
<size unit="M">8000</size>
|
<size unit="M">8000</size>
|
||||||
</physicalmemory>
|
</physicalmemory>
|
||||||
|
<processors>4</processors>
|
||||||
</hardware>
|
</hardware>
|
||||||
</constraints>
|
</constraints>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a979d0404b135c63954dea79e6246c45dd45371a88631cdbb4877d844e6de3b6
|
|
||||||
size 5226971
|
|
3
pandas-1.2.2.tar.gz
Normal file
3
pandas-1.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:14ed84b463e9b84c8ff9308a79b04bf591ae3122a376ee0f62c68a1bd917a773
|
||||||
|
size 5463571
|
@ -1,13 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
minversion = 4.0.2
|
|
||||||
markers =
|
|
||||||
single: mark a test as single cpu only
|
|
||||||
slow: mark a test as slow
|
|
||||||
network: mark a test as network
|
|
||||||
db: tests requiring a database (mysql or postgres)
|
|
||||||
high_memory: mark a test as a high-memory only
|
|
||||||
clipboard: mark a pd.read_clipboard test
|
|
||||||
filterwarnings =
|
|
||||||
error:Sparse:FutureWarning
|
|
||||||
error:The SparseArray:FutureWarning
|
|
||||||
junit_family = xunit2
|
|
@ -1,3 +1,64 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 14 20:53:06 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to version 1.2.2
|
||||||
|
* https://pandas.pydata.org/docs/whatsnew/v1.2.2.html
|
||||||
|
* fixed regressions and bugfixes
|
||||||
|
- Update to version 1.2.1
|
||||||
|
* https://pandas.pydata.org/docs/whatsnew/v1.2.1.html
|
||||||
|
* fixed regressions and bugfixes
|
||||||
|
* Calling NumPy ufuncs on non-aligned DataFrames
|
||||||
|
* The deprecated attributes _AXIS_NAMES and _AXIS_NUMBERS of
|
||||||
|
DataFrame and Series will no longer show up in dir or inspect.
|
||||||
|
getmembers calls (GH38740)
|
||||||
|
* Bumped minimum fastparquet version to 0.4.0 to avoid
|
||||||
|
AttributeError from numba (GH38344)
|
||||||
|
* Bumped minimum pymysql version to 0.8.1 to avoid test failures
|
||||||
|
(GH38344)
|
||||||
|
* Added reference to backwards incompatible check_freq arg of
|
||||||
|
testing.assert_frame_equal() and testing.assert_series_equal()
|
||||||
|
in pandas 1.1.0 whats new (GH34050)
|
||||||
|
- Update to version 1.2.0
|
||||||
|
* https://pandas.pydata.org/docs/whatsnew/v1.2.0.html
|
||||||
|
* WARNING:
|
||||||
|
The xlwt package for writing old-style .xls excel files is
|
||||||
|
no longer maintained. The xlrd package is now only for reading
|
||||||
|
old-style .xls files.
|
||||||
|
Previously, the default argument engine=None to read_excel()
|
||||||
|
would result in using the xlrd engine in many cases, including
|
||||||
|
new Excel 2007+ (.xlsx) files. If openpyxl is installed, many
|
||||||
|
of these cases will now default to using the openpyxl engine.
|
||||||
|
See the read_excel() documentation for more details.
|
||||||
|
Thus, it is strongly encouraged to install openpyxl to read
|
||||||
|
Excel 2007+ (.xlsx) files. Please do not report issues when
|
||||||
|
using ``xlrd`` to read ``.xlsx`` files. This is no longer
|
||||||
|
supported, switch to using openpyxl instead.
|
||||||
|
Attempting to use the xlwt engine will raise a FutureWarning
|
||||||
|
unless the option io.excel.xls.writer is set to "xlwt". While
|
||||||
|
this option is now deprecated and will also raise a
|
||||||
|
FutureWarning, it can be globally set and the warning
|
||||||
|
suppressed. Users are recommended to write .xlsx files using
|
||||||
|
the openpyxl engine instead.
|
||||||
|
Enhancements
|
||||||
|
* Optionally disallow duplicate labels
|
||||||
|
* Passing arguments to fsspec backends
|
||||||
|
* Support for binary file handles in to_csv
|
||||||
|
* Support for short caption and table position in to_latex
|
||||||
|
* Change in default floating precision for read_csv and
|
||||||
|
read_table
|
||||||
|
* Experimental nullable data types for float data
|
||||||
|
* Index/column name preservation when aggregating
|
||||||
|
* GroupBy supports EWM operations directly
|
||||||
|
Deprecations
|
||||||
|
* https://pandas.pydata.org/docs/whatsnew/v1.2.0.html#deprecations
|
||||||
|
- Skip python36 build: New minimum supported Python is 3.7.1
|
||||||
|
- Only Suggest instead of Recommend optional dependencies. Nobody
|
||||||
|
wants to pull in all of those packages by default.
|
||||||
|
- Remove pandas-pytest.ini
|
||||||
|
- Rework test deselection
|
||||||
|
- Limit to 4 pytest-xdist workers, as collection consumes a lot of
|
||||||
|
memory
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 30 22:30:53 UTC 2020 - Arun Persaud <arun@gmx.de>
|
Fri Oct 30 22:30:53 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pandas
|
# spec file for package python-pandas
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
%define skip_python36 1
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@ -27,76 +28,76 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-pandas%{psuffix}
|
Name: python-pandas%{psuffix}
|
||||||
Version: 1.1.4
|
Version: 1.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python data structures for data analysis, time series, and statistics
|
Summary: Python data structures for data analysis, time series, and statistics
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
URL: https://pandas.pydata.org/
|
URL: https://pandas.pydata.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
||||||
Source99: pandas-pytest.ini
|
BuildRequires: %{python_module Cython >= 0.29.21}
|
||||||
BuildRequires: %{python_module Cython >= 0.28.2}
|
|
||||||
# test requirements
|
|
||||||
BuildRequires: %{python_module Jinja2}
|
BuildRequires: %{python_module Jinja2}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel >= 3.7.1}
|
||||||
BuildRequires: %{python_module numpy >= 1.15.4}
|
BuildRequires: %{python_module numpy >= 1.16.5}
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.15.4}
|
BuildRequires: %{python_module numpy-devel >= 1.16.5}
|
||||||
BuildRequires: %{python_module openpyxl}
|
BuildRequires: %{python_module python-dateutil >= 2.7.3}
|
||||||
BuildRequires: %{python_module pyperclip}
|
BuildRequires: %{python_module pytz >= 2017.3}
|
||||||
BuildRequires: %{python_module setuptools >= 24.2.0}
|
BuildRequires: %{python_module setuptools >= 24.2.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Cython >= 0.28.2
|
Requires: python-numpy >= 1.16.5
|
||||||
Requires: python-numpy >= 1.15.4
|
|
||||||
Requires: python-python-dateutil >= 2.7.3
|
Requires: python-python-dateutil >= 2.7.3
|
||||||
Requires: python-pytz >= 2015.4
|
Requires: python-pytz >= 2017.3
|
||||||
|
Recommends: python-numexpr >= 2.6.8
|
||||||
Recommends: python-Bottleneck >= 1.2.1
|
Recommends: python-Bottleneck >= 1.2.1
|
||||||
Recommends: python-Jinja2
|
Suggests: python-beautifulsoup4 >= 4.6.0
|
||||||
Recommends: python-PyMySQL >= 0.7.11
|
Suggests: python-blosc >= 1.17.0
|
||||||
Recommends: python-QtPy
|
Suggests: python-fastparquet >= 0.4.0
|
||||||
Recommends: python-SQLAlchemy >= 1.1.4
|
Suggests: python-fsspec >= 0.7.4
|
||||||
Recommends: python-XlsxWriter >= 0.9.8
|
Suggests: python-gcsfs >= 0.6.0
|
||||||
Recommends: python-beautifulsoup4 >= 4.6.0
|
Suggests: python-html5lib >= 1.0.1
|
||||||
Recommends: python-blosc
|
Suggests: python-Jinja2 >= 2.10
|
||||||
Recommends: python-fastparquet >= 0.2.1
|
Suggests: python-lxml >= 4.3.0
|
||||||
Recommends: python-gcsfs >= 0.6.0
|
Suggests: python-matplotlib >= 2.2.3
|
||||||
Recommends: python-html5lib
|
Suggests: python-numba >= 0.46.0
|
||||||
Recommends: python-lxml >= 3.8.0
|
Suggests: python-openpyxl >= 2.6.0
|
||||||
Recommends: python-matplotlib >= 2.2.2
|
Suggests: python-pandas-gbq >= 0.12.0
|
||||||
Recommends: python-numexpr >= 2.6.2
|
Suggests: python-psycopg2 >= 2.7
|
||||||
Recommends: python-openpyxl >= 2.4.8
|
Suggests: python-pyarrow >= 0.15.0
|
||||||
Recommends: python-pandas-gbq >= 1.2.0
|
Suggests: python-PyMySQL >= 0.8.1
|
||||||
Recommends: python-psycopg2
|
Suggests: python-pyreadstat
|
||||||
Recommends: python-pyarrow >= 0.9.0
|
Suggests: python-qt5
|
||||||
Recommends: python-pyperclip
|
Suggests: python-QtPy
|
||||||
Recommends: python-pyreadstat
|
Suggests: python-s3fs >= 0.4.0
|
||||||
Recommends: python-qt5
|
Suggests: python-scipy >= 1.12.0
|
||||||
Recommends: python-scipy >= 1.2.0
|
Suggests: python-SQLAlchemy >= 1.3.0
|
||||||
Recommends: python-tables >= 3.4.3
|
Suggests: python-tables >= 3.5.1
|
||||||
Recommends: python-xarray >= 0.8.2
|
Suggests: python-tabulate >= 0.8.3
|
||||||
Recommends: python-xlrd >= 1.1.0
|
Suggests: python-xarray >= 0.8.2
|
||||||
Recommends: python-xlwt >= 1.2.0
|
Suggests: python-xlrd >= 1.2.0
|
||||||
Recommends: python-zlib
|
Suggests: python-xlsb >= 1.0.6
|
||||||
Recommends: xclip
|
Suggests: python-XlsxWriter >= 1.0.2
|
||||||
Recommends: xsel
|
Suggests: python-zlib
|
||||||
|
Suggests: xclip
|
||||||
|
Suggests: xsel
|
||||||
Obsoletes: python-pandas-doc < %{version}
|
Obsoletes: python-pandas-doc < %{version}
|
||||||
Provides: python-pandas-doc = %{version}
|
Provides: python-pandas-doc = %{version}
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module Bottleneck >= 1.2.1}
|
||||||
BuildRequires: %{python_module SQLAlchemy >= 1.1.4}
|
BuildRequires: %{python_module SQLAlchemy >= 1.1.4}
|
||||||
BuildRequires: %{python_module XlsxWriter >= 0.9.8}
|
BuildRequires: %{python_module XlsxWriter >= 0.9.8}
|
||||||
BuildRequires: %{python_module beautifulsoup4 >= 4.6.0}
|
BuildRequires: %{python_module beautifulsoup4 >= 4.6.0}
|
||||||
BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
BuildRequires: %{python_module lxml >= 3.8.0}
|
BuildRequires: %{python_module lxml >= 4.3.0}
|
||||||
BuildRequires: %{python_module openpyxl >= 2.4.8}
|
BuildRequires: %{python_module numexpr >= 2.6.8}
|
||||||
|
BuildRequires: %{python_module openpyxl >= 2.6.0}
|
||||||
BuildRequires: %{python_module pandas = %{version}}
|
BuildRequires: %{python_module pandas = %{version}}
|
||||||
BuildRequires: %{python_module pytest >= 4.0.2}
|
BuildRequires: %{python_module pytest >= 5.0.1}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module python-dateutil >= 2.7.3}
|
BuildRequires: %{python_module xlrd >= 1.2.0}
|
||||||
BuildRequires: %{python_module pytz >= 2015.4}
|
BuildRequires: xclip
|
||||||
BuildRequires: %{python_module xlrd >= 1.1.0}
|
|
||||||
BuildRequires: %{python_module xlwt >= 1.2.0}
|
|
||||||
BuildRequires: xvfb-run
|
BuildRequires: xvfb-run
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -123,8 +124,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
%python_install
|
%python_install
|
||||||
%{python_expand sed -i -e 's|"python", "-c",|"%{__$python}", "-c",|' %{buildroot}%{$python_sitearch}/pandas/tests/io/test_compression.py
|
%{python_expand sed -i -e 's|"python", "-c",|"%{__$python}", "-c",|' %{buildroot}%{$python_sitearch}/pandas/tests/io/test_compression.py
|
||||||
%fdupes %{buildroot}%{$python_sitearch}
|
%fdupes %{buildroot}%{$python_sitearch}
|
||||||
# can be removed for pandas >= 1.1 https://github.com/pandas-dev/pandas/pull/35146
|
|
||||||
install %{SOURCE99} %{buildroot}%{$python_sitearch}/pandas/pytest.ini
|
|
||||||
}
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -138,29 +137,39 @@ export PYTHONDONTWRITEBYTECODE=1
|
|||||||
# https://github.com/pytest-dev/pytest/issues/920
|
# https://github.com/pytest-dev/pytest/issues/920
|
||||||
# https://github.com/pytest-dev/pytest/issues/1075
|
# https://github.com/pytest-dev/pytest/issues/1075
|
||||||
export PYTHONHASHSEED=1
|
export PYTHONHASHSEED=1
|
||||||
# tries to compile stuff in buildroot test_oo_optimizable
|
# tries to compile stuff in system sitearch
|
||||||
SKIP_TESTS+=" or test_oo_optimizable"
|
SKIP_TESTS+=" or test_oo_optimizable"
|
||||||
# tries to import system pandas, not the freshly build on
|
# dtypes not as expected
|
||||||
SKIP_TESTS+=" or test_missing_required_dependency"
|
# 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)"
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
# https://github.com/pandas-dev/pandas/issues/29712
|
|
||||||
SKIP_TESTS+=" or test_raw_roundtrip"
|
|
||||||
# overflows on i586
|
# overflows on i586
|
||||||
SKIP_TESTS+=" or test_encode_non_c_locale"
|
SKIP_TESTS+=" or test_encode_non_c_locale"
|
||||||
# fails on i586 (was gcc10-skip-one-test.patch)
|
# fails on i586 (was gcc10-skip-one-test.patch)
|
||||||
SKIP_TESTS+=" or test_merge_on_ints_floats_warning"
|
SKIP_TESTS+=" or test_merge_on_ints_floats_warning"
|
||||||
%endif
|
%endif
|
||||||
|
if [ $(getconf LONG_BIT) -eq 32 ]; then
|
||||||
# https://github.com/pandas-dev/pandas/issues/31856
|
# https://github.com/pandas-dev/pandas/issues/31856
|
||||||
[ $(getconf LONG_BIT) = "32" ] && SKIP_TESTS+=" or test_maybe_promote_int_with_int"
|
SKIP_TESTS+=" or test_maybe_promote_int_with_int"
|
||||||
|
# rounding error
|
||||||
|
SKIP_TESTS+=" or (test_rolling_quantile_interpolation_options and data1 and linear and 0.1)"
|
||||||
|
fi
|
||||||
%ifnarch x86_64
|
%ifnarch x86_64
|
||||||
# run the slow tests only on x86_64
|
# run the slow tests only on x86_64
|
||||||
%define test_fast --skip-slow --skip-db
|
%define test_fast --skip-slow --skip-db
|
||||||
%endif
|
%endif
|
||||||
%{python_expand $python -c 'import pandas; print(pandas.__path__); print(pandas.show_versions())'
|
%{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
|
||||||
|
# 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
|
# need to specify test path directly instead of --pyargs pandas in order
|
||||||
# to find pytest.ini and all conftest.py files
|
# to find all conftest.py files https://github.com/pytest-dev/pytest/issues/1596
|
||||||
xvfb-run pytest-%{$python_bin_suffix} -v -n auto %{?test_fast} \
|
xvfb-run pytest-%{$python_bin_suffix} -v -n 4 \
|
||||||
-p no:cacheprovider \
|
-o cache_dir=$PWD/.pytest_cache --cache-clear \
|
||||||
|
--skip-network %{?test_fast} \
|
||||||
|
-m "not clipboard" \
|
||||||
-k "not (${SKIP_TESTS:4})" \
|
-k "not (${SKIP_TESTS:4})" \
|
||||||
%{$python_sitearch}/pandas
|
%{$python_sitearch}/pandas
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user