commit python-gcsfs for openSUSE:Factory

2020-10-07 Thread root
Hello community,

here is the log from the commit of package python-gcsfs for openSUSE:Factory 
checked in at 2020-10-07 14:18:27

Comparing /work/SRC/openSUSE:Factory/python-gcsfs (Old)
 and  /work/SRC/openSUSE:Factory/.python-gcsfs.new.4249 (New)


Package is "python-gcsfs"

Wed Oct  7 14:18:27 2020 rev:4 rq:839893 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-gcsfs/python-gcsfs.changes
2020-04-07 10:32:22.886581451 +0200
+++ /work/SRC/openSUSE:Factory/.python-gcsfs.new.4249/python-gcsfs.changes  
2020-10-07 14:18:34.781490135 +0200
@@ -1,0 +2,8 @@
+Tue Oct  6 19:15:04 UTC 2020 - Matej Cepl 
+
+- Update to 0.7.1:
+  - async operations via aiohttp
+- Add avoid_network_tests.patch to skip over network requiring
+  test (gh#dask/gcsfs#292).
+
+---

Old:

  gcsfs-0.6.1.tar.gz

New:

  avoid_network_tests.patch
  gcsfs-0.7.1.tar.gz



Other differences:
--
++ python-gcsfs.spec ++
--- /var/tmp/diff_new_pack.x3zLov/_old  2020-10-07 14:18:35.297490545 +0200
+++ /var/tmp/diff_new_pack.x3zLov/_new  2020-10-07 14:18:35.301490549 +0200
@@ -19,18 +19,22 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-gcsfs
-Version:0.6.1
+Version:0.7.1
 Release:0
 Summary:Filesystem interface over GCS
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/dask/gcsfs
 Source: 
https://files.pythonhosted.org/packages/source/g/gcsfs/gcsfs-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM avoid_network_tests.patch gh#dask/gcsfs#292 mc...@suse.com
+# skip tests which require network connection
+Patch0: avoid_network_tests.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-aiohttp
 Requires:   python-decorator
-Requires:   python-fsspec >= 0.6.0
+Requires:   python-fsspec >= 0.8.0
 Requires:   python-google-auth >= 1.2
 Requires:   python-google-auth-oauthlib
 Requires:   python-requests
@@ -38,9 +42,10 @@
 Recommends: python-gcsfs-fuse = %{version}
 BuildArch:  noarch
 # SECTION test requirements
+BuildRequires:  %{python_module aiohttp}
 BuildRequires:  %{python_module click}
 BuildRequires:  %{python_module decorator}
-BuildRequires:  %{python_module fsspec >= 0.6.0}
+BuildRequires:  %{python_module fsspec >= 0.8.0}
 BuildRequires:  %{python_module fusepy}
 BuildRequires:  %{python_module google-auth >= 1.2}
 BuildRequires:  %{python_module google-auth-oauthlib}
@@ -69,6 +74,7 @@
 
 %prep
 %setup -q -n gcsfs-%{version}
+%autopatch -p1
 
 %build
 %python_build
@@ -79,7 +85,7 @@
 
 %check
 # Tests test_map_simple, test_map_with_data and test_map_clear_empty require a 
network connection
-%pytest -k "not (test_map_simple or test_map_with_data or 
test_map_clear_empty)" gcsfs
+%pytest -k "not network" gcsfs/tests
 
 %files %{python_files}
 %doc README.rst

++ avoid_network_tests.patch ++
---
 gcsfs/tests/test_core.py|   44 
 gcsfs/tests/test_mapping.py |   10 +
 setup.cfg   |6 -
 setup.cfg   |3 ++
 4 files changed, 57 insertions(+), 6 deletions(-)

--- a/gcsfs/tests/test_mapping.py
+++ b/gcsfs/tests/test_mapping.py
@@ -15,6 +15,7 @@ def test_api():
 assert "mapping" in dir(gcsfs)
 
 
+@pytest.mark.network
 @my_vcr.use_cassette(match=["all"])
 def test_map_simple():
 with gcs_maker() as gcs:
@@ -26,6 +27,7 @@ def test_map_simple():
 assert list(d.items()) == []
 
 
