From d17ce1b55246936c9a8d20d4ab8ccccf8b5cecb433fe2b582fd49edf17c37541 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 3 Apr 2023 07:55:59 +0000 Subject: [PATCH] Accepting request 1076748 from home:bnavigator:pyarrow - migrate to PEP517 - Enable pyarrow tests - Reenable distributed test for python311 OBS-URL: https://build.opensuse.org/request/show/1076748 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fsspec?expand=0&rev=48 --- python-fsspec.changes | 7 +++++++ python-fsspec.spec | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/python-fsspec.changes b/python-fsspec.changes index 85868bb..a71e2a8 100644 --- a/python-fsspec.changes +++ b/python-fsspec.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Apr 2 14:27:18 UTC 2023 - Ben Greiner + +- migrate to PEP517 +- Enable pyarrow tests +- Reenable distributed test for python311 + ------------------------------------------------------------------- Fri Mar 24 14:09:44 UTC 2023 - Ben Greiner diff --git a/python-fsspec.spec b/python-fsspec.spec index 9f55802..7ea2dd7 100644 --- a/python-fsspec.spec +++ b/python-fsspec.spec @@ -24,6 +24,7 @@ %define psuffix %{nil} %bcond_with test %endif + Name: python-fsspec%{psuffix} Version: 2023.3.0 Release: 0 @@ -33,7 +34,9 @@ URL: https://github.com/fsspec/filesystem_spec # the tests are only in the GitHub archive Source: https://github.com/fsspec/filesystem_spec/archive/%{version}.tar.gz#/fsspec-%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: fuse BuildRequires: python-rpm-macros @@ -54,8 +57,7 @@ BuildArch: noarch %if %{with test} BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module cloudpickle} -# no numba and distributed for py311 yet -BuildRequires: %{python_module distributed if %python-base < 3.11} +BuildRequires: %{python_module distributed} BuildRequires: %{python_module fastparquet} BuildRequires: %{python_module fusepy} BuildRequires: %{python_module gcsfs} @@ -64,6 +66,7 @@ BuildRequires: %{python_module notebook} BuildRequires: %{python_module numpy} BuildRequires: %{python_module panel} BuildRequires: %{python_module paramiko} +BuildRequires: %{python_module pyarrow} BuildRequires: %{python_module pyftpdlib} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} @@ -86,11 +89,11 @@ A specification for pythonic filesystems. %autosetup -p1 -n filesystem_spec-%{version} %build -%python_build +%pyproject_wheel %if ! %{with test} %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif