Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-zope.testing for
openSUSE:Factory checked in at 2025-10-21 11:15:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.testing (Old)
and /work/SRC/openSUSE:Factory/.python-zope.testing.new.18484 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.testing"
Tue Oct 21 11:15:00 2025 rev:16 rq:1312392 version:6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zope.testing/python-zope.testing.changes
2025-05-06 16:38:59.434054201 +0200
+++
/work/SRC/openSUSE:Factory/.python-zope.testing.new.18484/python-zope.testing.changes
2025-10-21 11:15:33.448617072 +0200
@@ -1,0 +2,7 @@
+Mon Oct 20 08:25:53 UTC 2025 - Markéta Machová <[email protected]>
+
+- Update to 6.0
+ * Replace pkg_resources namespace with PEP 420 native namespace.
+- Add py314.patch to skip tests failing with Python 3.14 (reported)
+
+-------------------------------------------------------------------
Old:
----
zope_testing-5.1.tar.gz
New:
----
py314.patch
zope_testing-6.0.tar.gz
----------(New B)----------
New: * Replace pkg_resources namespace with PEP 420 native namespace.
- Add py314.patch to skip tests failing with Python 3.14 (reported)
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.testing.spec ++++++
--- /var/tmp/diff_new_pack.98V7dn/_old 2025-10-21 11:15:34.400657082 +0200
+++ /var/tmp/diff_new_pack.98V7dn/_new 2025-10-21 11:15:34.400657082 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testing
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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,12 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-zope.testing
-Version: 5.1
+Version: 6.0
Release: 0
Summary: Zope testing helpers
License: ZPL-2.1
URL: https://pypi.python.org/pypi/zope.testing
Source:
https://files.pythonhosted.org/packages/source/z/zope.testing/zope_testing-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE https://github.com/zopefoundation/zope.testing/issues/56
doctestcase test fails on Python 3.14
+Patch0: py314.patch
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -84,7 +86,7 @@
See wait.txt.
%prep
-%setup -q -n zope_testing-%{version}
+%autosetup -p1 -n zope_testing-%{version}
%build
%pyproject_wheel
@@ -102,5 +104,4 @@
%dir %{python_sitelib}/zope
%{python_sitelib}/zope/testing
%{python_sitelib}/zope[_.]testing-%{version}.dist-info
-%{python_sitelib}/zope.testing-%{version}*-nspkg.pth
++++++ py314.patch ++++++
Index: zope_testing-6.0/src/zope/testing/tests.py
===================================================================
--- zope_testing-6.0.orig/src/zope/testing/tests.py
+++ zope_testing-6.0/src/zope/testing/tests.py
@@ -36,15 +36,17 @@ def test_suite():
doctest.DocFileSuite('wait.txt', setUp=setUp)
))
- suite.addTests(
- doctest.DocFileSuite(
- 'doctestcase.txt',
- checker=renormalizing.RENormalizing([
- # for Python 3.11+
- (re.compile(r'\(tests\.MyTest\.test.?\)'), '(tests.MyTest)'),
- (re.compile(r'\(tests.MoreTests.test_.*\)'),
- '(tests.MoreTests)')
- ])))
+ if sys.version_info[1] < 14:
+ suite.addTests(
+ doctest.DocFileSuite(
+ 'doctestcase.txt',
+ checker=renormalizing.RENormalizing([
+ # for Python 3.11+
+ (re.compile(r'\(tests\.MyTest\.test.?\)'),
'(tests.MyTest)'),
+ (re.compile(r'\(tests.MoreTests.test_.*\)'),
+ '(tests.MoreTests)')
+ ])))
+
suite.addTests(doctest.DocFileSuite('cleanup.txt'))
suite.addTests(doctest.DocFileSuite('formparser.txt', setUp=setUp))
return suite
++++++ zope_testing-5.1.tar.gz -> zope_testing-6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/.pre-commit-config.yaml
new/zope_testing-6.0/.pre-commit-config.yaml
--- old/zope_testing-5.1/.pre-commit-config.yaml 2025-02-14
11:12:26.000000000 +0100
+++ new/zope_testing-6.0/.pre-commit-config.yaml 2025-09-12
09:48:51.000000000 +0200
@@ -3,7 +3,7 @@
minimum_pre_commit_version: '3.6'
repos:
- repo: https://github.com/pycqa/isort
- rev: "6.0.0"
+ rev: "6.0.1"
hooks:
- id: isort
- repo: https://github.com/hhatto/autopep8
@@ -12,7 +12,7 @@
- id: autopep8
args: [--in-place, --aggressive, --aggressive]
- repo: https://github.com/asottile/pyupgrade
- rev: v3.19.1
+ rev: v3.20.0
hooks:
- id: pyupgrade
args: [--py39-plus]
@@ -21,7 +21,7 @@
hooks:
- id: teyit
- repo: https://github.com/PyCQA/flake8
- rev: "7.1.1"
+ rev: "7.3.0"
hooks:
- id: flake8
additional_dependencies:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/CHANGES.rst
new/zope_testing-6.0/CHANGES.rst
--- old/zope_testing-5.1/CHANGES.rst 2025-02-14 11:12:26.000000000 +0100
+++ new/zope_testing-6.0/CHANGES.rst 2025-09-12 09:48:51.000000000 +0200
@@ -2,6 +2,12 @@
Changes
=========
+6.0 (2025-09-12)
+================
+
+- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
+
+
5.1 (2025-02-14)
================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/PKG-INFO
new/zope_testing-6.0/PKG-INFO
--- old/zope_testing-5.1/PKG-INFO 2025-02-14 11:12:27.518194200 +0100
+++ new/zope_testing-6.0/PKG-INFO 2025-09-12 09:48:52.987986000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: zope.testing
-Version: 5.1
+Version: 6.0
Summary: Zope testing helpers
Home-page: https://github.com/zopefoundation/zope.testing
Author: Zope Foundation and Contributors
@@ -29,12 +29,24 @@
License-File: LICENSE.txt
Requires-Dist: setuptools
Provides-Extra: test
-Requires-Dist: zope.testrunner; extra == "test"
+Requires-Dist: zope.testrunner>=6.4; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
Requires-Dist: zope.exceptions; extra == "docs"
Requires-Dist: zope.interface; extra == "docs"
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: home-page
+Dynamic: keywords
+Dynamic: license
+Dynamic: license-file
+Dynamic: provides-extra
+Dynamic: requires-dist
+Dynamic: requires-python
+Dynamic: summary
=================
``zope.testing``
@@ -116,6 +128,12 @@
Changes
=========
+6.0 (2025-09-12)
+================
+
+- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
+
+
5.1 (2025-02-14)
================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/pyproject.toml
new/zope_testing-6.0/pyproject.toml
--- old/zope_testing-5.1/pyproject.toml 2025-02-14 11:12:26.000000000 +0100
+++ new/zope_testing-6.0/pyproject.toml 2025-09-12 09:48:51.000000000 +0200
@@ -3,7 +3,10 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[build-system]
-requires = ["setuptools <= 75.6.0"]
+requires = [
+ "setuptools == 78.1.1",
+ "wheel",
+]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
@@ -16,7 +19,16 @@
precision = 2
ignore_errors = true
show_missing = true
-exclude_lines = ["pragma: no cover", "pragma: nocover", "except ImportError:",
"raise NotImplementedError", "if __name__ == '__main__':", "self.fail", "raise
AssertionError", "raise unittest.Skip"]
+exclude_lines = [
+ "pragma: no cover",
+ "pragma: nocover",
+ "except ImportError:",
+ "raise NotImplementedError",
+ "if __name__ == '__main__':",
+ "self.fail",
+ "raise AssertionError",
+ "raise unittest.Skip",
+]
[tool.coverage.html]
directory = "parts/htmlcov"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/setup.py
new/zope_testing-6.0/setup.py
--- old/zope_testing-5.1/setup.py 2025-02-14 11:12:26.000000000 +0100
+++ new/zope_testing-6.0/setup.py 2025-09-12 09:48:51.000000000 +0200
@@ -33,7 +33,7 @@
setup(
name='zope.testing',
- version='5.1',
+ version='6.0',
url='https://github.com/zopefoundation/zope.testing',
license='ZPL-2.1',
description='Zope testing helpers',
@@ -61,19 +61,13 @@
"Topic :: Software Development :: Testing",
],
keywords=keywords,
- packages=[
- "zope",
- "zope.testing",
- ],
- package_dir={'': 'src'},
- namespace_packages=['zope'],
python_requires='>=3.9',
install_requires=[
'setuptools',
],
extras_require={
'test': [
- 'zope.testrunner',
+ 'zope.testrunner >= 6.4',
],
'docs': [
'sphinx',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/src/zope/__init__.py
new/zope_testing-6.0/src/zope/__init__.py
--- old/zope_testing-5.1/src/zope/__init__.py 2025-02-14 11:12:26.000000000
+0100
+++ new/zope_testing-6.0/src/zope/__init__.py 1970-01-01 01:00:00.000000000
+0100
@@ -1 +0,0 @@
-__import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/src/zope.testing.egg-info/PKG-INFO
new/zope_testing-6.0/src/zope.testing.egg-info/PKG-INFO
--- old/zope_testing-5.1/src/zope.testing.egg-info/PKG-INFO 2025-02-14
11:12:27.000000000 +0100
+++ new/zope_testing-6.0/src/zope.testing.egg-info/PKG-INFO 2025-09-12
09:48:52.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: zope.testing
-Version: 5.1
+Version: 6.0
Summary: Zope testing helpers
Home-page: https://github.com/zopefoundation/zope.testing
Author: Zope Foundation and Contributors
@@ -29,12 +29,24 @@
License-File: LICENSE.txt
Requires-Dist: setuptools
Provides-Extra: test
-Requires-Dist: zope.testrunner; extra == "test"
+Requires-Dist: zope.testrunner>=6.4; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: repoze.sphinx.autointerface; extra == "docs"
Requires-Dist: zope.exceptions; extra == "docs"
Requires-Dist: zope.interface; extra == "docs"
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: home-page
+Dynamic: keywords
+Dynamic: license
+Dynamic: license-file
+Dynamic: provides-extra
+Dynamic: requires-dist
+Dynamic: requires-python
+Dynamic: summary
=================
``zope.testing``
@@ -116,6 +128,12 @@
Changes
=========
+6.0 (2025-09-12)
+================
+
+- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
+
+
5.1 (2025-02-14)
================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope_testing-5.1/src/zope.testing.egg-info/SOURCES.txt
new/zope_testing-6.0/src/zope.testing.egg-info/SOURCES.txt
--- old/zope_testing-5.1/src/zope.testing.egg-info/SOURCES.txt 2025-02-14
11:12:27.000000000 +0100
+++ new/zope_testing-6.0/src/zope.testing.egg-info/SOURCES.txt 2025-09-12
09:48:52.000000000 +0200
@@ -24,11 +24,9 @@
docs/setupstack.rst
docs/wait.rst
docs/api/index.rst
-src/zope/__init__.py
src/zope.testing.egg-info/PKG-INFO
src/zope.testing.egg-info/SOURCES.txt
src/zope.testing.egg-info/dependency_links.txt
-src/zope.testing.egg-info/namespace_packages.txt
src/zope.testing.egg-info/not-zip-safe
src/zope.testing.egg-info/requires.txt
src/zope.testing.egg-info/top_level.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope_testing-5.1/src/zope.testing.egg-info/namespace_packages.txt
new/zope_testing-6.0/src/zope.testing.egg-info/namespace_packages.txt
--- old/zope_testing-5.1/src/zope.testing.egg-info/namespace_packages.txt
2025-02-14 11:12:27.000000000 +0100
+++ new/zope_testing-6.0/src/zope.testing.egg-info/namespace_packages.txt
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-zope
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope_testing-5.1/src/zope.testing.egg-info/requires.txt
new/zope_testing-6.0/src/zope.testing.egg-info/requires.txt
--- old/zope_testing-5.1/src/zope.testing.egg-info/requires.txt 2025-02-14
11:12:27.000000000 +0100
+++ new/zope_testing-6.0/src/zope.testing.egg-info/requires.txt 2025-09-12
09:48:52.000000000 +0200
@@ -7,4 +7,4 @@
zope.interface
[test]
-zope.testrunner
+zope.testrunner>=6.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope_testing-5.1/tox.ini new/zope_testing-6.0/tox.ini
--- old/zope_testing-5.1/tox.ini 2025-02-14 11:12:26.000000000 +0100
+++ new/zope_testing-6.0/tox.ini 2025-09-12 09:48:51.000000000 +0200
@@ -19,7 +19,7 @@
package = wheel
wheel_build_env = .pkg
deps =
- setuptools <= 75.6.0
+ setuptools == 78.1.1
commands =
zope-testrunner --test-path=src {posargs:-vc}
sphinx-build -b doctest -d {envdir}/.cache/doctrees docs
{envdir}/.cache/doctest
@@ -37,7 +37,8 @@
basepython = python3
skip_install = true
deps =
- setuptools <= 75.6.0
+ setuptools == 78.1.1
+ wheel
twine
build
check-manifest