Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-munch for openSUSE:Factory 
checked in at 2023-12-17 21:29:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-munch (Old)
 and      /work/SRC/openSUSE:Factory/.python-munch.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-munch"

Sun Dec 17 21:29:09 2023 rev:6 rq:1133681 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-munch/python-munch.changes        
2023-06-11 19:52:35.482186833 +0200
+++ /work/SRC/openSUSE:Factory/.python-munch.new.25432/python-munch.changes     
2023-12-17 21:29:20.075068373 +0100
@@ -1,0 +2,7 @@
+Sun Dec 17 01:56:59 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 4.0.0:
+  * Remove six dependency
+- drop python-munch-no-six.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  munch-3.0.0.tar.gz
  python-munch-no-six.patch

New:
----
  munch-4.0.0.tar.gz

BETA DEBUG BEGIN:
  Old:  * Remove six dependency
- drop python-munch-no-six.patch (upstream)
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-munch.spec ++++++
--- /var/tmp/diff_new_pack.wyKJcY/_old  2023-12-17 21:29:20.747092775 +0100
+++ /var/tmp/diff_new_pack.wyKJcY/_new  2023-12-17 21:29:20.747092775 +0100
@@ -18,15 +18,13 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-munch
-Version:        3.0.0
+Version:        4.0.0
 Release:        0
 Summary:        A dot-accessible dictionary
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/Infinidat/munch
 Source:         
https://files.pythonhosted.org/packages/source/m/munch/munch-%{version}.tar.gz
-# https://github.com/Infinidat/munch/issues/96
-Patch0:         python-munch-no-six.patch
 BuildRequires:  %{python_module pbr}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++++++ munch-3.0.0.tar.gz -> munch-4.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/CHANGELOG.md new/munch-4.0.0/CHANGELOG.md
--- old/munch-3.0.0/CHANGELOG.md        2023-05-14 14:28:32.000000000 +0200
+++ new/munch-4.0.0/CHANGELOG.md        2023-07-01 11:49:11.000000000 +0200
@@ -4,6 +4,11 @@
 Next Version
 ------------
 
+4.0.0 (2023-07-01)
+------------------
+
+* Remove six dependency
+
 3.0.0 (2023-05-14)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/ChangeLog new/munch-4.0.0/ChangeLog
--- old/munch-3.0.0/ChangeLog   2023-05-14 14:28:55.000000000 +0200
+++ new/munch-4.0.0/ChangeLog   2023-07-01 11:49:23.000000000 +0200
@@ -1,7 +1,7 @@
 CHANGES
 =======
 
-3.0.0
+4.0.0
 -----
 
-* Update changelog for 3.0.0
+* Update changelog for 4.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/PKG-INFO new/munch-4.0.0/PKG-INFO
--- old/munch-3.0.0/PKG-INFO    2023-05-14 14:28:55.100046000 +0200
+++ new/munch-4.0.0/PKG-INFO    2023-07-01 11:49:23.618900800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: munch
-Version: 3.0.0
+Version: 4.0.0
 Summary: A dot-accessible dictionary (a la JavaScript objects)
 Home-page: https://github.com/Infinidat/munch
 Author: Rotem Yaari
@@ -27,7 +27,6 @@
 Provides-Extra: yaml
 License-File: LICENSE.txt
 
