forked from pool/python-gcsfs
Accepting request 985758 from home:bnavigator:branches:devel:languages:python:aws
- Update to 2022.5.0 * invalidate listings cache for simple put/pipe (#474) * conform _mkdir and _cat_file to upstream (#471) OBS-URL: https://build.opensuse.org/request/show/985758 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gcsfs?expand=0&rev=18
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
%bcond_with fulltest
|
||||
%define skip_python2 1
|
||||
Name: python-gcsfs
|
||||
Version: 2022.3.0
|
||||
Version: 2022.5.0
|
||||
Release: 0
|
||||
Summary: Filesystem interface over GCS
|
||||
License: BSD-3-Clause
|
||||
@@ -87,27 +87,9 @@ sed -i 's/--color=yes//' setup.cfg
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%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
|
||||
# The full test suite requires to start a docker container via fake-gcs-server
|
||||
# see https://github.com/fsspec/gcsfs/blob/main/docs/source/developer.rst
|
||||
# and the gcs fixtures in conftest.py
|
||||
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json
|
||||
%if %{with fulltest}
|
||||
%pytest -rfEs
|
||||
|
||||
Reference in New Issue
Block a user