forked from pool/python-fastparquet
Accepting request 819826 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/819826 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastparquet?expand=0&rev=11
This commit is contained in:
commit
e76154c4d3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c13bb15375d97e1f5f5d71731a3e8739cae9de9fc446cdfaec135a2ae93c1cd4
|
||||
size 28912181
|
3
fastparquet-0.4.0.tar.gz
Normal file
3
fastparquet-0.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34c0a94e36710cc7615770661888d9c610da3925cd2bd6164bc6d5682530814c
|
||||
size 28914143
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 14:04:10 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to 0.4.0
|
||||
* Changed RangeIndex private methods to public ones
|
||||
* Use the python executable used to run the code
|
||||
* Add support for Python 3.8
|
||||
* support for numba > 0.48
|
||||
- drop upstreamed patch use-python-exec.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 6 06:54:36 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -19,13 +19,12 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-fastparquet
|
||||
Version: 0.3.3
|
||||
Version: 0.4.0
|
||||
Release: 0
|
||||
Summary: Python support for Parquet file format
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/dask/fastparquet/
|
||||
Source: https://github.com/dask/fastparquet/archive/%{version}.tar.gz#/fastparquet-%{version}.tar.gz
|
||||
Patch0: use-python-exec.patch
|
||||
BuildRequires: %{python_module Brotli}
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module bson}
|
||||
@ -63,7 +62,6 @@ for integrating it into python-based Big Data workflows.
|
||||
|
||||
%prep
|
||||
%setup -q -n fastparquet-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
@ -1,21 +0,0 @@
|
||||
Index: fastparquet-0.3.3/fastparquet/test/test_api.py
|
||||
===================================================================
|
||||
--- fastparquet-0.3.3.orig/fastparquet/test/test_api.py
|
||||
+++ fastparquet-0.3.3/fastparquet/test/test_api.py
|
||||
@@ -4,6 +4,7 @@ from __future__ import unicode_literals
|
||||
import io
|
||||
import os
|
||||
import subprocess
|
||||
+import sys
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
import numba
|
||||
@@ -26,7 +27,7 @@ TEST_DATA = "test-data"
|
||||
@pytest.mark.skipif(numba.__version__ <= LooseVersion("0.39.0"), reason="Warning from numba.")
|
||||
def test_import_without_warning():
|
||||
# in a subprocess to avoid import chacing issues.
|
||||
- subprocess.check_call(["python", "-Werror", "-c", "import fastparquet"])
|
||||
+ subprocess.check_call([sys.executable, "-Werror", "-c", "import fastparquet"])
|
||||
|
||||
|
||||
def test_statistics(tempdir):
|
Loading…
Reference in New Issue
Block a user