+@pytest.mark.network
 @my_vcr.use_cassette(match=["all"])
 def test_map_default_gcsfilesystem():
 with gcs_maker() as gcs:
@@ -33,6 +35,7 @@ def test_map_default_gcsfilesystem():
 assert d.fs is gcs
 
 
+@pytest.mark.network
 @my_vcr.use_cassette(match=["all"])
 def test_map_errors():
 with gcs_maker() as gcs:
@@ -69,6 +72,7 @@ def test_map_with_data():
 assert list(d) == []
 
 
+@pytest.mark.network
 @my_vcr.use_cassette(match=["all"])
 def test_map_complex_keys():
 with gcs_maker() as gcs:
@@ -87,6 +91,7 @@ def test_map_complex_keys():
 assert ("x", 1, 2) in d
 
 
+@pytest.mark.network
 @my_vcr.use_cassette(match=["all"])
 def test_map_clear_empty():
 with gcs_maker() as gcs:
@@ -100,6 +105,7 @@ def test_map_clear_empty():
 assert list(d) == []
 
 
+@pytest.mark.network
 @my_vcr.use_cassette(match=["all"])
 def test_map_pickle():
 with gcs_maker() as gcs:
@@ -114,6 +120,7 @@ def test_map_pickle():
 assert d2["x"] == b"1"
 
 
+@pytest.mark.network
 

commit python-gcsfs for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package python-gcsfs for openSUSE:Factory 
checked in at 2020-04-07 10:31:18

Comparing /work/SRC/openSUSE:Factory/python-gcsfs (Old)
 and  /work/SRC/openSUSE:Factory/.python-gcsfs.new.3248 (New)


Package is "python-gcsfs"

Tue Apr  7 10:31:18 2020 rev:3 rq:791799 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-gcsfs/python-gcsfs.changes
2019-07-24 20:33:54.258584821 +0200
+++ /work/SRC/openSUSE:Factory/.python-gcsfs.new.3248/python-gcsfs.changes  
2020-04-07 10:32:22.886581451 +0200
@@ -1,0 +2,21 @@
+Mon Apr  6 13:52:50 UTC 2020 - Marketa Calabkova 
+
+- Update to 0.6.1
+  * **API-breaking**: Changed requester-pays handling for ``GCSFileSystem``.
+The ``user_project`` keyword has been removed, and has been replaced with
+the ``requester_pays`` keyword. If you're working with a 
``requester_pays`` bucket
+you will need to explicity pass ``requester_pays=True``. This will include 
your
+``project`` ID in requests made to GCS.
+  * ``GCSFileSystem`` now validates that the ``project`` provided, if any, 
matches the
+Google default project when using ``token='google_default'`` to 
authenticate (:pr:`219`).
+  * Fixed bug in ``GCSFileSystem.cat`` on objects in requester-pays buckets 
(:pr:`217`).
+  * Fixed bug in ``user_project`` fallback for default Google authentication 
(:pr:`213`)
+  * ``user_project`` now falls back to the ``project`` if provided (:pr:`208`)
+  * Added the ability to make requester-pays requests with the 
``user_project`` parameter (:pr:`206`)
+  * Improved performance when serializing filesystem objects (:pr:`182`)
+  * Fixed authorization errors when using ``gcsfs`` within multithreaded code 
(:pr:`183`, :pr:`192`)
+  * Added contributing instructions (:pr:`185`)
+  * Improved performance for :meth:`gcsfs.GCSFileSystem.info` (:pr:`187`)
+  * Fixed bug in :meth:`gcsfs.GCSFileSystem.info` raising an error (:pr:`190`)
+
+---

Old:

  gcsfs-0.3.0.tar.gz

New:

  gcsfs-0.6.1.tar.gz



Other differences:
--
++ python-gcsfs.spec ++
--- /var/tmp/diff_new_pack.hM8Iie/_old  2020-04-07 10:32:23.458582196 +0200
+++ /var/tmp/diff_new_pack.hM8Iie/_new  2020-04-07 10:32:23.458582196 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gcsfs
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,35 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-gcsfs
-Version:0.3.0
+Version:0.6.1
 Release:0
-License:BSD-3-Clause
 Summary:Filesystem interface over GCS
