From c9d6b4d9cf2f50fe8994830a12e703778beadf4d18f8f0efbf6957ad58140609 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 17 Jan 2022 06:31:02 +0000 Subject: [PATCH] Accepting request 946801 from home:bnavigator:branches:devel:languages:python:numeric - Clean specfile from unused python36 conditionals - Require thrift 0.15.0 (+patch) for Python 3.10 compatibility * gh#dask/fastparquet#514 OBS-URL: https://build.opensuse.org/request/show/946801 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-fastparquet?expand=0&rev=36 --- python-fastparquet.changes | 7 +++++++ python-fastparquet.spec | 14 +++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/python-fastparquet.changes b/python-fastparquet.changes index b577ff5..8f210ab 100644 --- a/python-fastparquet.changes +++ b/python-fastparquet.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jan 16 13:34:53 UTC 2022 - Ben Greiner + +- Clean specfile from unused python36 conditionals +- Require thrift 0.15.0 (+patch) for Python 3.10 compatibility + * gh#dask/fastparquet#514 + ------------------------------------------------------------------- Sat Nov 27 20:34:53 UTC 2021 - Arun Persaud diff --git a/python-fastparquet.spec b/python-fastparquet.spec index e2207b6..b9320e1 100644 --- a/python-fastparquet.spec +++ b/python-fastparquet.spec @@ -1,7 +1,7 @@ # # spec file for package python-fastparquet # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,8 @@ %define _buildshell /bin/bash -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 Name: python-fastparquet Version: 0.7.2 Release: 0 @@ -36,14 +35,23 @@ BuildRequires: %{python_module pandas >= 1.1.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-lzo} BuildRequires: %{python_module setuptools} +%if 0%{suse_version} >= 1550 +# https://github.com/dask/fastparquet/issues/514 +BuildRequires: %{python_module thrift >= 0.15.0} +%else BuildRequires: %{python_module thrift >= 0.11.0} +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cramjam >= 2.3.0 Requires: python-fsspec Requires: python-numpy >= 1.18 Requires: python-pandas >= 1.1.0 +%if 0%{python_version_nodots} >= 310 +Requires: python-thrift >= 0.15.0 +%else Requires: python-thrift >= 0.11.0 +%endif Recommends: python-python-lzo %python_subpackages