-[![Build 
Status](https://travis-ci.org/Infinidat/munch.svg?branch=master)](https://travis-ci.org/Infinidat/munch)
 [![Latest 
Version](https://img.shields.io/pypi/v/munch.svg)](https://pypi.python.org/pypi/munch/)
 [![Supported Python 
versions](https://img.shields.io/pypi/pyversions/munch.svg)](https://pypi.python.org/pypi/munch/)
 
[![Downloads](https://img.shields.io/pypi/dm/munch.svg)](https://pypi.python.org/pypi/munch/)
@@ -35,6 +34,16 @@
 munch
 ==========
 
+Installation
+-------------
+
+```
+pip install munch
+```
+
+Usage
+-----
+
 munch is a fork of David Schoonover's **Bunch** package, providing similar 
functionality. 99% of the work was done by him, and the fork was made mainly 
for lack of responsiveness for fixes and maintenance on the original code.
 
 Munch is a dictionary that supports attribute-style access, a la JavaScript:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/README.md new/munch-4.0.0/README.md
--- old/munch-3.0.0/README.md   2023-05-14 14:28:32.000000000 +0200
+++ new/munch-4.0.0/README.md   2023-07-01 11:49:11.000000000 +0200
@@ -1,4 +1,3 @@
-[![Build 
Status](https://travis-ci.org/Infinidat/munch.svg?branch=master)](https://travis-ci.org/Infinidat/munch)
 [![Latest 
Version](https://img.shields.io/pypi/v/munch.svg)](https://pypi.python.org/pypi/munch/)
 [![Supported Python 
versions](https://img.shields.io/pypi/pyversions/munch.svg)](https://pypi.python.org/pypi/munch/)
 
[![Downloads](https://img.shields.io/pypi/dm/munch.svg)](https://pypi.python.org/pypi/munch/)
@@ -6,6 +5,16 @@
 munch
 ==========
 
+Installation
+-------------
+
+```
+pip install munch
+```
+
+Usage
+-----
+
 munch is a fork of David Schoonover's **Bunch** package, providing similar 
functionality. 99% of the work was done by him, and the fork was made mainly 
for lack of responsiveness for fixes and maintenance on the original code.
 
 Munch is a dictionary that supports attribute-style access, a la JavaScript:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/munch/__init__.py 
new/munch-4.0.0/munch/__init__.py
--- old/munch-3.0.0/munch/__init__.py   2023-05-14 14:28:32.000000000 +0200
+++ new/munch-4.0.0/munch/__init__.py   2023-07-01 11:49:11.000000000 +0200
@@ -21,7 +21,7 @@
     converted via Munch.to/fromDict().
 """
 
-from .python3_compat import iterkeys, iteritems, Mapping, u
+from collections.abc import Mapping
 
 try:
     # For python 3.8 and later
@@ -205,7 +205,7 @@
         return f'{self.__class__.__name__}({dict.__repr__(self)})'
 
     def __dir__(self):
-        return list(iterkeys(self))
+        return list(self.keys())
 
     def __getstate__(self):
         """ Implement a serializable interface used for pickling.
@@ -244,7 +244,7 @@
         Override built-in method to call custom __setitem__ method that may
         be defined in subclasses.
         """
-        for k, v in iteritems(dict(*args, **kwargs)):
+        for k, v in dict(*args, **kwargs).items():
             self[k] = v
 
     def get(self, k, d=None):
@@ -475,7 +475,7 @@
         # Here we finish munchifying the parts of obj that were deferred by 
pre_munchify because they
         # might be involved in a cycle
         if isinstance(obj, Mapping):
-            partial.update((k, munchify_cycles(obj[k])) for k in iterkeys(obj))
+            partial.update((k, munchify_cycles(obj[k])) for k in obj.keys())
         elif isinstance(obj, list):
             partial.extend(munchify_cycles(item) for item in obj)
         elif isinstance(obj, tuple):
@@ -537,7 +537,7 @@
         # Here we finish unmunchifying the parts of obj that were deferred by 
pre_unmunchify because they
         # might be involved in a cycle
         if isinstance(obj, Mapping):
-            partial.update((k, unmunchify_cycles(obj[k])) for k in 
iterkeys(obj))
+            partial.update((k, unmunchify_cycles(obj[k])) for k in obj.keys())
         elif isinstance(obj, list):
             partial.extend(unmunchify_cycles(v) for v in obj)
         elif isinstance(obj, tuple):
@@ -626,15 +626,15 @@
             >>> yaml.dump(b, default_flow_style=True)
             '!munch.Munch {foo: [bar, !munch.Munch {lol: true}], hello: 42}\\n'
         """
-        return dumper.represent_mapping(u('!munch.Munch'), data)
+        return dumper.represent_mapping('!munch.Munch', data)
 
     for loader_name in ("BaseLoader", "FullLoader", "SafeLoader", "Loader", 
"UnsafeLoader", "DangerLoader"):
         LoaderCls = getattr(yaml, loader_name, None)
         if LoaderCls is None:
             # This code supports both PyYAML 4.x and 5.x versions
             continue
-        yaml.add_constructor(u('!munch'), from_yaml, Loader=LoaderCls)
-        yaml.add_constructor(u('!munch.Munch'), from_yaml, Loader=LoaderCls)
+        yaml.add_constructor('!munch', from_yaml, Loader=LoaderCls)
+        yaml.add_constructor('!munch.Munch', from_yaml, Loader=LoaderCls)
 
     SafeRepresenter.add_representer(Munch, to_yaml_safe)
     SafeRepresenter.add_multi_representer(Munch, to_yaml_safe)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/munch/python3_compat.py 
new/munch-4.0.0/munch/python3_compat.py
--- old/munch-3.0.0/munch/python3_compat.py     2023-05-14 14:28:32.000000000 
+0200
+++ new/munch-4.0.0/munch/python3_compat.py     1970-01-01 01:00:00.000000000 
+0100
@@ -1,6 +0,0 @@
-from six import u, iteritems, iterkeys # pylint: disable=unused-import
-try:
-    from collections.abc import Mapping  # pylint: disable=unused-import
-except ImportError:
-    # Legacy Python
-    from collections.abc import Mapping  # pylint: disable=unused-import
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/munch.egg-info/PKG-INFO 
new/munch-4.0.0/munch.egg-info/PKG-INFO
--- old/munch-3.0.0/munch.egg-info/PKG-INFO     2023-05-14 14:28:55.000000000 
+0200
+++ new/munch-4.0.0/munch.egg-info/PKG-INFO     2023-07-01 11:49:23.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: munch
-Version: 3.0.0
+Version: 4.0.0
 Summary: A dot-accessible dictionary (a la JavaScript objects)
 Home-page: https://github.com/Infinidat/munch
 Author: Rotem Yaari
@@ -27,7 +27,6 @@
 Provides-Extra: yaml
 License-File: LICENSE.txt
 
-[![Build 
Status](https://travis-ci.org/Infinidat/munch.svg?branch=master)](https://travis-ci.org/Infinidat/munch)
 [![Latest 
Version](https://img.shields.io/pypi/v/munch.svg)](https://pypi.python.org/pypi/munch/)
 [![Supported Python 
versions](https://img.shields.io/pypi/pyversions/munch.svg)](https://pypi.python.org/pypi/munch/)
 
[![Downloads](https://img.shields.io/pypi/dm/munch.svg)](https://pypi.python.org/pypi/munch/)
@@ -35,6 +34,16 @@
 munch
 ==========
 
+Installation
+-------------
+
+```
+pip install munch
+```
+
+Usage
+-----
+
 munch is a fork of David Schoonover's **Bunch** package, providing similar 
functionality. 99% of the work was done by him, and the fork was made mainly 
for lack of responsiveness for fixes and maintenance on the original code.
 
 Munch is a dictionary that supports attribute-style access, a la JavaScript:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/munch.egg-info/SOURCES.txt 
new/munch-4.0.0/munch.egg-info/SOURCES.txt
--- old/munch-3.0.0/munch.egg-info/SOURCES.txt  2023-05-14 14:28:55.000000000 
+0200
+++ new/munch-4.0.0/munch.egg-info/SOURCES.txt  2023-07-01 11:49:23.000000000 
+0200
@@ -16,7 +16,6 @@
 .github/workflows/dependabot.yml
 .github/workflows/python-publish.yml
 munch/__init__.py
-munch/python3_compat.py
 munch.egg-info/PKG-INFO
 munch.egg-info/SOURCES.txt
 munch.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/munch.egg-info/pbr.json 
new/munch-4.0.0/munch.egg-info/pbr.json
--- old/munch-3.0.0/munch.egg-info/pbr.json     2023-05-14 14:28:55.000000000 
+0200
+++ new/munch-4.0.0/munch.egg-info/pbr.json     2023-07-01 11:49:23.000000000 
+0200
@@ -1 +1 @@
-{"git_version": "edd1669", "is_release": false}
\ No newline at end of file
+{"git_version": "ce6d843", "is_release": false}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/munch.egg-info/requires.txt 
new/munch-4.0.0/munch.egg-info/requires.txt
--- old/munch-3.0.0/munch.egg-info/requires.txt 2023-05-14 14:28:55.000000000 
+0200
+++ new/munch-4.0.0/munch.egg-info/requires.txt 2023-07-01 11:49:23.000000000 
+0200
@@ -1,4 +1,3 @@
-six
 
 [:(python_version<'3.8')]
 importlib_metadata>=1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/munch-3.0.0/requirements.txt 
new/munch-4.0.0/requirements.txt
--- old/munch-3.0.0/requirements.txt    2023-05-14 14:28:32.000000000 +0200
+++ new/munch-4.0.0/requirements.txt    2023-07-01 11:49:11.000000000 +0200
@@ -1,2 +1 @@
-six
 importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0

Reply via email to