Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zope.testrunner for 
openSUSE:Factory checked in at 2023-12-11 21:49:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.testrunner (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.testrunner.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.testrunner"

Mon Dec 11 21:49:45 2023 rev:20 rq:1132429 version:6.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.testrunner/python-zope.testrunner.changes
    2023-06-12 15:24:27.526344669 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.testrunner.new.25432/python-zope.testrunner.changes
 2023-12-11 21:49:48.917892572 +0100
@@ -1,0 +2,8 @@
+Mon Dec 11 08:13:01 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 6.2:
+  * Add support for Python 3.12.
+  * Update code and tests to ``python-subunit >= 1.4.3`` thus
+    requiring at least this version.
+
+-------------------------------------------------------------------

Old:
----
  zope.testrunner-6.0.tar.gz

New:
----
  zope.testrunner-6.2.tar.gz

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

Other differences:
------------------
++++++ python-zope.testrunner.spec ++++++
--- /var/tmp/diff_new_pack.LD1g0L/_old  2023-12-11 21:49:50.665957307 +0100
+++ /var/tmp/diff_new_pack.LD1g0L/_new  2023-12-11 21:49:50.669957456 +0100
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-zope.testrunner
-Version:        6.0
+Version:        6.2
 Release:        0
 Summary:        Zope testrunner script
 License:        ZPL-2.1

++++++ zope.testrunner-6.0.tar.gz -> zope.testrunner-6.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/.readthedocs.yaml 
new/zope.testrunner-6.2/.readthedocs.yaml
--- old/zope.testrunner-6.0/.readthedocs.yaml   2023-03-28 09:18:17.000000000 
+0200
+++ new/zope.testrunner-6.2/.readthedocs.yaml   2023-11-08 08:20:24.000000000 
+0100
@@ -1,10 +1,25 @@
+# Generated from:
+# https://github.com/zopefoundation/meta/tree/master/config/pure-python
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
 version: 2
 
+# Set the version of Python and other tools you might need
 build:
-  os: "ubuntu-20.04"
+  os: ubuntu-22.04
   tools:
-    python: "3.8"
+    python: "3.11"
+
+# Build documentation in the docs/ directory with Sphinx
+sphinx:
+  configuration: docs/conf.py
 
+# We recommend specifying your dependencies to enable reproducible builds:
+# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
 python:
-   install:
-   - requirements: doc-requirements.txt
+  install:
+  - requirements: docs/requirements.txt
+  - method: pip
+    path: .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/CHANGES.rst 
new/zope.testrunner-6.2/CHANGES.rst
--- old/zope.testrunner-6.0/CHANGES.rst 2023-03-28 09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/CHANGES.rst 2023-11-08 08:20:24.000000000 +0100
@@ -2,6 +2,22 @@
  zope.testrunner Changelog
 ===========================
 
+6.2 (2023-11-08)
+================
+
+- Add support for Python 3.12.
+
+- Update code and tests to ``python-subunit >= 1.4.3`` thus requiring at least
+  this version.
+
+
+6.1 (2023-08-26)
+================
+
+- Add preliminary support for Python 3.12b4.
+  (`#149 <https://github.com/zopefoundation/zope.testrunner/issues/149>`_)
+
+
 6.0 (2023-03-28)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/PKG-INFO 
new/zope.testrunner-6.2/PKG-INFO
--- old/zope.testrunner-6.0/PKG-INFO    2023-03-28 09:18:18.029008900 +0200
+++ new/zope.testrunner-6.2/PKG-INFO    2023-11-08 08:20:24.685677500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.testrunner
-Version: 6.0
+Version: 6.2
 Summary: Zope testrunner script.
 Home-page: https://github.com/zopefoundation/zope.testrunner
 Author: Zope Foundation and Contributors
@@ -19,15 +19,24 @@
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Software Development :: Testing
 Requires-Python: >=3.7
+License-File: LICENSE.md
+Requires-Dist: setuptools
+Requires-Dist: zope.exceptions
+Requires-Dist: zope.interface
 Provides-Extra: test
+Requires-Dist: zope.testing; extra == "test"
 Provides-Extra: subunit
+Requires-Dist: python-subunit>=1.4.3; extra == "subunit"
+Requires-Dist: testtools>=0.9.30; extra == "subunit"
 Provides-Extra: docs
-License-File: LICENSE.md
+Requires-Dist: Sphinx; extra == "docs"
+Requires-Dist: sphinxcontrib-programoutput; extra == "docs"
 
 =================
  zope.testrunner
@@ -209,6 +218,22 @@
  zope.testrunner Changelog
 ===========================
 
+6.2 (2023-11-08)
+================
+
+- Add support for Python 3.12.
+
+- Update code and tests to ``python-subunit >= 1.4.3`` thus requiring at least
+  this version.
+
+
+6.1 (2023-08-26)
+================
+
+- Add preliminary support for Python 3.12b4.
+  (`#149 <https://github.com/zopefoundation/zope.testrunner/issues/149>`_)
+
+
 6.0 (2023-03-28)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/doc-requirements.txt 
new/zope.testrunner-6.2/doc-requirements.txt
--- old/zope.testrunner-6.0/doc-requirements.txt        2023-03-28 
09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/doc-requirements.txt        1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-.[docs]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/docs/index.rst 
new/zope.testrunner-6.2/docs/index.rst
--- old/zope.testrunner-6.0/docs/index.rst      2023-03-28 09:18:17.000000000 
+0200
+++ new/zope.testrunner-6.2/docs/index.rst      2023-11-08 08:20:24.000000000 
+0100
@@ -10,8 +10,8 @@
         :target: https://pypi.org/project/zope.testrunner/
         :alt: Supported Python versions
 
-.. image:: 
https://travis-ci.org/zopefoundation/zope.testrunner.svg?branch=master
-        :target: https://travis-ci.org/zopefoundation/zope.testrunner
+.. image:: 
https://github.com/zopefoundation/zope.testrunner/actions/workflows/tests.yml/badge.svg
+        :target: 
https://github.com/zopefoundation/zope.testrunner/actions/workflows/tests.yml
 
 .. image:: 
https://coveralls.io/repos/github/zopefoundation/zope.testrunner/badge.svg?branch=master
         :target: 
https://coveralls.io/github/zopefoundation/zope.testrunner?branch=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/docs/requirements.txt 
new/zope.testrunner-6.2/docs/requirements.txt
--- old/zope.testrunner-6.0/docs/requirements.txt       1970-01-01 
01:00:00.000000000 +0100
+++ new/zope.testrunner-6.2/docs/requirements.txt       2023-11-08 
08:20:24.000000000 +0100
@@ -0,0 +1,3 @@
+Sphinx
+sphinxcontrib.programoutput
+zope.testrunner
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/setup.py 
new/zope.testrunner-6.2/setup.py
--- old/zope.testrunner-6.0/setup.py    2023-03-28 09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/setup.py    2023-11-08 08:20:24.000000000 +0100
@@ -23,7 +23,7 @@
 from setuptools.command.test import test
 
 
-version = '6.0'
+version = '6.2'
 
 INSTALL_REQUIRES = [
     'setuptools',
@@ -38,7 +38,7 @@
 EXTRAS_REQUIRE = {
     'test': TESTS_REQUIRE,
     'subunit': [
-        'python-subunit >= 0.0.11',
+        'python-subunit >= 1.4.3',
         'testtools >= 0.9.30',
     ],
     'docs': [
@@ -152,6 +152,7 @@
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: 3.11",
+        "Programming Language :: Python :: 3.12",
         "Programming Language :: Python :: Implementation :: CPython",
         "Programming Language :: Python :: Implementation :: PyPy",
         "Topic :: Software Development :: Libraries :: Python Modules",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/src/zope/testrunner/formatter.py 
new/zope.testrunner-6.2/src/zope/testrunner/formatter.py
--- old/zope.testrunner-6.0/src/zope/testrunner/formatter.py    2023-03-28 
09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/src/zope/testrunner/formatter.py    2023-11-08 
08:20:24.000000000 +0100
@@ -766,7 +766,7 @@
 # dependency on subunit.
 try:
     import subunit
-    from subunit.iso8601 import Utc
+    from iso8601 import UTC
     subunit.StreamResultToBytes
 except (ImportError, AttributeError):
     subunit = None
@@ -880,7 +880,7 @@
 
     def __init__(self, options, stream=None):
         if subunit is None:
-            raise Exception('Requires subunit 0.0.11 or better')
+            raise Exception('Requires python-subunit 1.4.3 or better')
         if testtools is None:
             raise Exception('Requires testtools 0.9.30 or better')
         self.options = options
@@ -893,7 +893,7 @@
         # Used to track the last layer that was set up or torn down. Either
         # None or (layer_name, last_touched_time).
         self._last_layer = None
-        self.UTC = Utc()
+        self.UTC = UTC
         # Content types used in the output.
         self.TRACEBACK_CONTENT_TYPE = ContentType(
             'text', 'x-traceback', {'language': 'python', 'charset': 'utf8'})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/src/zope/testrunner/tb_format.py 
new/zope.testrunner-6.2/src/zope/testrunner/tb_format.py
--- old/zope.testrunner-6.0/src/zope/testrunner/tb_format.py    2023-03-28 
09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/src/zope/testrunner/tb_format.py    2023-11-08 
08:20:24.000000000 +0100
@@ -43,6 +43,20 @@
         yield from it
 
 
+def _parse_value_tb(exc, value, tb):
+    # Taken straight from the traceback module code on Python 3.10, which
+    # introduced the ability to call print_exception with an exception
+    # instance as first parameter
+    if (value is None) != (tb is None):
+        raise ValueError("Both or neither of value and tb must be given")
+    if value is tb is None:
+        if exc is not None:
+            return exc, exc.__traceback__
+        else:
+            return None, None
+    return value, tb
+
+
 def format_exception(t, v, tb, limit=None, chain=None):
     if chain:
         values = _iter_chain(v, tb)
@@ -56,7 +70,8 @@
         return fmt.formatException(t, v, tb)
 
 
-def print_exception(t, v, tb, limit=None, file=None, chain=None):
+def print_exception(t, v=None, tb=None, limit=None, file=None, chain=None):
+    v, tb = _parse_value_tb(t, v, tb)
     if chain:
         values = _iter_chain(v, tb)
     else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.testrunner-6.0/src/zope/testrunner/tests/testrunner-subunit-v2.rst 
new/zope.testrunner-6.2/src/zope/testrunner/tests/testrunner-subunit-v2.rst
--- old/zope.testrunner-6.0/src/zope/testrunner/tests/testrunner-subunit-v2.rst 
2023-03-28 09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/src/zope/testrunner/tests/testrunner-subunit-v2.rst 
2023-11-08 08:20:24.000000000 +0100
@@ -32,7 +32,7 @@
     ...                eof=False, mime_type=None, route_code=None,
     ...                timestamp=None):
     ...         if (test_id, file_name) == self._last_file:
-    ...             self.stream.write(file_bytes.decode('utf-8', 'replace'))
+    ...             self.stream.write(file_bytes.tobytes().decode('utf-8', 
'replace'))
     ...             return
     ...         elif self._last_file is not None:
     ...             self.stream.write('\n')
@@ -49,7 +49,7 @@
     ...             self.stream.write('\n')
     ...         if file_name is not None:
     ...             self.stream.write('%s (%s)\n' % (file_name, mime_type))
-    ...             self.stream.write(file_bytes.decode('utf-8', 'replace'))
+    ...             self.stream.write(file_bytes.tobytes().decode('utf-8', 
'replace'))
     ...             self._last_file = (test_id, file_name)
     ...         self.stream.flush()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.testrunner-6.0/src/zope.testrunner.egg-info/PKG-INFO 
new/zope.testrunner-6.2/src/zope.testrunner.egg-info/PKG-INFO
--- old/zope.testrunner-6.0/src/zope.testrunner.egg-info/PKG-INFO       
2023-03-28 09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/src/zope.testrunner.egg-info/PKG-INFO       
2023-11-08 08:20:24.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.testrunner
-Version: 6.0
+Version: 6.2
 Summary: Zope testrunner script.
 Home-page: https://github.com/zopefoundation/zope.testrunner
 Author: Zope Foundation and Contributors
@@ -19,15 +19,24 @@
 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 :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Software Development :: Testing
 Requires-Python: >=3.7
+License-File: LICENSE.md
+Requires-Dist: setuptools
+Requires-Dist: zope.exceptions
+Requires-Dist: zope.interface
 Provides-Extra: test
+Requires-Dist: zope.testing; extra == "test"
 Provides-Extra: subunit
+Requires-Dist: python-subunit>=1.4.3; extra == "subunit"
+Requires-Dist: testtools>=0.9.30; extra == "subunit"
 Provides-Extra: docs
-License-File: LICENSE.md
+Requires-Dist: Sphinx; extra == "docs"
+Requires-Dist: sphinxcontrib-programoutput; extra == "docs"
 
 =================
  zope.testrunner
@@ -209,6 +218,22 @@
  zope.testrunner Changelog
 ===========================
 
+6.2 (2023-11-08)
+================
+
+- Add support for Python 3.12.
+
+- Update code and tests to ``python-subunit >= 1.4.3`` thus requiring at least
+  this version.
+
+
+6.1 (2023-08-26)
+================
+
+- Add preliminary support for Python 3.12b4.
+  (`#149 <https://github.com/zopefoundation/zope.testrunner/issues/149>`_)
+
+
 6.0 (2023-03-28)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.testrunner-6.0/src/zope.testrunner.egg-info/SOURCES.txt 
new/zope.testrunner-6.2/src/zope.testrunner.egg-info/SOURCES.txt
--- old/zope.testrunner-6.0/src/zope.testrunner.egg-info/SOURCES.txt    
2023-03-28 09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/src/zope.testrunner.egg-info/SOURCES.txt    
2023-11-08 08:20:24.000000000 +0100
@@ -7,7 +7,6 @@
 MANIFEST.in
 README.rst
 buildout.cfg
-doc-requirements.txt
 setup.cfg
 setup.py
 tox.ini
@@ -17,6 +16,7 @@
 docs/conf.py
 docs/getting-started.rst
 docs/index.rst
+docs/requirements.txt
 docs/testrunner-arguments.rst
 docs/testrunner-colors.rst
 docs/testrunner-coverage.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.testrunner-6.0/src/zope.testrunner.egg-info/requires.txt 
new/zope.testrunner-6.2/src/zope.testrunner.egg-info/requires.txt
--- old/zope.testrunner-6.0/src/zope.testrunner.egg-info/requires.txt   
2023-03-28 09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/src/zope.testrunner.egg-info/requires.txt   
2023-11-08 08:20:24.000000000 +0100
@@ -7,7 +7,7 @@
 sphinxcontrib-programoutput
 
 [subunit]
-python-subunit>=0.0.11
+python-subunit>=1.4.3
 testtools>=0.9.30
 
 [test]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.testrunner-6.0/tox.ini 
new/zope.testrunner-6.2/tox.ini
--- old/zope.testrunner-6.0/tox.ini     2023-03-28 09:18:17.000000000 +0200
+++ new/zope.testrunner-6.2/tox.ini     2023-11-08 08:20:24.000000000 +0100
@@ -3,41 +3,58 @@
 [tox]
 minversion = 3.18
 envlist =
+    release-check
     lint
     py37
     py38
     py39
     py310
     py311
+    py312
     pypy3
     docs
     coverage
-    py{37,38,39,310,311,py3}-subunit
+    py{37,38,39,310,311,312,py3}-subunit
 
 [testenv]
 usedevelop = true
+package = wheel
+wheel_build_env = .pkg
 deps =
+setenv =
+    py312: VIRTUALENV_PIP=23.1.2
+    py312: PIP_REQUIRE_VIRTUALENV=0
 commands =
     zope-testrunner --test-path=src {posargs:-vc}
 extras =
     test
     subunit: subunit
     coverage: subunit
-
-[testenv:lint]
+[testenv:release-check]
+description = ensure that the distribution is ready to release
 basepython = python3
 skip_install = true
+deps =
+    twine
+    build
+    check-manifest
+    check-python-versions >= 0.20.0
+    wheel
 commands =
-    isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
-    flake8 src setup.py
     check-manifest
     check-python-versions
+    python -m build --sdist --no-isolation
+    twine check dist/*
+
+[testenv:lint]
+basepython = python3
+skip_install = true
 deps =
-    check-manifest
-    check-python-versions >= 0.19.1
-    wheel
-    flake8
     isort
+    flake8
+commands =
+    isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
+    flake8 src setup.py
 
 [testenv:isort-apply]
 basepython = python3

Reply via email to