Accepting request 859934 from home:bnavigator:branches:devel:languages:python:numeric
- update to version 0.5 * no changelog - update test suite setup -- install the .test module OBS-URL: https://build.opensuse.org/request/show/859934 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-fastparquet?expand=0&rev=24
This commit is contained in:
parent
e8e5e639c7
commit
3fc19bda15
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:03e6635900b718dbe4e99a1b03d840990f08879ec7a6d3ea3e33727668a8ee2e
|
|
||||||
size 28914111
|
|
3
fastparquet-0.5.0.tar.gz
Normal file
3
fastparquet-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:257ccfb5f4beafe33276cc81e08ee6d41de3f961e0aedd9c41833f920d4771ff
|
||||||
|
size 28912869
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 2 21:04:30 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- update to version 0.5
|
||||||
|
* no changelog
|
||||||
|
- update test suite setup -- install the .test module
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 18 18:13:53 UTC 2020 - Arun Persaud <arun@gmx.de>
|
Sat Jul 18 18:13:53 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fastparquet
|
# spec file for package python-fastparquet
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-fastparquet
|
Name: python-fastparquet
|
||||||
Version: 0.4.1
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python support for Parquet file format
|
Summary: Python support for Parquet file format
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -29,26 +29,22 @@ BuildRequires: %{python_module Brotli}
|
|||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module bson}
|
BuildRequires: %{python_module bson}
|
||||||
BuildRequires: %{python_module cffi >= 0.6}
|
BuildRequires: %{python_module cffi >= 0.6}
|
||||||
BuildRequires: %{python_module lz4 >= 0.19.1 }
|
BuildRequires: %{python_module lz4 >= 0.19.1}
|
||||||
BuildRequires: %{python_module numba >= 0.28}
|
BuildRequires: %{python_module numba >= 0.49}
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.11}
|
BuildRequires: %{python_module numpy-devel >= 1.11}
|
||||||
BuildRequires: %{python_module packaging}
|
BuildRequires: %{python_module pandas >= 1.1.0}
|
||||||
BuildRequires: %{python_module pandas >= 0.19}
|
|
||||||
BuildRequires: %{python_module pytest-runner}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-lzo}
|
BuildRequires: %{python_module python-lzo}
|
||||||
BuildRequires: %{python_module python-snappy}
|
BuildRequires: %{python_module python-snappy}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module testsuite}
|
||||||
BuildRequires: %{python_module thrift >= 0.11.0}
|
BuildRequires: %{python_module thrift >= 0.11.0}
|
||||||
BuildRequires: %{python_module zstandard}
|
BuildRequires: %{python_module zstandard}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-numba >= 0.28
|
Requires: python-numba >= 0.49
|
||||||
Requires: python-numpy >= 1.11
|
Requires: python-numpy >= 1.11
|
||||||
Requires: python-packaging
|
Requires: python-pandas >= 1.1.0
|
||||||
Requires: python-pandas
|
|
||||||
Requires: python-six
|
|
||||||
Requires: python-thrift >= 0.11.0
|
Requires: python-thrift >= 0.11.0
|
||||||
Recommends: python-Brotli
|
Recommends: python-Brotli
|
||||||
Recommends: python-bson
|
Recommends: python-bson
|
||||||
@ -64,6 +60,10 @@ for integrating it into python-based Big Data workflows.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n fastparquet-%{version}
|
%setup -q -n fastparquet-%{version}
|
||||||
|
# remove pytest-runner from setup_requires
|
||||||
|
sed -i "s/'pytest-runner',//" setup.py
|
||||||
|
# the tests import the fastparquet.test module and we need to import from sitearch, so install it.
|
||||||
|
sed -i -e "s/^\s*packages=\[/&'fastparquet.test', /" -e "/exclude_package_data/ d" setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@ -75,26 +75,23 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cp -r fastparquet/test .
|
# avoid that the process call of python inside the tests imports from source
|
||||||
mv fastparquet temp
|
# directory fastparquet and don't read setup.cfg
|
||||||
rm -rf build _build*
|
mkdir ../testdir
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
cp -r test-data ../testdir/
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
pushd ../testdir
|
||||||
rm -rf build _build*
|
# Test test_time_millis has the wrong reference type for 32-bit
|
||||||
# Test test_time_millis fails in i586
|
%if 0%{?__isa_bits} != 64
|
||||||
# test_datetime_roundtrip fails due to a warning being accidentally caught by the test
|
%define donttest -k 'not test_time_millis'
|
||||||
# test_import_without_warning fails due to being already imported
|
%endif
|
||||||
pytest-%{$python_bin_suffix} -v test -k 'not test_time_millis and not test_datetime_roundtrip and not test_errors and not test_import_without_warning'
|
%pytest_arch --pyargs fastparquet %{?donttest}
|
||||||
}
|
popd
|
||||||
mv temp fastparquet
|
rm -r ../testdir
|
||||||
rm -rf test
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%dir %{python_sitearch}/fastparquet
|
%{python_sitearch}/fastparquet
|
||||||
%{python_sitearch}/fastparquet/*
|
%{python_sitearch}/fastparquet-%{version}*-info
|
||||||
%dir %{python_sitearch}/fastparquet-%{version}-py*.egg-info
|
|
||||||
%{python_sitearch}/fastparquet-%{version}-py*.egg-info/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user