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
This commit is contained in:
Matej Cepl 2022-01-17 06:31:02 +00:00 committed by Git OBS Bridge
parent dc8c5ab00b
commit c9d6b4d9cf
2 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jan 16 13:34:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <arun@gmx.de> Sat Nov 27 20:34:53 UTC 2021 - Arun Persaud <arun@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-fastparquet # 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 # 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
@ -17,9 +17,8 @@
%define _buildshell /bin/bash %define _buildshell /bin/bash
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%define skip_python36 1
Name: python-fastparquet Name: python-fastparquet
Version: 0.7.2 Version: 0.7.2
Release: 0 Release: 0
@ -36,14 +35,23 @@ BuildRequires: %{python_module pandas >= 1.1.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-lzo} BuildRequires: %{python_module python-lzo}
BuildRequires: %{python_module setuptools} 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} BuildRequires: %{python_module thrift >= 0.11.0}
%endif
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-cramjam >= 2.3.0 Requires: python-cramjam >= 2.3.0
Requires: python-fsspec Requires: python-fsspec
Requires: python-numpy >= 1.18 Requires: python-numpy >= 1.18
Requires: python-pandas >= 1.1.0 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 Requires: python-thrift >= 0.11.0
%endif
Recommends: python-python-lzo Recommends: python-python-lzo
%python_subpackages %python_subpackages