1
0

Accepting request 819735 from home:mcalabkova:branches:devel:languages:python:numeric

- 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

OBS-URL: https://build.opensuse.org/request/show/819735
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-fastparquet?expand=0&rev=20
This commit is contained in:
Tomáš Chvátal 2020-07-09 21:09:42 +00:00 committed by Git OBS Bridge
parent 1e90d85788
commit 4c289424b1
5 changed files with 14 additions and 27 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34c0a94e36710cc7615770661888d9c610da3925cd2bd6164bc6d5682530814c
size 28914143

View File

@ -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>

View File

@ -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}"

View File

@ -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):