diff --git a/gcsfs-2022.01.0-gh.tar.gz b/gcsfs-2022.01.0-gh.tar.gz deleted file mode 100644 index fbcc3fb..0000000 --- a/gcsfs-2022.01.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efd5ba30c711d0c61e31bc8a912fdb238636ddf97d40415ee6067746fa81aefd -size 66317 diff --git a/gcsfs-2022.02.0-gh.tar.gz b/gcsfs-2022.02.0-gh.tar.gz new file mode 100644 index 0000000..7c1eead --- /dev/null +++ b/gcsfs-2022.02.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:559522e7ecd56fdf7ef22fe49f8422d08f17ece0b2345337e42f64cfadef179b +size 66349 diff --git a/python-gcsfs.changes b/python-gcsfs.changes index d34ec32..0d736ac 100644 --- a/python-gcsfs.changes +++ b/python-gcsfs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 22 22:47:16 UTC 2022 - Matej Cepl + +- Update to 2022.02.0: + - fix list_buckets without cache + - drop py36 + ------------------------------------------------------------------- Mon Jan 24 17:20:26 UTC 2022 - Ben Greiner diff --git a/python-gcsfs.spec b/python-gcsfs.spec index cf2213d..b86b4a1 100644 --- a/python-gcsfs.spec +++ b/python-gcsfs.spec @@ -20,9 +20,9 @@ # the test suite moved to a docker simulator which we cannot run inside an obs environment %bcond_with fulltest %define skip_python2 1 -%define ghversiontag 2022.01.0 +%define ghversiontag 2022.02.0 Name: python-gcsfs -Version: 2022.1.0 +Version: 2022.2.0 Release: 0 Summary: Filesystem interface over GCS License: BSD-3-Clause @@ -35,7 +35,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-aiohttp Requires: python-decorator > 4.1.2 -Requires: python-fsspec == %{version} +Requires: python-fsspec = %{version} Requires: python-google-auth >= 1.2 Requires: python-google-auth-oauthlib Requires: python-google-cloud-storage @@ -47,10 +47,13 @@ BuildArch: noarch # SECTION test requirements # always import in order to detect dependency breakages at build time BuildRequires: %{python_module aiohttp} +BuildRequires: %{python_module black} BuildRequires: %{python_module click} BuildRequires: %{python_module decorator > 4.1.2} BuildRequires: %{python_module fsspec == %{version}} 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-oauthlib} BuildRequires: %{python_module google-cloud-storage} @@ -85,6 +88,27 @@ 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 export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcsfs/tests/fake-secret.json %if %{with fulltest} %pytest -rfEs