Hello community,

here is the log from the commit of package python-zipp for openSUSE:Factory 
checked in at 2019-07-30 13:04:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zipp (Old)
 and      /work/SRC/openSUSE:Factory/.python-zipp.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zipp"

Tue Jul 30 13:04:30 2019 rev:6 rq:717548 version:0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zipp/python-zipp.changes  2019-06-13 
22:38:02.320289841 +0200
+++ /work/SRC/openSUSE:Factory/.python-zipp.new.4126/python-zipp.changes        
2019-07-30 13:04:31.958400214 +0200
@@ -1,0 +2,6 @@
+Mon Jul 22 11:23:27 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 0.5.2:
+  * #7: Parent of a directory now actually returns the parent.
+
+-------------------------------------------------------------------

Old:
----
  zipp-0.5.1.tar.gz

New:
----
  zipp-0.5.2.tar.gz

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

Other differences:
------------------
++++++ python-zipp.spec ++++++
--- /var/tmp/diff_new_pack.ZEenRl/_old  2019-07-30 13:04:33.122399965 +0200
+++ /var/tmp/diff_new_pack.ZEenRl/_new  2019-07-30 13:04:33.122399965 +0200
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-zipp%{psuffix}
-Version:        0.5.1
+Version:        0.5.2
 Release:        0
 Summary:        Pathlib-compatible object wrapper for zip files
 License:        MIT

++++++ zipp-0.5.1.tar.gz -> zipp-0.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-0.5.1/CHANGES.rst new/zipp-0.5.2/CHANGES.rst
--- old/zipp-0.5.1/CHANGES.rst  2019-05-16 17:34:53.000000000 +0200
+++ new/zipp-0.5.2/CHANGES.rst  2019-07-07 23:13:42.000000000 +0200
@@ -1,3 +1,8 @@
+v0.5.2
+======
+
+#7: Parent of a directory now actually returns the parent.
+
 v0.5.1
 ======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-0.5.1/PKG-INFO new/zipp-0.5.2/PKG-INFO
--- old/zipp-0.5.1/PKG-INFO     2019-05-16 17:35:17.000000000 +0200
+++ new/zipp-0.5.2/PKG-INFO     2019-07-07 23:14:00.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zipp
-Version: 0.5.1
+Version: 0.5.2
 Summary: Backport of pathlib-compatible object wrapper for zip files
 Home-page: https://github.com/jaraco/zipp
 Author: Jason R. Coombs
@@ -35,5 +35,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Requires-Python: >=2.7
-Provides-Extra: testing
 Provides-Extra: docs
+Provides-Extra: testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-0.5.1/appveyor.yml new/zipp-0.5.2/appveyor.yml
--- old/zipp-0.5.1/appveyor.yml 2019-05-16 17:34:53.000000000 +0200
+++ new/zipp-0.5.2/appveyor.yml 2019-07-07 23:13:42.000000000 +0200
@@ -18,7 +18,7 @@
   - '%LOCALAPPDATA%\pip\Cache'
 
 test_script:
-  - "python -m pip install tox tox-venv"
+  - "python -m pip install -U tox tox-venv virtualenv"
   - "tox"
 
 version: '{build}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-0.5.1/test_zipp.py new/zipp-0.5.2/test_zipp.py
--- old/zipp-0.5.1/test_zipp.py 2019-05-16 17:34:53.000000000 +0200
+++ new/zipp-0.5.2/test_zipp.py 2019-07-07 23:13:42.000000000 +0200
@@ -170,3 +170,14 @@
             root = zipp.Path(zipfile_abcde)
             assert (root / 'a').parent.at == ''
             assert (root / 'a' / 'b').parent.at == 'a/'
+
+    def test_dir_parent(self):
+        for zipfile_abcde in self.zipfile_abcde():
+            root = zipp.Path(zipfile_abcde)
+            assert (root / 'b').parent.at == ''
+            assert (root / 'b/').parent.at == ''
+
+    def test_missing_dir_parent(self):
+        for zipfile_abcde in self.zipfile_abcde():
+            root = zipp.Path(zipfile_abcde)
+            assert (root / 'missing dir/').parent.at == ''
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-0.5.1/tox.ini new/zipp-0.5.2/tox.ini
--- old/zipp-0.5.1/tox.ini      2019-05-16 17:34:53.000000000 +0200
+++ new/zipp-0.5.2/tox.ini      2019-07-07 23:13:42.000000000 +0200
@@ -24,8 +24,7 @@
 skip_install = True
 deps =
        pep517>=0.5
-       # workaround for https://github.com/pypa/twine/issues/423
-       git+https://github.com/pypa/twine
+       twine>=1.13
        path.py
 commands =
        python -c "import path; path.Path('dist').rmtree_p()"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-0.5.1/zipp.egg-info/PKG-INFO 
new/zipp-0.5.2/zipp.egg-info/PKG-INFO
--- old/zipp-0.5.1/zipp.egg-info/PKG-INFO       2019-05-16 17:35:16.000000000 
+0200
+++ new/zipp-0.5.2/zipp.egg-info/PKG-INFO       2019-07-07 23:14:00.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zipp
-Version: 0.5.1
+Version: 0.5.2
 Summary: Backport of pathlib-compatible object wrapper for zip files
 Home-page: https://github.com/jaraco/zipp
 Author: Jason R. Coombs
@@ -35,5 +35,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Requires-Python: >=2.7
-Provides-Extra: testing
 Provides-Extra: docs
+Provides-Extra: testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zipp-0.5.1/zipp.py new/zipp-0.5.2/zipp.py
--- old/zipp-0.5.1/zipp.py      2019-05-16 17:34:53.000000000 +0200
+++ new/zipp-0.5.2/zipp.py      2019-07-07 23:13:42.000000000 +0200
@@ -159,7 +159,7 @@
 
     @property
     def parent(self):
-        parent_at = posixpath.dirname(self.at)
+        parent_at = posixpath.dirname(self.at.rstrip('/'))
         if parent_at:
             parent_at += '/'
         return self._next(parent_at)


Reply via email to