-Url:https://github.com/dask/gcsfs
+License:BSD-3-Clause
 Group:  Development/Languages/Python
+URL:https://github.com/dask/gcsfs
 Source: 
https://files.pythonhosted.org/packages/source/g/gcsfs/gcsfs-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-decorator
+Requires:   python-fsspec >= 0.6.0
+Requires:   python-google-auth >= 1.2
+Requires:   python-google-auth-oauthlib
+Requires:   python-requests
+Recommends: dask
+Recommends: python-gcsfs-fuse = %{version}
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module click}
 BuildRequires:  %{python_module decorator}
-BuildRequires:  %{python_module fsspec >= 0.2.2}
+BuildRequires:  %{python_module fsspec >= 0.6.0}
 BuildRequires:  %{python_module fusepy}
 BuildRequires:  %{python_module google-auth >= 1.2}
 BuildRequires:  %{python_module google-auth-oauthlib}
@@ -39,16 +49,6 @@
 BuildRequires:  %{python_module vcrpy}
 BuildRequires:  libfuse2
 # /SECTION
-BuildRequires:  fdupes
-Requires:   python-decorator
-Requires:   python-fsspec >= 0.2.2
-Requires:   python-google-auth >= 1.2
-Requires:   python-google-auth-oauthlib
-Requires:   python-requests
-Recommends: dask
-Recommends: python-gcsfs-fuse = %{version}
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -56,6 +56,7 @@
 
 %packagefuse
 Summary:Filesystem interface 

commit python-gcsfs for openSUSE:Factory

2019-07-24 Thread root
Hello community,

here is the log from the commit of package python-gcsfs for openSUSE:Factory 
checked in at 2019-07-24 20:33:53

Comparing /work/SRC/openSUSE:Factory/python-gcsfs (Old)
 and  /work/SRC/openSUSE:Factory/.python-gcsfs.new.4126 (New)


Package is "python-gcsfs"

Wed Jul 24 20:33:53 2019 rev:2 rq:717944 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-gcsfs/python-gcsfs.changes
2019-05-06 13:26:58.713233356 +0200
+++ /work/SRC/openSUSE:Factory/.python-gcsfs.new.4126/python-gcsfs.changes  
2019-07-24 20:33:54.258584821 +0200
@@ -1,0 +2,12 @@
+Mon Jul 22 16:41:24 UTC 2019 - Todd R 
+
+- Update to 0.3.0
+  * Pass through open kwargs
+  * set versions
+  * add fuse recording
+  * skip fuse early
+  * remove pandas install
+  * some changes for FUSE
+  * add fsspec to install
+
+---

Old:

  gcsfs-0.2.1.tar.gz

New:

  gcsfs-0.3.0.tar.gz



Other differences:
--
++ python-gcsfs.spec ++
--- /var/tmp/diff_new_pack.0pHmVY/_old  2019-07-24 20:33:57.086584511 +0200
+++ /var/tmp/diff_new_pack.0pHmVY/_new  2019-07-24 20:33:57.126584507 +0200
@@ -16,8 +16,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-gcsfs
-Version:0.2.1
+Version:0.3.0
 Release:0
 License:BSD-3-Clause
 Summary:Filesystem interface over GCS
@@ -29,10 +30,10 @@
 # SECTION test requirements
 BuildRequires:  %{python_module click}
 BuildRequires:  %{python_module decorator}
+BuildRequires:  %{python_module fsspec >= 0.2.2}
 BuildRequires:  %{python_module fusepy}
 BuildRequires:  %{python_module google-auth >= 1.2}
 BuildRequires:  %{python_module google-auth-oauthlib}
-BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module vcrpy}
@@ -40,11 +41,12 @@
 # /SECTION
 BuildRequires:  fdupes
 Requires:   python-decorator
+Requires:   python-fsspec >= 0.2.2
 Requires:   python-google-auth >= 1.2
 Requires:   python-google-auth-oauthlib
 Requires:   python-requests
-Recommends: python-gcsfs-fuse = %{version}
 Recommends: dask
+Recommends: python-gcsfs-fuse = %{version}
 BuildArch:  noarch
 
 %python_subpackages
