Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zipp for openSUSE:Factory 
checked in at 2022-05-31 15:46:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zipp (Old)
 and      /work/SRC/openSUSE:Factory/.python-zipp.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zipp"

Tue May 31 15:46:46 2022 rev:15 rq:979729 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zipp/python-zipp.changes  2022-01-11 
21:20:32.093012224 +0100
+++ /work/SRC/openSUSE:Factory/.python-zipp.new.1548/python-zipp.changes        
2022-05-31 15:46:47.579964746 +0200
@@ -1,0 +2,6 @@
+Sun May 29 19:02:36 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 3.8.0:
+  * Removed compatibility code. 
+
+-------------------------------------------------------------------

Old:
----
  zipp-3.7.0.tar.gz

New:
----
  zipp-3.8.0.tar.gz

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

Other differences:
------------------
++++++ python-zipp.spec ++++++
--- /var/tmp/diff_new_pack.NAGdGC/_old  2022-05-31 15:46:50.915966960 +0200
+++ /var/tmp/diff_new_pack.NAGdGC/_new  2022-05-31 15:46:50.919966963 +0200
@@ -28,7 +28,7 @@
 %bcond_with test
 %endif
 Name:           python-zipp%{psuffix}
-Version:        3.7.0
+Version:        3.8.0
 Release:        0
 Summary:        Pathlib-compatible object wrapper for zip files
 License:        MIT
@@ -54,6 +54,7 @@
 
 %prep
 %setup -q -n zipp-%{version}
+echo "import setuptools; setuptools.setup()" > setup.py
 # we don't need the extensions for smoke testing
 rm -f pytest.ini
 

++++++ zipp-3.7.0.tar.gz -> zipp-3.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/.pre-commit-config.yaml 
new/zipp-3.8.0/.pre-commit-config.yaml
--- old/zipp-3.7.0/.pre-commit-config.yaml      2021-12-31 01:01:49.000000000 
+0100
+++ new/zipp-3.8.0/.pre-commit-config.yaml      2022-04-03 17:06:43.000000000 
+0200
@@ -1,5 +1,5 @@
 repos:
 - repo: https://github.com/psf/black
-  rev: 20.8b1
+  rev: 22.1.0
   hooks:
   - id: black
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/CHANGES.rst new/zipp-3.8.0/CHANGES.rst
--- old/zipp-3.7.0/CHANGES.rst  2021-12-31 01:01:49.000000000 +0100
+++ new/zipp-3.8.0/CHANGES.rst  2022-04-03 17:06:43.000000000 +0200
@@ -1,3 +1,8 @@
+v3.8.0
+======
+
+Removed compatibility code.
+
 v3.7.0
 ======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/PKG-INFO new/zipp-3.8.0/PKG-INFO
--- old/zipp-3.7.0/PKG-INFO     2021-12-31 01:02:09.172931400 +0100
+++ new/zipp-3.8.0/PKG-INFO     2022-04-03 17:07:12.658312300 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zipp
-Version: 3.7.0
+Version: 3.8.0
 Summary: Backport of pathlib-compatible object wrapper for zip files
 Home-page: https://github.com/jaraco/zipp
 Author: Jason R. Coombs
@@ -36,7 +36,7 @@
 .. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
 ..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
 
-.. image:: https://img.shields.io/badge/skeleton-2021-informational
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
    :target: https://blog.jaraco.com/skeleton
 
 
@@ -44,3 +44,29 @@
 `Path object <https://docs.python.org/3.8/library/zipfile.html#path-objects>`_.
 
 
+Compatibility
+=============
+
+New features are introduced in this third-party library and later merged
+into CPython. The following table indicates which versions of this library
+were contributed to different versions in the standard library:
+
+.. list-table::
+   :header-rows: 1
+
+   * - zipp
+     - stdlib
+   * - 3.5
+     - 3.11
+   * - 3.3
+     - 3.9
+   * - 1.0
+     - 3.8
+
+
+Usage
+=====
+
+Use ``zipp.Path`` in place of ``zipfile.Path`` on any Python.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/README.rst new/zipp-3.8.0/README.rst
--- old/zipp-3.7.0/README.rst   2021-12-31 01:01:49.000000000 +0100
+++ new/zipp-3.8.0/README.rst   2022-04-03 17:06:43.000000000 +0200
@@ -17,9 +17,35 @@
 .. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
 ..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
 
