Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mando for openSUSE:Factory checked in at 2026-03-17 19:04:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mando (Old) and /work/SRC/openSUSE:Factory/.python-mando.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mando" Tue Mar 17 19:04:27 2026 rev:10 rq:1339432 version:0.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mando/python-mando.changes 2024-08-29 15:44:36.180311519 +0200 +++ /work/SRC/openSUSE:Factory/.python-mando.new.8177/python-mando.changes 2026-03-17 19:06:04.604598383 +0100 @@ -1,0 +2,9 @@ +Mon Mar 16 20:47:47 UTC 2026 - Dirk Müller <[email protected]> + +- update to 0.8.2: + * Update support versions trove classifiers + * Remove funcsigs dependency + * Drop support for Python 2 and the dependency on six +- Drop python-mando-no-python2.patch, redundant for 0.8.2. + +------------------------------------------------------------------- @@ -65 +73,0 @@ - Old: ---- mando-0.7.1.tar.gz python-mando-no-python2.patch New: ---- mando-0.8.2.tar.gz ----------(Old B)---------- Old: * Drop support for Python 2 and the dependency on six - Drop python-mando-no-python2.patch, redundant for 0.8.2. ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mando.spec ++++++ --- /var/tmp/diff_new_pack.TOi1jZ/_old 2026-03-17 19:06:05.156621259 +0100 +++ /var/tmp/diff_new_pack.TOi1jZ/_new 2026-03-17 19:06:05.160621425 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-mando # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,12 @@ %{?sle15_python_module_pythons} Name: python-mando -Version: 0.7.1 +Version: 0.8.2 Release: 0 Summary: Python wrapper around argparse, a tool to create CLI apps License: MIT URL: https://mando.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/m/mando/mando-%{version}.tar.gz -# https://github.com/rubik/mando/pull/57 -Patch0: python-mando-no-python2.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} ++++++ mando-0.7.1.tar.gz -> mando-0.8.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/PKG-INFO new/mando-0.8.2/PKG-INFO --- old/mando-0.7.1/PKG-INFO 2022-02-24 09:12:20.068276400 +0100 +++ new/mando-0.8.2/PKG-INFO 2024-10-20 22:49:00.829429600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: mando -Version: 0.7.1 +Version: 0.8.2 Summary: Create Python CLI apps with little to no effort at all! Home-page: https://mando.readthedocs.org/ Download-URL: https://pypi.python.org/mando/ @@ -16,24 +16,26 @@ Classifier: Natural Language :: English Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.1 -Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Utilities -Provides-Extra: restructuredText License-File: LICENSE +Provides-Extra: restructuredtext +Requires-Dist: rst2ansi; extra == "restructuredtext" mando: CLI interfaces for Humans! ================================= @@ -241,5 +243,3 @@ styles (Sphinx, Google and NumPy), supports shell autocompletion via the ``argcomplete`` package and supports custom format classes. For a complete documentation, visit https://mando.readthedocs.org/. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/docs/conf.py new/mando-0.8.2/docs/conf.py --- old/mando-0.7.1/docs/conf.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/docs/conf.py 2024-10-20 22:48:13.000000000 +0200 @@ -46,8 +46,8 @@ master_doc = 'index' # General information about the project. -project = u'mando' -copyright = u'2013, Michele Lacchia' +project = 'mando' +copyright = '2013, Michele Lacchia' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -199,8 +199,8 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'mando.tex', u'mando Documentation', - u'Michele Lacchia', 'manual'), + ('index', 'mando.tex', 'mando Documentation', + 'Michele Lacchia', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -229,8 +229,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'mando', u'mando Documentation', - [u'Michele Lacchia'], 1) + ('index', 'mando', 'mando Documentation', + ['Michele Lacchia'], 1) ] # If true, show URL addresses after external links. @@ -243,8 +243,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'mando', u'mando Documentation', - u'Michele Lacchia', 'mando', 'One line description of project.', + ('index', 'mando', 'mando Documentation', + 'Michele Lacchia', 'mando', 'One line description of project.', 'Miscellaneous'), ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/__init__.py new/mando-0.8.2/mando/__init__.py --- old/mando-0.7.1/mando/__init__.py 2022-02-24 09:11:35.000000000 +0100 +++ new/mando-0.8.2/mando/__init__.py 2024-10-20 22:48:43.000000000 +0200 @@ -1,11 +1,6 @@ -__version__ = '0.7.1' +__version__ = '0.8.2' -try: - from mando.core import Program -except ImportError as e: # pragma: no cover - # unfortunately the only workaround for Python2.6, argparse and setup.py - e.version = __version__ - raise e +from mando.core import Program main = Program() command = main.command diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/core.py new/mando-0.8.2/mando/core.py --- old/mando-0.7.1/mando/core.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/mando/core.py 2024-10-20 22:48:13.000000000 +0200 @@ -5,22 +5,19 @@ import argparse import inspect import sys +from inspect import signature from mando.napoleon import Config, GoogleDocstring, NumpyDocstring from mando.utils import (purify_doc, action_by_type, find_param_docs, split_doc, ensure_dashes, purify_kwargs) -try: - from inspect import signature -except ImportError: - from funcsigs import signature _POSITIONAL = type('_positional', (object,), {}) _DISPATCH_TO = '_dispatch_to' -class SubProgram(object): +class SubProgram: def __init__(self, parser, signatures): self.parser = parser self._subparsers = self.parser.add_subparsers() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/napoleon/__init__.py new/mando-0.8.2/mando/napoleon/__init__.py --- old/mando-0.7.1/mando/napoleon/__init__.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/mando/napoleon/__init__.py 2024-10-20 22:48:13.000000000 +0200 @@ -9,12 +9,10 @@ :license: BSD, see LICENSE for details. """ -from six import iteritems - from mando.napoleon.docstring import GoogleDocstring, NumpyDocstring -class Config(object): +class Config: """Sphinx napoleon extension settings in `conf.py`. Listed below are all the settings used by napoleon and their default @@ -252,7 +250,7 @@ def __init__(self, **settings): # type: (Any) -> None - for name, (default, rebuild) in iteritems(self._config_values): + for name, (default, rebuild) in self._config_values.items(): setattr(self, name, default) - for name, value in iteritems(settings): + for name, value in settings.items(): setattr(self, name, value) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/napoleon/docstring.py new/mando-0.8.2/mando/napoleon/docstring.py --- old/mando-0.7.1/mando/napoleon/docstring.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/mando/napoleon/docstring.py 2024-10-20 22:48:13.000000000 +0200 @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ sphinx.ext.napoleon.docstring ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11,16 +10,10 @@ :license: BSD, see LICENSE for details. """ -try: - from collections.abc import Callable -except ImportError: - from collections import Callable +from collections.abc import Callable import inspect import re -from six import string_types, u -from six.moves import range - from mando.napoleon.iterators import modify_iter from mando.napoleon.pycompat import UnicodeMixin @@ -124,7 +117,7 @@ self._name = name self._obj = obj self._opt = options - if isinstance(docstring, string_types): + if isinstance(docstring, str): docstring = docstring.splitlines() self._lines = docstring self._line_iter = modify_iter(docstring, modifier=lambda s: s.rstrip()) @@ -171,7 +164,7 @@ Unicode version of the docstring. """ - return u('\n').join(self.lines()) + return '\n'.join(self.lines()) def lines(self): # type: () -> List[unicode] @@ -323,13 +316,13 @@ def _fix_field_desc(self, desc): # type: (List[unicode]) -> List[unicode] if self._is_list(desc): - desc = [u''] + desc + desc = [''] + desc elif desc[0].endswith('::'): desc_block = desc[1:] indent = self._get_indent(desc[0]) block_indent = self._get_initial_indent(desc_block) if block_indent > indent: - desc = [u''] + desc + desc = [''] + desc else: desc = ['', desc[0]] + self._indent(desc_block, 4) return desc @@ -341,9 +334,9 @@ return ['.. %s:: %s' % (admonition, lines[0].strip()), ''] elif lines: lines = self._indent(self._dedent(lines), 3) - return [u'.. %s::' % admonition, u''] + lines + [u''] + return ['.. %s::' % admonition, ''] + lines + [''] else: - return [u'.. %s::' % admonition, u''] + return ['.. %s::' % admonition, ''] def _format_block(self, prefix, lines, padding=None): # type: (unicode, List[unicode], unicode) -> List[unicode] @@ -614,7 +607,7 @@ for _name, _, _desc in self._consume_fields(parse_type=False): lines.append('.. method:: %s' % _name) if _desc: - lines.extend([u''] + self._indent(_desc, 3)) + lines.extend([''] + self._indent(_desc, 3)) lines.append('') return lines @@ -924,7 +917,7 @@ # type: () -> bool section, underline = self._line_iter.peek(2) section = section.lower() - if section in self._sections and isinstance(underline, string_types): + if section in self._sections and isinstance(underline, str): return bool(_numpy_section_regex.match(underline)) # type: ignore elif self._directive_sections: if _directive_regex.match(section): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/napoleon/iterators.py new/mando-0.8.2/mando/napoleon/iterators.py --- old/mando-0.7.1/mando/napoleon/iterators.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/mando/napoleon/iterators.py 2024-10-20 22:48:13.000000000 +0200 @@ -14,7 +14,7 @@ import collections -class peek_iter(object): +class peek_iter: """An iterator object that supports peeking ahead. Parameters diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/napoleon/pycompat.py new/mando-0.8.2/mando/napoleon/pycompat.py --- old/mando-0.7.1/mando/napoleon/pycompat.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/mando/napoleon/pycompat.py 2024-10-20 22:48:13.000000000 +0200 @@ -1,18 +1,6 @@ -from six import PY3 +class UnicodeMixin: + """Mixin class to handle defining the proper __str__/__unicode__ + methods in Python 2 or 3.""" - -# UnicodeMixin -if PY3: - class UnicodeMixin(object): - """Mixin class to handle defining the proper __str__/__unicode__ - methods in Python 2 or 3.""" - - def __str__(self): - return self.__unicode__() -else: - class UnicodeMixin(object): - """Mixin class to handle defining the proper __str__/__unicode__ - methods in Python 2 or 3.""" - - def __str__(self): - return self.__unicode__().encode('utf8') + def __str__(self): + return self.__unicode__() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/tests/capture.py new/mando-0.8.2/mando/tests/capture.py --- old/mando-0.7.1/mando/tests/capture.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/mando/tests/capture.py 2024-10-20 22:48:13.000000000 +0200 @@ -8,12 +8,7 @@ import sys from contextlib import contextmanager - -try: - from cStringIO import StringIO -except ImportError: - from io import StringIO - +from io import StringIO @contextmanager def capture_sys_output(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando/tests/test_unicode_docstring_on_py2.py new/mando-0.8.2/mando/tests/test_unicode_docstring_on_py2.py --- old/mando-0.7.1/mando/tests/test_unicode_docstring_on_py2.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/mando/tests/test_unicode_docstring_on_py2.py 2024-10-20 22:48:13.000000000 +0200 @@ -1,6 +1,3 @@ -# This is important: it will make all literals unicode under 2.x -from __future__ import unicode_literals - import unittest from mando import Program diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando.egg-info/PKG-INFO new/mando-0.8.2/mando.egg-info/PKG-INFO --- old/mando-0.7.1/mando.egg-info/PKG-INFO 2022-02-24 09:12:20.000000000 +0100 +++ new/mando-0.8.2/mando.egg-info/PKG-INFO 2024-10-20 22:49:00.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: mando -Version: 0.7.1 +Version: 0.8.2 Summary: Create Python CLI apps with little to no effort at all! Home-page: https://mando.readthedocs.org/ Download-URL: https://pypi.python.org/mando/ @@ -16,24 +16,26 @@ Classifier: Natural Language :: English Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.1 -Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Utilities -Provides-Extra: restructuredText License-File: LICENSE +Provides-Extra: restructuredtext +Requires-Dist: rst2ansi; extra == "restructuredtext" mando: CLI interfaces for Humans! ================================= @@ -241,5 +243,3 @@ styles (Sphinx, Google and NumPy), supports shell autocompletion via the ``argcomplete`` package and supports custom format classes. For a complete documentation, visit https://mando.readthedocs.org/. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/mando.egg-info/requires.txt new/mando-0.8.2/mando.egg-info/requires.txt --- old/mando-0.7.1/mando.egg-info/requires.txt 2022-02-24 09:12:20.000000000 +0100 +++ new/mando-0.8.2/mando.egg-info/requires.txt 2024-10-20 22:49:00.000000000 +0200 @@ -1,10 +1,3 @@ -six - -[:python_version <= "2.6"] -argparse - -[:python_version <= "3.2"] -funcsigs [restructuredText] rst2ansi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mando-0.7.1/setup.py new/mando-0.8.2/setup.py --- old/mando-0.7.1/setup.py 2022-02-23 21:11:15.000000000 +0100 +++ new/mando-0.8.2/setup.py 2024-10-20 22:48:13.000000000 +0200 @@ -9,19 +9,10 @@ else: version = mando.__version__ -deps = ["six"] +deps = [] extras = {"restructuredText": ["rst2ansi"]} -sversion = tuple(setuptools.__version__.split(".")) - -if sversion > ("36", "2"): - deps += ['argparse ; python_version<="2.6"', 'funcsigs ; python_version<="3.2"'] -elif sversion > ("18", "0"): - extras[':python_version<="2.6"'] = ["argparse"] - extras[':python_version<="3.2"'] = ["funcsigs"] - - with open(os.path.join(os.path.dirname(__file__), "README.rst")) as fobj: readme = fobj.read() @@ -51,17 +42,18 @@ "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.1", - "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development",