@@ -84,14 +86,9 @@
 %{python_sitelib}/gcsfs-%{version}-py*.egg-info
 %{python_sitelib}/gcsfs/
 %exclude %{python_sitelib}/gcsfs/cli/
-%exclude %{python_sitelib}/gcsfs/gcsfuse.py*
-%pycache_only %exclude %{python_sitelib}/gcsfs/__pycache__/gcsfuse*
 
 %files %{python_files fuse}
 %license LICENSE.txt
-%python3_only %{_bindir}/gcsfuse
 %{python_sitelib}/gcsfs/cli/
-%{python_sitelib}/gcsfs/gcsfuse.py*
-%pycache_only %{python_sitelib}/gcsfs/__pycache__/gcsfuse*
 
 %changelog

++ gcsfs-0.2.1.tar.gz -> gcsfs-0.3.0.tar.gz ++
 2545 lines of diff (skipped)




commit python-gcsfs for openSUSE:Factory

2019-05-06 Thread root
Hello community,

here is the log from the commit of package python-gcsfs for openSUSE:Factory 
checked in at 2019-05-06 13:26:58

Comparing /work/SRC/openSUSE:Factory/python-gcsfs (Old)
 and  /work/SRC/openSUSE:Factory/.python-gcsfs.new.5148 (New)


Package is "python-gcsfs"

Mon May  6 13:26:58 2019 rev:1 rq:700456 version:0.2.1

Changes:

New Changes file:

--- /dev/null   2019-05-02 15:18:01.516169518 +0200
+++ /work/SRC/openSUSE:Factory/.python-gcsfs.new.5148/python-gcsfs.changes  
2019-05-06 13:26:58.713233356 +0200
@@ -0,0 +1,4 @@
+---
+Thu May  2 17:17:18 UTC 2019 - Todd R 
+
+- Initial version

New:

  gcsfs-0.2.1.tar.gz
  python-gcsfs.changes
  python-gcsfs.spec



Other differences:
--
++ python-gcsfs.spec ++
#
# spec file for package python-gcsfs
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-gcsfs
Version:0.2.1
Release:0
License:BSD-3-Clause
Summary:Filesystem interface over GCS
Url:https://github.com/dask/gcsfs
Group:  Development/Languages/Python
Source: 
https://files.pythonhosted.org/packages/source/g/gcsfs/gcsfs-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
# SECTION test requirements
BuildRequires:  %{python_module click}
BuildRequires:  %{python_module decorator}
BuildRequires:  %{python_module fusepy}
BuildRequires:  %{python_module google-auth >= 1.2}
BuildRequires:  %{python_module google-auth-oauthlib}
BuildRequires:  %{python_module pandas}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module requests}
BuildRequires:  %{python_module vcrpy}
BuildRequires:  libfuse2
# /SECTION
BuildRequires:  fdupes
Requires:   python-decorator
Requires:   python-google-auth >= 1.2
Requires:   python-google-auth-oauthlib
Requires:   python-requests
Recommends: python-gcsfs-fuse = %{version}
Recommends: dask
BuildArch:  noarch

%python_subpackages

%description
File-system interface for Google Cloud Storage.

%packagefuse
Summary:Filesystem interface over GCS - FUSE interface
Requires:   libfuse2
Requires:   python-click
Requires:   python-fusepy
Requires:   python-pandas

%descriptionfuse
File-system interface for Google Cloud Storage.

This package provides the optional FUSE interface.

%prep
%setup -q -n gcsfs-%{version}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

# Tests require a network connection
# %%check
# %%python_expand pytest-%%{$python_bin_suffix} -vv -x  gcsfs

%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/gcsfs-%{version}-py*.egg-info
%{python_sitelib}/gcsfs/
%exclude %{python_sitelib}/gcsfs/cli/
%exclude %{python_sitelib}/gcsfs/gcsfuse.py*
%pycache_only %exclude %{python_sitelib}/gcsfs/__pycache__/gcsfuse*

%files %{python_files fuse}
%license LICENSE.txt
%python3_only %{_bindir}/gcsfuse
%{python_sitelib}/gcsfs/cli/
%{python_sitelib}/gcsfs/gcsfuse.py*
%pycache_only %{python_sitelib}/gcsfs/__pycache__/gcsfuse*

%changelog