-.. image:: https://img.shields.io/badge/skeleton-2021-informational
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
    :target: https://blog.jaraco.com/skeleton
 
 
 A pathlib-compatible Zipfile object wrapper. Official backport of the standard 
library
 `Path object <https://docs.python.org/3.8/library/zipfile.html#path-objects>`_.
+
+
+Compatibility
+=============
+
+New features are introduced in this third-party library and later merged
+into CPython. The following table indicates which versions of this library
+were contributed to different versions in the standard library:
+
+.. list-table::
+   :header-rows: 1
+
+   * - zipp
+     - stdlib
+   * - 3.5
+     - 3.11
+   * - 3.3
+     - 3.9
+   * - 1.0
+     - 3.8
+
+
+Usage
+=====
+
+Use ``zipp.Path`` in place of ``zipfile.Path`` on any Python.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/pytest.ini new/zipp-3.8.0/pytest.ini
--- old/zipp-3.7.0/pytest.ini   2021-12-31 01:01:49.000000000 +0100
+++ new/zipp-3.8.0/pytest.ini   2022-04-03 17:06:43.000000000 +0200
@@ -5,3 +5,13 @@
 filterwarnings=
        # Suppress deprecation warning in flake8
        ignore:SelectableGroups dict interface is deprecated::flake8
+
+       # shopkeep/pytest-black#55
+       ignore:<class 'pytest_black.BlackItem'> is not using a cooperative 
constructor:pytest.PytestDeprecationWarning
+       ignore:The \(fspath. py.path.local\) argument to BlackItem is 
deprecated.:pytest.PytestDeprecationWarning
+       ignore:BlackItem is an Item subclass and should not be a 
collector:pytest.PytestWarning
+
+       # tholo/pytest-flake8#83
+       ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative 
constructor:pytest.PytestDeprecationWarning
+       ignore:The \(fspath. py.path.local\) argument to Flake8Item is 
deprecated.:pytest.PytestDeprecationWarning
+       ignore:Flake8Item is an Item subclass and should not be a 
collector:pytest.PytestWarning
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/setup.cfg new/zipp-3.8.0/setup.cfg
--- old/zipp-3.7.0/setup.cfg    2021-12-31 01:02:09.172931400 +0100
+++ new/zipp-3.8.0/setup.cfg    2022-04-03 17:07:12.658312300 +0200
@@ -34,7 +34,7 @@
        pytest-black >= 0.3.7; \
        python_implementation != "PyPy"
        pytest-cov
-       pytest-mypy; \
+       pytest-mypy >= 0.9.1; \
        python_implementation != "PyPy"
        pytest-enabler >= 1.0.1
        
@@ -42,7 +42,7 @@
        func-timeout
 docs = 
        sphinx
-       jaraco.packaging >= 8.2
+       jaraco.packaging >= 9
        rst.linker >= 1.9
 
 [options.entry_points]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/setup.py new/zipp-3.8.0/setup.py
--- old/zipp-3.7.0/setup.py     2021-12-31 01:01:49.000000000 +0100
+++ new/zipp-3.8.0/setup.py     1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!/usr/bin/env python
-
-import setuptools
-
-if __name__ == "__main__":
-    setuptools.setup()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/test_zipp.py new/zipp-3.8.0/test_zipp.py
--- old/zipp-3.7.0/test_zipp.py 2021-12-31 01:01:49.000000000 +0100
+++ new/zipp-3.8.0/test_zipp.py 2022-04-03 17:06:43.000000000 +0200
@@ -272,7 +272,7 @@
         (baz,) = (root / 'bar').iterdir()
         assert baz.read_text() == 'baz'
 
