Accepting request 957040 from home:mcepl:branches:devel:languages:python
- Update to 2022.02.0: - fix list_buckets without cache - drop py36 OBS-URL: https://build.opensuse.org/request/show/957040 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gcsfs?expand=0&rev=15
This commit is contained in:
parent
58bfe62d35
commit
103df7ba88
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:efd5ba30c711d0c61e31bc8a912fdb238636ddf97d40415ee6067746fa81aefd
|
|
||||||
size 66317
|
|
3
gcsfs-2022.02.0-gh.tar.gz
Normal file
3
gcsfs-2022.02.0-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:559522e7ecd56fdf7ef22fe49f8422d08f17ece0b2345337e42f64cfadef179b
|
||||||
|
size 66349
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 22 22:47:16 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 2022.02.0:
|
||||||
|
- fix list_buckets without cache
|
||||||
|
- drop py36
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 24 17:20:26 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Mon Jan 24 17:20:26 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
# the test suite moved to a docker simulator which we cannot run inside an obs environment
|
# the test suite moved to a docker simulator which we cannot run inside an obs environment
|
||||||
%bcond_with fulltest
|
%bcond_with fulltest
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define ghversiontag 2022.01.0
|
%define ghversiontag 2022.02.0
|
||||||
Name: python-gcsfs
|
Name: python-gcsfs
|
||||||
Version: 2022.1.0
|
Version: 2022.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Filesystem interface over GCS
|
Summary: Filesystem interface over GCS
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -35,7 +35,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-aiohttp
|
Requires: python-aiohttp
|
||||||
Requires: python-decorator > 4.1.2
|
Requires: python-decorator > 4.1.2
|
||||||
Requires: python-fsspec == %{version}
|
Requires: python-fsspec = %{version}
|
||||||
Requires: python-google-auth >= 1.2
|
Requires: python-google-auth >= 1.2
|
||||||
Requires: python-google-auth-oauthlib
|
Requires: python-google-auth-oauthlib
|
||||||
Requires: python-google-cloud-storage
|
Requires: python-google-cloud-storage
|
||||||
@ -47,10 +47,13 @@ BuildArch: noarch
|
|||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
# always import in order to detect dependency breakages at build time
|
# always import in order to detect dependency breakages at build time
|
||||||
BuildRequires: %{python_module aiohttp}
|
BuildRequires: %{python_module aiohttp}
|
||||||
|
BuildRequires: %{python_module black}
|
||||||
BuildRequires: %{python_module click}
|
BuildRequires: %{python_module click}
|
||||||
BuildRequires: %{python_module decorator > 4.1.2}
|
BuildRequires: %{python_module decorator > 4.1.2}
|
||||||
BuildRequires: %{python_module fsspec == %{version}}
|
BuildRequires: %{python_module fsspec == %{version}}
|
||||||
BuildRequires: %{python_module fusepy}
|
BuildRequires: %{python_module fusepy}
|
||||||
|
BuildRequires: %{python_module google-api-core}
|
||||||
|
BuildRequires: %{python_module google-api-python-client}
|
||||||
BuildRequires: %{python_module google-auth >= 1.2}
|
BuildRequires: %{python_module google-auth >= 1.2}
|
||||||
BuildRequires: %{python_module google-auth-oauthlib}
|
BuildRequires: %{python_module google-auth-oauthlib}
|
||||||
BuildRequires: %{python_module google-cloud-storage}
|
BuildRequires: %{python_module google-cloud-storage}
|
||||||
@ -85,6 +88,27 @@ sed -i 's/--color=yes//' setup.cfg
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
## # Tests test_map_simple, test_map_with_data and test_map_clear_empty require a network connection
|
||||||
|
## %%pytest -k "not network" gcsfs/tests
|
||||||
|
## # export GCSFS_RECORD_MODE=none
|
||||||
|
## # export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json
|
||||||
|
## # %%%%pytest -rfEs
|
||||||
|
##
|
||||||
|
## - name: Install dependencies
|
||||||
|
## shell: bash -l {0}
|
||||||
|
## run: |
|
||||||
|
## pip install git+https://github.com/fsspec/filesystem_spec --no-deps
|
||||||
|
## conda list
|
||||||
|
## conda --version
|
||||||
|
## - name: Install
|
||||||
|
## shell: bash -l {0}
|
||||||
|
## run: pip install .[crc]
|
||||||
|
##
|
||||||
|
## - name: Run Tests
|
||||||
|
## shell: bash -l {0}
|
||||||
|
## run: |
|
||||||
|
## export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json
|
||||||
|
## py.test -vv gcsfs
|
||||||
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json
|
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json
|
||||||
%if %{with fulltest}
|
%if %{with fulltest}
|
||||||
%pytest -rfEs
|
%pytest -rfEs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user