From f9749230d2cbb49561a3a709f42f4970c3a74be77535494a3dd874c57d65f13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 15 Jan 2024 13:35:37 +0000 Subject: [PATCH] Accepting request 1138784 from home:pgajdos - have a possibility to not use pyarrow for testing [bsc#1218592] OBS-URL: https://build.opensuse.org/request/show/1138784 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fsspec?expand=0&rev=62 --- python-fsspec.changes | 5 +++++ python-fsspec.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-fsspec.changes b/python-fsspec.changes index ce81f58..967316e 100644 --- a/python-fsspec.changes +++ b/python-fsspec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 12 13:11:26 UTC 2024 - pgajdos@suse.com + +- have a possibility to not use pyarrow for testing [bsc#1218592] + ------------------------------------------------------------------- Sat Dec 16 12:44:59 UTC 2023 - Dirk Müller diff --git a/python-fsspec.spec b/python-fsspec.spec index 5008ad2..79d9a61 100644 --- a/python-fsspec.spec +++ b/python-fsspec.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ %define psuffix %{nil} %bcond_with test %endif +%bcond_without have_pyarrow %{?sle15_python_module_pythons} Name: python-fsspec%{psuffix} @@ -68,7 +69,9 @@ BuildRequires: %{python_module notebook} BuildRequires: %{python_module numpy} BuildRequires: %{python_module panel} BuildRequires: %{python_module paramiko} +%if %{with have_pyarrow} BuildRequires: %{python_module pyarrow} +%endif BuildRequires: %{python_module pyftpdlib} BuildRequires: %{python_module pygit2} BuildRequires: %{python_module pytest-mock}