Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zarr for openSUSE:Factory 
checked in at 2021-08-28 22:28:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zarr (Old)
 and      /work/SRC/openSUSE:Factory/.python-zarr.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zarr"

Sat Aug 28 22:28:55 2021 rev:4 rq:914748 version:2.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zarr/python-zarr.changes  2021-07-22 
22:43:51.571160777 +0200
+++ /work/SRC/openSUSE:Factory/.python-zarr.new.1899/python-zarr.changes        
2021-08-28 22:29:08.313975984 +0200
@@ -1,0 +2,29 @@
+Sat Aug 28 08:54:39 UTC 2021 - Matej Cepl <mc...@suse.com>
+
+- Update to 2.9.3:
+  - Mark the fact that some tests that require fsspec, without
+    compromising the code coverage score. By Ben Williams; #823.
+  - Only inspect alternate node type if desired isn???t
+    present. By Trevor Manz; #696.
+  - Correct conda-forge deployment of Zarr by fixing some Zarr
+    tests. By Ben Williams; #821.
+- Add skip-825-TestFSStore-test_create.patch
+  (gh#zarr-developers/zarr-python#825).
+
+-------------------------------------------------------------------
+Mon Aug 23 16:51:52 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 2.9.0
+  * This release of Zarr Python is the first release of Zarr to not
+    support Python 3.6.
+  * Update ABSStore for compatibility with newer azure.storage.
+    blob.
+  * Pathlib support.
+  * Fix dimension_separator support.
+  * Extract ABSStore to zarr._storage.absstore.
+  * TST: add missing assert in test_hexdigest.
+- Add zarr-pr802-fsspec-2021-07.patch
+  * gh#zarr-developers/zarr-python#802
+  * gh#zarr-developers/zarr-python#812
+
+-------------------------------------------------------------------

Old:
----
  zarr-2.8.3.tar.gz

New:
----
  skip-825-TestFSStore-test_create.patch
  zarr-2.9.3.tar.gz
  zarr-pr802-fsspec-2021-07.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-zarr.spec ++++++
--- /var/tmp/diff_new_pack.9XdObH/_old  2021-08-28 22:29:09.505977221 +0200
+++ /var/tmp/diff_new_pack.9XdObH/_new  2021-08-28 22:29:09.505977221 +0200
@@ -18,21 +18,25 @@
 
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
-# Requires numpy: NEP 29, NumPy 1.20 in TW dropped Python 3.6 support
 %define skip_python36 1
 Name:           python-zarr
-Version:        2.8.3
+Version:        2.9.3
 Release:        0
 Summary:        An implementation of chunked, compressed, N-dimensional arrays 
for Python
 License:        MIT
 URL:            https://github.com/zarr-developers/zarr-python
 Source:         
https://files.pythonhosted.org/packages/source/z/zarr/zarr-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM zarr-pr802-fsspec-2021-07.patch -- 
gh#zarr-developers/zarr-python#802 and gh#zarr-developers/zarr-python#812
+Patch0:         zarr-pr802-fsspec-2021-07.patch
+# PATCH-FIX-UPSTREAM skip-825-TestFSStore-test_create.patch 
gh#zarr-developers/zarr-python#825 mc...@suse.com
+# Skip the failing test
+Patch1:         skip-825-TestFSStore-test_create.patch
 BuildRequires:  %{python_module setuptools >= 38.6.0}
-BuildRequires:  %{python_module setuptools_scm > 1.5.4}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # Needs full python stdlib, base is not enough
-Requires:       python >= 3.5
+Requires:       python >= 3.7
 Requires:       python-asciitree
 Requires:       python-dbm
 Requires:       python-fasteners
@@ -45,7 +49,7 @@
 BuildArch:      noarch
 # SECTION test requirements
 # Needs full python stdlib, base is not enough
-BuildRequires:  %pythons >= 3.5
+BuildRequires:  %pythons >= 3.7
 BuildRequires:  %{python_module asciitree}
 BuildRequires:  %{python_module dbm}
 BuildRequires:  %{python_module fasteners}
@@ -61,12 +65,14 @@
 An implementation of chunked, compressed, N-dimensional arrays for Python.
 
 %prep
-%setup -q -n zarr-%{version}
+%autosetup -p1 -n zarr-%{version}
 
 %build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %python_build
 
 %install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 

++++++ skip-825-TestFSStore-test_create.patch ++++++
---
 zarr/tests/test_storage.py |    1 +
 1 file changed, 1 insertion(+)

--- a/zarr/tests/test_storage.py
+++ b/zarr/tests/test_storage.py
@@ -958,6 +958,7 @@ class TestFSStore(StoreTests):
             zarr.open_group(path, mode='w', storage_options={"some": "kwargs"})
         zarr.open_array("file://" + path, mode='w', shape=(1,), dtype="f8")
 
+    @pytest.mark.skip(reason="test currently fails, 
gh#zarr-developers/zarr-python#825")
     def test_create(self):
         import zarr
         path1 = tempfile.mkdtemp()
++++++ zarr-2.8.3.tar.gz -> zarr-2.9.3.tar.gz ++++++
++++ 2183 lines of diff (skipped)

++++++ zarr-pr802-fsspec-2021-07.patch ++++++
>From ceab6b89e86857e64b04d17fb3e7118696f8258b Mon Sep 17 00:00:00 2001
From: Gregory Lee <grle...@gmail.com>
Date: Mon, 2 Aug 2021 15:11:45 -0400
Subject: [PATCH 1/2] BUG: fix FSStore.listdir when key_separator == '/'

---
 zarr/storage.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/zarr/storage.py
+++ b/zarr/storage.py
@@ -1189,7 +1189,8 @@ class FSStore(MutableMapping):
                             for file_name in self.fs.find(entry_path):
                                 file_path = os.path.join(dir_path, file_name)
                                 rel_path = file_path.split(root_path)[1]
-                                
new_children.append(rel_path.replace(os.path.sep, '.'))
+                                rel_path = rel_path.lstrip('/')
+                                new_children.append(rel_path.replace('/', '.'))
                         else:
                             new_children.append(entry)
                     return sorted(new_children)

Reply via email to