Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zope.exceptions for 
openSUSE:Factory checked in at 2024-11-17 16:39:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.exceptions (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.exceptions.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.exceptions"

Sun Nov 17 16:39:44 2024 rev:17 rq:1224451 version:5.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.exceptions/python-zope.exceptions.changes
    2024-06-14 18:58:02.482777019 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.exceptions.new.2017/python-zope.exceptions.changes
  2024-11-17 16:40:02.332341955 +0100
@@ -1,0 +2,7 @@
+Fri Nov 15 08:50:42 UTC 2024 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 5.2
+  * Drop support for Python 3.7.
+  * Add support for Python 3.13.
+
+-------------------------------------------------------------------

Old:
----
  zope.exceptions-5.1.tar.gz

New:
----
  zope.exceptions-5.2.tar.gz

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

Other differences:
------------------
++++++ python-zope.exceptions.spec ++++++
--- /var/tmp/diff_new_pack.IFp08s/_old  2024-11-17 16:40:02.740358902 +0100
+++ /var/tmp/diff_new_pack.IFp08s/_new  2024-11-17 16:40:02.744359068 +0100
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-zope.exceptions%{psuffix}
-Version:        5.1
+Version:        5.2
 Release:        0
 Summary:        Zope Exceptions
 License:        ZPL-2.1

++++++ zope.exceptions-5.1.tar.gz -> zope.exceptions-5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.exceptions-5.1/CHANGES.rst 
new/zope.exceptions-5.2/CHANGES.rst
--- old/zope.exceptions-5.1/CHANGES.rst 2024-06-07 08:26:21.000000000 +0200
+++ new/zope.exceptions-5.2/CHANGES.rst 2024-10-30 08:28:09.000000000 +0100
@@ -2,12 +2,20 @@
  zope.exceptions Changelog
 ===========================
 
+5.2 (2024-10-30)
+================
+
+- Drop support for Python 3.7.
+
+- Add support for Python 3.13.
+
+
 5.1 (2024-06-07)
 ================
 
 - Add support for Python 3.12.
 
-- Include code from PEP302 loaders in tracebacks
+- Include code from PEP302 loaders in tracebacks.
 
 
 5.0.1 (2023-07-11)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.exceptions-5.1/PKG-INFO 
new/zope.exceptions-5.2/PKG-INFO
--- old/zope.exceptions-5.1/PKG-INFO    2024-06-07 08:26:23.023732700 +0200
+++ new/zope.exceptions-5.2/PKG-INFO    2024-10-30 08:28:14.739430400 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.exceptions
-Version: 5.1
+Version: 5.2
 Summary: Zope Exceptions
 Home-page: https://github.com/zopefoundation/zope.exceptions
 Author: Zope Foundation and Contributors
@@ -15,19 +15,19 @@
 Classifier: License :: OSI Approved :: Zope Public License
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-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: Natural Language :: English
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Framework :: Zope :: 3
-Requires-Python: >=3.7
+Requires-Python: >=3.8
 License-File: LICENSE.txt
 Requires-Dist: setuptools
 Requires-Dist: zope.interface
@@ -69,12 +69,20 @@
  zope.exceptions Changelog
 ===========================
 
+5.2 (2024-10-30)
+================
+
+- Drop support for Python 3.7.
+
+- Add support for Python 3.13.
+
+
 5.1 (2024-06-07)
 ================
 
 - Add support for Python 3.12.
 
-- Include code from PEP302 loaders in tracebacks
+- Include code from PEP302 loaders in tracebacks.
 
 
 5.0.1 (2023-07-11)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.exceptions-5.1/docs/conf.py 
new/zope.exceptions-5.2/docs/conf.py
--- old/zope.exceptions-5.1/docs/conf.py        2024-06-07 08:26:21.000000000 
+0200
+++ new/zope.exceptions-5.2/docs/conf.py        2024-10-30 08:28:09.000000000 
+0100
@@ -39,7 +39,7 @@
 templates_path = ['_templates']
 
 # The suffix of source filenames.
-source_suffix = '.rst'
+source_suffix = {'.rst': 'restructuredtext'}
 
 # The encoding of source files.
 #source_encoding = 'utf-8-sig'
@@ -48,8 +48,8 @@
 master_doc = 'index'
 
 # General information about the project.
-project = u'zope.exceptions'
-copyright = u'2012, Zope Foundation contributors.'
+project = 'zope.exceptions'
+copyright = '2012-2024, Zope Foundation contributors.'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -94,7 +94,6 @@
 # A list of ignored prefixes for module index sorting.
 #modindex_common_prefix = []
 
-
 # -- Options for HTML output 
---------------------------------------------------
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
@@ -174,25 +173,24 @@
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'zopeexceptionsdoc'
 
-
 # -- Options for LaTeX output 
--------------------------------------------------
 
 latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
+    # The paper size ('letterpaper' or 'a4paper').
+    #'papersize': 'letterpaper',
 
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
+    # The font size ('10pt', '11pt' or '12pt').
+    #'pointsize': '10pt',
 
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
+    # Additional stuff for the LaTeX preamble.
+    #'preamble': '',
 }
 
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass 
[howto/manual]).
 latex_documents = [
-  ('index', 'zopeexceptions.tex', u'zope.exceptions Documentation',
-   u'Zope Foundation contributors.', 'manual'),
+    ('index', 'zopeexceptions.tex', 'zope.exceptions Documentation',
+     'Zope Foundation contributors.', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of
@@ -215,29 +213,26 @@
 # If false, no module index is generated.
 #latex_domain_indices = True
 
-
 # -- Options for manual page output 
--------------------------------------------
 
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
-man_pages = [
-    ('index', 'zopeexceptions', u'zope.exceptions Documentation',
-     [u'Zope Foundation contributors.'], 1)
-]
+man_pages = [('index', 'zopeexceptions', 'zope.exceptions Documentation',
+              ['Zope Foundation contributors.'], 1)]
 
 # If true, show URL addresses after external links.
 #man_show_urls = False
 
-
 # -- Options for Texinfo output 
------------------------------------------------
 
 # Grouping the document tree into Texinfo files. List of tuples
 # (source start file, target name, title, author,
 #  dir menu entry, description, category)
 texinfo_documents = [
-  ('index', 'zopeexceptions', u'zope.exceptions Documentation',
-   u'Zope Foundation contributors.', 'zopeexceptions', 'One line description 
of project.',
-   'Miscellaneous'),
+    ('index', 'zopeexceptions', 'zope.exceptions Documentation',
+     'Zope Foundation contributors.', 'zopeexceptions',
+     'Exceptions and implementations which are general purpose.',
+     'Miscellaneous'),
 ]
 
 # Documents to append as an appendix to all manuals.
@@ -249,6 +244,5 @@
 # How to display URL addresses: 'footnote', 'no', or 'inline'.
 #texinfo_show_urls = 'footnote'
 
-
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+intersphinx_mapping = {'python': ('http://docs.python.org/', None)}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.exceptions-5.1/setup.cfg 
new/zope.exceptions-5.2/setup.cfg
--- old/zope.exceptions-5.1/setup.cfg   2024-06-07 08:26:23.024193300 +0200
+++ new/zope.exceptions-5.2/setup.cfg   2024-10-30 08:28:14.739781900 +0100
@@ -1,6 +1,3 @@
-[bdist_wheel]
-universal = 0
-
 [flake8]
 doctests = 1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.exceptions-5.1/setup.py 
new/zope.exceptions-5.2/setup.py
--- old/zope.exceptions-5.1/setup.py    2024-06-07 08:26:21.000000000 +0200
+++ new/zope.exceptions-5.2/setup.py    2024-10-30 08:28:09.000000000 +0100
@@ -30,7 +30,7 @@
 
 setup(
     name='zope.exceptions',
-    version='5.1',
+    version='5.2',
     author='Zope Foundation and Contributors',
     author_email='zope-...@zope.dev',
     description='Zope Exceptions',
@@ -44,12 +44,12 @@
         'License :: OSI Approved :: Zope Public License',
         'Programming Language :: Python',
         'Programming Language :: Python :: 3',
-        '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',
         'Natural Language :: English',
@@ -67,7 +67,7 @@
     packages=find_packages('src'),
     package_dir={'': 'src'},
     namespace_packages=['zope'],
-    python_requires='>=3.7',
+    python_requires='>=3.8',
     install_requires=[
         'setuptools',
         'zope.interface',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.exceptions-5.1/src/zope/exceptions/__init__.py 
new/zope.exceptions-5.2/src/zope/exceptions/__init__.py
--- old/zope.exceptions-5.1/src/zope/exceptions/__init__.py     2024-06-07 
08:26:21.000000000 +0200
+++ new/zope.exceptions-5.2/src/zope/exceptions/__init__.py     2024-10-30 
08:28:09.000000000 +0100
@@ -27,16 +27,20 @@
 
 
 __all__ = [
-    'DuplicationError', 'IDuplicationError', 'UserError', 'IUserError',
-    'format_exception', 'print_exception', 'extract_stack',
+    'DuplicationError',
+    'IDuplicationError',
+    'UserError',
+    'IUserError',
+    'format_exception',
+    'print_exception',
+    'extract_stack',
 ]
 
-
 # avoid dependency on zope.security:
 try:
     import zope.security  # noqa: suppress unused import warning from flake8
-except ImportError as v:  # pragma: no cover
-    # "ImportError: No module named security"
+except ModuleNotFoundError as v:  # pragma: no cover
+    # "ModuleNotFoundError: No module named security"
     if 'security' not in str(v):
         raise
 else:  # pragma: no cover
@@ -47,6 +51,10 @@
     from zope.security.interfaces import IUnauthorized
     from zope.security.interfaces import Unauthorized
     __all__ += [
-        'IUnauthorized', 'Unauthorized', 'IForbidden', 'IForbiddenAttribute',
-        'Forbidden', 'ForbiddenAttribute',
+        'IUnauthorized',
+        'Unauthorized',
+        'IForbidden',
+        'IForbiddenAttribute',
+        'Forbidden',
+        'ForbiddenAttribute',
     ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.exceptions-5.1/src/zope/exceptions/exceptionformatter.py 
new/zope.exceptions-5.2/src/zope/exceptions/exceptionformatter.py
--- old/zope.exceptions-5.1/src/zope/exceptions/exceptionformatter.py   
2024-06-07 08:26:21.000000000 +0200
+++ new/zope.exceptions-5.2/src/zope/exceptions/exceptionformatter.py   
2024-10-30 08:28:09.000000000 +0100
@@ -95,7 +95,7 @@
         return self.escape(info)
 
     def formatTracebackInfo(self, tbi):
-        return self.formatSupplementLine('__traceback_info__: {}'.format(tbi))
+        return self.formatSupplementLine(f'__traceback_info__: {tbi}')
 
     def formatLine(self, tb=None, f=None):
         if tb and not f:
@@ -266,7 +266,7 @@
     def formatTracebackInfo(self, tbi):
         s = self.escape(tbi)
         s = s.replace('\n', self.line_sep)
-        return '__traceback_info__: {}'.format(s)
+        return f'__traceback_info__: {s}'
 
     def formatLine(self, tb=None, f=None):
         line = TextExceptionFormatter.formatLine(self, tb, f)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.exceptions-5.1/src/zope/exceptions/tests/test_exceptionformatter.py 
new/zope.exceptions-5.2/src/zope/exceptions/tests/test_exceptionformatter.py
--- 
old/zope.exceptions-5.1/src/zope/exceptions/tests/test_exceptionformatter.py    
    2024-06-07 08:26:21.000000000 +0200
+++ 
new/zope.exceptions-5.2/src/zope/exceptions/tests/test_exceptionformatter.py    
    2024-10-30 08:28:09.000000000 +0100
@@ -23,7 +23,8 @@
 from urllib.error import HTTPError
 
 
-IS_PY39_OR_GREATER = sys.version_info >= (3, 9)
+IS_PY38_OR_OLDER = sys.version_info < (3, 9)
+IS_PY312_OR_OLDER = sys.version_info < (3, 13)
 
 
 class TextExceptionFormatterTests(unittest.TestCase):
@@ -762,16 +763,20 @@
                 exec('import')</li>
             </ul><p>  File "&lt;string&gt;", line 1<br />
                 import<br />
-                     ^<br />
-            SyntaxError: invalid syntax<br />
+                      ^<br />
+            SyntaxError: Expected one or more names after 'import'<br />
             </p>""").format(
-                module='zope.exceptions.tests.test_exceptionformatter',
-                fn='test_format_exception_as_html',
+            module='zope.exceptions.tests.test_exceptionformatter',
+            fn='test_format_exception_as_html',
         )
-        if IS_PY39_OR_GREATER:  # pragma: no cover
-            # Python 3.9 moves the pointer after the statement instead to the
-            # last character of it:
-            expected = expected.replace('^<br />', ' ^<br />')
+        if IS_PY38_OR_OLDER:  # pragma: no cover
+            # Python <= 3.8 hand the pointer at the last character of the
+            # statement:
+            expected = expected.replace(' ^<br />', '^<br />')
+        if IS_PY312_OR_OLDER:  # pragma: no cover
+            # Python <= 3.12 had a different error message:
+            expected = expected.replace(
+                "Expected one or more names after 'import'", "invalid syntax")
         # HTML formatter uses Windows line endings for some reason.
         result = result.replace('\r\n', '\n')
         result = re.sub(r'line \d\d\d,', 'line ABC,', result)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.exceptions-5.1/src/zope.exceptions.egg-info/PKG-INFO 
new/zope.exceptions-5.2/src/zope.exceptions.egg-info/PKG-INFO
--- old/zope.exceptions-5.1/src/zope.exceptions.egg-info/PKG-INFO       
2024-06-07 08:26:22.000000000 +0200
+++ new/zope.exceptions-5.2/src/zope.exceptions.egg-info/PKG-INFO       
2024-10-30 08:28:14.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.exceptions
-Version: 5.1
+Version: 5.2
 Summary: Zope Exceptions
 Home-page: https://github.com/zopefoundation/zope.exceptions
 Author: Zope Foundation and Contributors
@@ -15,19 +15,19 @@
 Classifier: License :: OSI Approved :: Zope Public License
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-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: Natural Language :: English
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Framework :: Zope :: 3
-Requires-Python: >=3.7
+Requires-Python: >=3.8
 License-File: LICENSE.txt
 Requires-Dist: setuptools
 Requires-Dist: zope.interface
@@ -69,12 +69,20 @@
  zope.exceptions Changelog
 ===========================
 
+5.2 (2024-10-30)
+================
+
+- Drop support for Python 3.7.
+
+- Add support for Python 3.13.
+
+
 5.1 (2024-06-07)
 ================
 
 - Add support for Python 3.12.
 
-- Include code from PEP302 loaders in tracebacks
+- Include code from PEP302 loaders in tracebacks.
 
 
 5.0.1 (2023-07-11)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.exceptions-5.1/tox.ini 
new/zope.exceptions-5.2/tox.ini
--- old/zope.exceptions-5.1/tox.ini     2024-06-07 08:26:21.000000000 +0200
+++ new/zope.exceptions-5.2/tox.ini     2024-10-30 08:28:09.000000000 +0100
@@ -5,12 +5,12 @@
 envlist =
     release-check
     lint
-    py37
     py38
     py39
     py310
     py311
     py312
+    py313
     pypy3
     docs
     coverage
@@ -19,7 +19,10 @@
 usedevelop = true
 package = wheel
 wheel_build_env = .pkg
+pip_pre = py313: true
 deps =
+    setuptools < 69
+    Sphinx
 setenv =
     py312: VIRTUALENV_PIP=23.1.2
     py312: PIP_REQUIRE_VIRTUALENV=0
@@ -29,6 +32,7 @@
 extras =
     test
     docs
+
 [testenv:release-check]
 description = ensure that the distribution is ready to release
 basepython = python3
@@ -39,9 +43,10 @@
     check-manifest
     check-python-versions >= 0.20.0
     wheel
+commands_pre =
 commands =
     check-manifest
-    check-python-versions
+    check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
     python -m build --sdist --no-isolation
     twine check dist/*
 
@@ -78,12 +83,13 @@
     mkdir
 deps =
     coverage
+    Sphinx
 commands =
     mkdir -p {toxinidir}/parts/htmlcov
     coverage run -m zope.testrunner --test-path=src {posargs:-vc}
     coverage run -a -m sphinx -b doctest -d {envdir}/.cache/doctrees docs 
{envdir}/.cache/doctest
     coverage html --ignore-errors
-    coverage report --ignore-errors --show-missing --fail-under=100
+    coverage report --show-missing --fail-under=100
 
 [coverage:run]
 branch = True
@@ -91,6 +97,7 @@
 
 [coverage:report]
 precision = 2
+ignore_errors = True
 exclude_lines =
     pragma: no cover
     pragma: nocover

Reply via email to