-    HUGE_ZIPFILE_NUM_ENTRIES = 2 ** 13
+    HUGE_ZIPFILE_NUM_ENTRIES = 2**13
 
     def huge_zipfile(self):
         """Create a read-only zipfile with a huge number of entries entries."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/zipp.egg-info/PKG-INFO 
new/zipp-3.8.0/zipp.egg-info/PKG-INFO
--- old/zipp-3.7.0/zipp.egg-info/PKG-INFO       2021-12-31 01:02:09.000000000 
+0100
+++ new/zipp-3.8.0/zipp.egg-info/PKG-INFO       2022-04-03 17:07:11.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zipp
-Version: 3.7.0
+Version: 3.8.0
 Summary: Backport of pathlib-compatible object wrapper for zip files
 Home-page: https://github.com/jaraco/zipp
 Author: Jason R. Coombs
@@ -36,7 +36,7 @@
 .. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
 ..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
 
-.. image:: https://img.shields.io/badge/skeleton-2021-informational
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
    :target: https://blog.jaraco.com/skeleton
 
 
@@ -44,3 +44,29 @@
 `Path object <https://docs.python.org/3.8/library/zipfile.html#path-objects>`_.
 
 
+Compatibility
+=============
+
+New features are introduced in this third-party library and later merged
+into CPython. The following table indicates which versions of this library
+were contributed to different versions in the standard library:
+
+.. list-table::
+   :header-rows: 1
+
+   * - zipp
+     - stdlib
+   * - 3.5
+     - 3.11
+   * - 3.3
+     - 3.9
+   * - 1.0
+     - 3.8
+
+
+Usage
+=====
+
+Use ``zipp.Path`` in place of ``zipfile.Path`` on any Python.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/zipp.egg-info/SOURCES.txt 
new/zipp-3.8.0/zipp.egg-info/SOURCES.txt
--- old/zipp-3.7.0/zipp.egg-info/SOURCES.txt    2021-12-31 01:02:09.000000000 
+0100
+++ new/zipp-3.8.0/zipp.egg-info/SOURCES.txt    2022-04-03 17:07:12.000000000 
+0200
@@ -11,7 +11,6 @@
 pyproject.toml
 pytest.ini
 setup.cfg
-setup.py
 test_zipp.py
 tox.ini
 zipp.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/zipp.egg-info/requires.txt 
new/zipp-3.8.0/zipp.egg-info/requires.txt
--- old/zipp-3.7.0/zipp.egg-info/requires.txt   2021-12-31 01:02:09.000000000 
+0100
+++ new/zipp-3.8.0/zipp.egg-info/requires.txt   2022-04-03 17:07:12.000000000 
+0200
@@ -1,7 +1,7 @@
 
 [docs]
 sphinx
-jaraco.packaging>=8.2
+jaraco.packaging>=9
 rst.linker>=1.9
 
 [testing]
@@ -15,4 +15,4 @@
 
 [testing:platform_python_implementation != "PyPy"]
 pytest-black>=0.3.7
-pytest-mypy
+pytest-mypy>=0.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-3.7.0/zipp.py new/zipp-3.8.0/zipp.py
--- old/zipp-3.7.0/zipp.py      2021-12-31 01:01:49.000000000 +0100
+++ new/zipp-3.8.0/zipp.py      2022-04-03 17:06:43.000000000 +0200
@@ -3,14 +3,8 @@
 import zipfile
 import itertools
 import contextlib
-import sys
 import pathlib
 
-if sys.version_info < (3, 7):
-    from collections import OrderedDict
-else:
-    OrderedDict = dict
-
 
 __all__ = ['Path']
 
@@ -56,7 +50,7 @@
         path, tail = posixpath.split(path)
 
 
-_dedupe = OrderedDict.fromkeys
+_dedupe = dict.fromkeys
 """Deduplicate an iterable in original order"""
 
 
@@ -107,7 +101,7 @@
             return source
 
         if not isinstance(source, zipfile.ZipFile):
-            return cls(_pathlib_compat(source))
+            return cls(source)
 
         # Only allow for FastLookup when supplied zipfile is read-only
         if 'r' not in source.mode:
@@ -136,17 +130,6 @@
         return self.__lookup
 
 
-def _pathlib_compat(path):
-    """
-    For path-like objects, convert to a filename for compatibility
-    on Python 3.6.1 and earlier.
-    """
-    try:
-        return path.__fspath__()
-    except AttributeError:
-        return str(path)
-
-
 class Path:
     """
     A pathlib-compatible interface for zip files.
@@ -314,7 +297,7 @@
         return self.__repr.format(self=self)
 
     def joinpath(self, *other):
-        next = posixpath.join(self.at, *map(_pathlib_compat, other))
+        next = posixpath.join(self.at, *other)
         return self._next(self.root.resolve_dir(next))
 
     __truediv__ = joinpath

Reply via email to