Accepting request 874528 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/874528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fsspec?expand=0&rev=11
This commit is contained in:
commit
60329aee79
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 22 16:55:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update python36 requirements. Don't try to test nonexistent
|
||||||
|
optional python36-numpy and -panel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 4 17:59:57 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
Mon Jan 4 17:59:57 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -34,9 +34,13 @@ License: BSD-3-Clause
|
|||||||
URL: https://github.com/intake/filesystem_spec
|
URL: https://github.com/intake/filesystem_spec
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/fsspec/fsspec-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/f/fsspec/fsspec-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.6}
|
BuildRequires: %{python_module base >= 3.6}
|
||||||
|
BuildRequires: %{python_module importlib_metadata if %python-base < 3.8}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
%if 0%{?python_version_nodots} < 38
|
||||||
|
Requires: python-importlib_metadata
|
||||||
|
%endif
|
||||||
Suggests: python-adlfs
|
Suggests: python-adlfs
|
||||||
Suggests: python-aiohttp
|
Suggests: python-aiohttp
|
||||||
Suggests: python-pyarrow
|
Suggests: python-pyarrow
|
||||||
@ -58,8 +62,6 @@ BuildRequires: %{python_module distributed}
|
|||||||
BuildRequires: %{python_module fusepy}
|
BuildRequires: %{python_module fusepy}
|
||||||
BuildRequires: %{python_module gcsfs}
|
BuildRequires: %{python_module gcsfs}
|
||||||
BuildRequires: %{python_module notebook}
|
BuildRequires: %{python_module notebook}
|
||||||
BuildRequires: %{python_module numpy}
|
|
||||||
BuildRequires: %{python_module panel}
|
|
||||||
BuildRequires: %{python_module paramiko}
|
BuildRequires: %{python_module paramiko}
|
||||||
BuildRequires: %{python_module pyftpdlib}
|
BuildRequires: %{python_module pyftpdlib}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@ -68,6 +70,8 @@ BuildRequires: %{python_module requests}
|
|||||||
BuildRequires: %{python_module s3fs}
|
BuildRequires: %{python_module s3fs}
|
||||||
BuildRequires: %{python_module smbprotocol}
|
BuildRequires: %{python_module smbprotocol}
|
||||||
BuildRequires: %{python_module zstandard}
|
BuildRequires: %{python_module zstandard}
|
||||||
|
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||||
|
BuildRequires: %{python_module panel if (%python-base without python36-base)}
|
||||||
# cannot test git and http in the same installation (?)
|
# cannot test git and http in the same installation (?)
|
||||||
# BuildRequires: %%{python_module pygit2}
|
# BuildRequires: %%{python_module pygit2}
|
||||||
# BuildRequires: git-core
|
# BuildRequires: git-core
|
||||||
@ -79,6 +83,8 @@ A specification for pythonic filesystems.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n fsspec-%{version}
|
%setup -q -n fsspec-%{version}
|
||||||
|
# don't test nonexistent python36-numpy
|
||||||
|
sed -i -e '/^import numpy as np/ d' -e '/^import pytest/ a np = pytest.importorskip("numpy")' fsspec/tests/test_spec.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user