Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gcsfs for openSUSE:Factory checked in at 2022-02-24 18:20:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gcsfs (Old) and /work/SRC/openSUSE:Factory/.python-gcsfs.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gcsfs" Thu Feb 24 18:20:45 2022 rev:9 rq:957041 version:2022.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gcsfs/python-gcsfs.changes 2022-02-01 14:03:11.611975468 +0100 +++ /work/SRC/openSUSE:Factory/.python-gcsfs.new.1958/python-gcsfs.changes 2022-02-24 18:24:05.206648580 +0100 @@ -1,0 +2,7 @@ +Tue Feb 22 22:47:16 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Update to 2022.02.0: + - fix list_buckets without cache + - drop py36 + +------------------------------------------------------------------- Old: ---- gcsfs-2022.01.0-gh.tar.gz New: ---- gcsfs-2022.02.0-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gcsfs.spec ++++++ --- /var/tmp/diff_new_pack.zJT3PO/_old 2022-02-24 18:24:05.690648454 +0100 +++ /var/tmp/diff_new_pack.zJT3PO/_new 2022-02-24 18:24:05.694648454 +0100 @@ -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: 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 @@ # 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 @@ %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 ++++++ gcsfs-2022.01.0-gh.tar.gz -> gcsfs-2022.02.0-gh.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcsfs-2022.01.0/docs/source/changelog.rst new/gcsfs-2022.02.0/docs/source/changelog.rst --- old/gcsfs-2022.01.0/docs/source/changelog.rst 2022-01-12 16:43:26.000000000 +0100 +++ new/gcsfs-2022.02.0/docs/source/changelog.rst 2022-02-22 18:57:08.000000000 +0100 @@ -1,6 +1,12 @@ Changelog ========= +2022.02.0 +--------- + +* fix list_buckets without cache (#449) +* drop py36 (#445) + 2022.01.0 --------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcsfs-2022.01.0/gcsfs/_version.py new/gcsfs-2022.02.0/gcsfs/_version.py --- old/gcsfs-2022.01.0/gcsfs/_version.py 2022-01-12 16:43:26.000000000 +0100 +++ new/gcsfs-2022.02.0/gcsfs/_version.py 2022-02-22 18:57:08.000000000 +0100 @@ -22,9 +22,9 @@ # setup.py/versioneer.py will grep for the variable names, so they must # each be defined on a line of their own. _version.py will just call # get_keywords(). - git_refnames = "2022.01.0" - git_full = "fd67c7d1b6ca9db83a0deadd1557470c37b0836a" - git_date = "2022-01-12 10:43:26 -0500" + git_refnames = "2022.02.0" + git_full = "cf2b3e4bfa10bfcbda03830986beb8cc56ffdcb7" + git_date = "2022-02-22 12:57:08 -0500" keywords = {"refnames": git_refnames, "full": git_full, "date": git_date} return keywords diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcsfs-2022.01.0/gcsfs/core.py new/gcsfs-2022.02.0/gcsfs/core.py --- old/gcsfs-2022.01.0/gcsfs/core.py 2022-01-12 16:43:26.000000000 +0100 +++ new/gcsfs-2022.02.0/gcsfs/core.py 2022-02-22 18:57:08.000000000 +0100 @@ -569,9 +569,11 @@ items.extend(page.get("items", [])) next_page_token = page.get("nextPageToken", None) - self.dircache[""] = [ + buckets = [ {"name": i["name"] + "/", "size": 0, "type": "directory"} for i in items ] + self.dircache[""] = buckets + return buckets return self.dircache[""] def invalidate_cache(self, path=None): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcsfs-2022.01.0/requirements.txt new/gcsfs-2022.02.0/requirements.txt --- old/gcsfs-2022.01.0/requirements.txt 2022-01-12 16:43:26.000000000 +0100 +++ new/gcsfs-2022.02.0/requirements.txt 2022-02-22 18:57:08.000000000 +0100 @@ -3,5 +3,5 @@ google-cloud-storage requests decorator>4.1.2 -fsspec==2022.01.0 +fsspec==2022.02.0 aiohttp<4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcsfs-2022.01.0/setup.py new/gcsfs-2022.02.0/setup.py --- old/gcsfs-2022.01.0/setup.py 2022-01-12 16:43:26.000000000 +0100 +++ new/gcsfs-2022.02.0/setup.py 2022-02-22 18:57:08.000000000 +0100 @@ -19,7 +19,6 @@ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -31,6 +30,6 @@ open("README.rst").read() if os.path.exists("README.rst") else "" ), extras_require={"gcsfuse": ["fusepy"], "crc": ["crcmod"]}, - python_requires=">=3.6", + python_requires=">=3.7", zip_safe=False, )