Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-zope.interface for
openSUSE:Factory checked in at 2025-01-21 21:09:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.interface (Old)
and /work/SRC/openSUSE:Factory/.python-zope.interface.new.5589 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.interface"
Tue Jan 21 21:09:44 2025 rev:42 rq:1238985 version:7.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-zope.interface/python-zope.interface.changes
2024-11-01 21:00:41.065186997 +0100
+++
/work/SRC/openSUSE:Factory/.python-zope.interface.new.5589/python-zope.interface.changes
2025-01-21 21:09:53.833546924 +0100
@@ -1,0 +2,9 @@
+Mon Jan 20 10:32:13 UTC 2025 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 7.2
+ * Add preliminary support for Python 3.14a2, this means that
+ ``.common.builtins.IByteString`` and ``.common.collections.IByteString``
are
+ no longer available from this Python version onwards as Python 3.14 dropped
+ ``collections.abc.ByteString``.
+
+-------------------------------------------------------------------
Old:
----
zope.interface-7.1.1.tar.gz
New:
----
zope.interface-7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.interface.spec ++++++
--- /var/tmp/diff_new_pack.AxKKbW/_old 2025-01-21 21:09:54.605578791 +0100
+++ /var/tmp/diff_new_pack.AxKKbW/_new 2025-01-21 21:09:54.609578956 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.interface
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
%global modname zope.interface
%{?sle15_python_module_pythons}
Name: python-zope.interface%{psuffix}
-Version: 7.1.1
+Version: 7.2
Release: 0
Summary: Interfaces for Python
License: ZPL-2.1
++++++ zope.interface-7.1.1.tar.gz -> zope.interface-7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/.manylinux-install.sh
new/zope.interface-7.2/.manylinux-install.sh
--- old/zope.interface-7.1.1/.manylinux-install.sh 2024-10-23
18:14:33.000000000 +0200
+++ new/zope.interface-7.2/.manylinux-install.sh 2024-11-28
09:45:25.000000000 +0100
@@ -34,6 +34,7 @@
*"cp311"*) echo 'py311';;
*"cp312"*) echo 'py312';;
*"cp313"*) echo 'py313';;
+ *"cp314"*) echo 'py314';;
*) echo 'py';;
esac
}
@@ -46,9 +47,15 @@
[[ "${PYBIN}" == *"cp310/"* ]] || \
[[ "${PYBIN}" == *"cp311/"* ]] || \
[[ "${PYBIN}" == *"cp312/"* ]] || \
- [[ "${PYBIN}" == *"cp313/"* ]] ; then
- "${PYBIN}/pip" install -e /io/
- "${PYBIN}/pip" wheel /io/ -w wheelhouse/
+ [[ "${PYBIN}" == *"cp313/"* ]] || \
+ [[ "${PYBIN}" == *"cp314/"* ]] ; then
+ if [[ "${PYBIN}" == *"cp314/"* ]] ; then
+ "${PYBIN}/pip" install --pre -e /io/
+ "${PYBIN}/pip" wheel /io/ --pre -w wheelhouse/
+ else
+ "${PYBIN}/pip" install -e /io/
+ "${PYBIN}/pip" wheel /io/ -w wheelhouse/
+ fi
if [ `uname -m` == 'aarch64' ]; then
cd /io/
${PYBIN}/pip install tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/CHANGES.rst
new/zope.interface-7.2/CHANGES.rst
--- old/zope.interface-7.1.1/CHANGES.rst 2024-10-23 18:17:27.000000000
+0200
+++ new/zope.interface-7.2/CHANGES.rst 2024-11-28 09:45:25.000000000 +0100
@@ -2,12 +2,22 @@
Changes
=========
+7.2 (2024-11-28)
+================
+
+- Add preliminary support for Python 3.14a2, this means that
+ ``.common.builtins.IByteString`` and ``.common.collections.IByteString`` are
+ no longer available from this Python version onwards as Python 3.14 dropped
+ ``collections.abc.ByteString``.
+
+
7.1.1 (2024-10-23)
==================
- Fix segmentation faults in `weakrefobject.c` on Python 3.12 and 3.13.
(`#323 <https://github.com/zopefoundation/zope.interface/issues/323>`_)
+
7.1.0 (2024-10-10)
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/PKG-INFO
new/zope.interface-7.2/PKG-INFO
--- old/zope.interface-7.1.1/PKG-INFO 2024-10-23 18:20:10.766535800 +0200
+++ new/zope.interface-7.2/PKG-INFO 2024-11-28 09:45:33.031415000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: zope.interface
-Version: 7.1.1
+Version: 7.2
Summary: Interfaces for Python
Home-page: https://github.com/zopefoundation/zope.interface
Author: Zope Foundation and Contributors
@@ -76,12 +76,22 @@
Changes
=========
+7.2 (2024-11-28)
+================
+
+- Add preliminary support for Python 3.14a2, this means that
+ ``.common.builtins.IByteString`` and ``.common.collections.IByteString`` are
+ no longer available from this Python version onwards as Python 3.14 dropped
+ ``collections.abc.ByteString``.
+
+
7.1.1 (2024-10-23)
==================
- Fix segmentation faults in `weakrefobject.c` on Python 3.12 and 3.13.
(`#323 <https://github.com/zopefoundation/zope.interface/issues/323>`_)
+
7.1.0 (2024-10-10)
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/pyproject.toml
new/zope.interface-7.2/pyproject.toml
--- old/zope.interface-7.1.1/pyproject.toml 2024-10-23 18:14:33.000000000
+0200
+++ new/zope.interface-7.2/pyproject.toml 2024-11-28 09:45:25.000000000
+0100
@@ -3,7 +3,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[build-system]
-requires = ["setuptools<74"]
+requires = ["setuptools < 74"]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/setup.py
new/zope.interface-7.2/setup.py
--- old/zope.interface-7.1.1/setup.py 2024-10-23 18:17:36.000000000 +0200
+++ new/zope.interface-7.2/setup.py 2024-11-28 09:45:25.000000000 +0100
@@ -31,7 +31,7 @@
from setuptools.command.build_ext import build_ext
-version = '7.1.1'
+version = '7.2'
class optional_build_ext(build_ext):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/src/zope/interface/_compat.py
new/zope.interface-7.2/src/zope/interface/_compat.py
--- old/zope.interface-7.1.1/src/zope/interface/_compat.py 2024-05-27
19:34:22.000000000 +0200
+++ new/zope.interface-7.2/src/zope/interface/_compat.py 2024-11-28
09:45:25.000000000 +0100
@@ -22,6 +22,9 @@
import sys
+PY313_OR_OLDER = sys.version_info < (3, 14)
+
+
def _normalize_name(name):
if isinstance(name, bytes):
name = str(name, 'ascii')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope.interface-7.1.1/src/zope/interface/common/builtins.py
new/zope.interface-7.2/src/zope/interface/common/builtins.py
--- old/zope.interface-7.1.1/src/zope/interface/common/builtins.py
2024-05-27 19:34:22.000000000 +0200
+++ new/zope.interface-7.2/src/zope/interface/common/builtins.py
2024-11-28 09:45:25.000000000 +0100
@@ -19,6 +19,7 @@
"""
from zope.interface import classImplements
+from zope.interface._compat import PY313_OR_OLDER
from zope.interface.common import collections
from zope.interface.common import io
from zope.interface.common import numbers
@@ -67,17 +68,18 @@
extra_classes = (str,)
-class IByteString(collections.IByteString):
- """
- Interface for immutable byte strings.
+if PY313_OR_OLDER:
+ class IByteString(collections.IByteString):
+ """
+ Interface for immutable byte strings.
- On all Python versions this is :class:`bytes`.
+ On all Python versions this is :class:`bytes`.
- Unlike :class:`zope.interface.common.collections.IByteString`
- (the parent of this interface) this does *not* include
- :class:`bytearray`.
- """
- extra_classes = (bytes,)
+ Unlike :class:`zope.interface.common.collections.IByteString`
+ (the parent of this interface) this does *not* include
+ :class:`bytearray`.
+ """
+ extra_classes = (bytes,)
class INativeString(ITextString):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope.interface-7.1.1/src/zope/interface/common/collections.py
new/zope.interface-7.2/src/zope/interface/common/collections.py
--- old/zope.interface-7.1.1/src/zope/interface/common/collections.py
2024-05-27 19:34:22.000000000 +0200
+++ new/zope.interface-7.2/src/zope/interface/common/collections.py
2024-11-28 09:45:25.000000000 +0100
@@ -38,6 +38,7 @@
from collections import UserString
from collections import abc
+from zope.interface._compat import PY313_OR_OLDER
from zope.interface.common import ABCInterface
from zope.interface.common import optional
@@ -190,13 +191,14 @@
extra_classes = (UserList,)
-class IByteString(ISequence):
- """
- This unifies `bytes` and `bytearray`.
- """
- abc = _new_in_ver(
- 'ByteString', True, (ISequence.getABC(),), (bytes, bytearray),
- )
+if PY313_OR_OLDER:
+ class IByteString(ISequence):
+ """
+ This unifies `bytes` and `bytearray`.
+ """
+ abc = _new_in_ver(
+ 'ByteString', True, (ISequence.getABC(),), (bytes, bytearray),
+ )
class ISet(ICollection):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope.interface-7.1.1/src/zope/interface/common/tests/test_builtins.py
new/zope.interface-7.2/src/zope/interface/common/tests/test_builtins.py
--- old/zope.interface-7.1.1/src/zope/interface/common/tests/test_builtins.py
2024-05-27 19:34:22.000000000 +0200
+++ new/zope.interface-7.2/src/zope/interface/common/tests/test_builtins.py
2024-11-28 09:45:25.000000000 +0100
@@ -12,6 +12,7 @@
import unittest
+from zope.interface._compat import PY313_OR_OLDER
from zope.interface.common import builtins
from . import VerifyClassMixin
@@ -24,16 +25,22 @@
pass
-add_verify_tests(TestVerifyClass, (
+VERIFY_TESTS = [
(builtins.IList, (list,)),
(builtins.ITuple, (tuple,)),
(builtins.ITextString, (str,)),
- (builtins.IByteString, (bytes,)),
(builtins.INativeString, (str,)),
(builtins.IBool, (bool,)),
(builtins.IDict, (dict,)),
(builtins.IFile, ()),
-))
+
+]
+if PY313_OR_OLDER:
+ VERIFY_TESTS.append(
+ (builtins.IByteString, (bytes,))
+ )
+
+add_verify_tests(TestVerifyClass, tuple(VERIFY_TESTS))
class TestVerifyObject(VerifyObjectMixin,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/src/zope/interface/interface.py
new/zope.interface-7.2/src/zope/interface/interface.py
--- old/zope.interface-7.1.1/src/zope/interface/interface.py 2024-10-23
18:14:33.000000000 +0200
+++ new/zope.interface-7.2/src/zope/interface/interface.py 2024-11-28
09:45:25.000000000 +0100
@@ -825,6 +825,8 @@
# __firstlineno__: Python 3.13b1+
# https://github.com/python/cpython/pull/118475
'__firstlineno__',
+ # __classdictcell__: Python 3.14
+ '__classdictcell__',
) and
aval is not _decorator_non_return # noqa W503
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/zope.interface-7.1.1/src/zope.interface.egg-info/PKG-INFO
new/zope.interface-7.2/src/zope.interface.egg-info/PKG-INFO
--- old/zope.interface-7.1.1/src/zope.interface.egg-info/PKG-INFO
2024-10-23 18:20:10.000000000 +0200
+++ new/zope.interface-7.2/src/zope.interface.egg-info/PKG-INFO 2024-11-28
09:45:32.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: zope.interface
-Version: 7.1.1
+Version: 7.2
Summary: Interfaces for Python
Home-page: https://github.com/zopefoundation/zope.interface
Author: Zope Foundation and Contributors
@@ -76,12 +76,22 @@
Changes
=========
+7.2 (2024-11-28)
+================
+
+- Add preliminary support for Python 3.14a2, this means that
+ ``.common.builtins.IByteString`` and ``.common.collections.IByteString`` are
+ no longer available from this Python version onwards as Python 3.14 dropped
+ ``collections.abc.ByteString``.
+
+
7.1.1 (2024-10-23)
==================
- Fix segmentation faults in `weakrefobject.c` on Python 3.12 and 3.13.
(`#323 <https://github.com/zopefoundation/zope.interface/issues/323>`_)
+
7.1.0 (2024-10-10)
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/zope.interface-7.1.1/tox.ini
new/zope.interface-7.2/tox.ini
--- old/zope.interface-7.1.1/tox.ini 2024-10-23 18:14:33.000000000 +0200
+++ new/zope.interface-7.2/tox.ini 2024-11-28 09:45:25.000000000 +0100
@@ -10,13 +10,16 @@
py311,py311-pure
py312,py312-pure
py313,py313-pure
+ py314,py314-pure
pypy3
docs
coverage
[testenv]
+pip_pre = py314: true
deps =
- setuptools <74
+ setuptools < 74
+ Sphinx
setenv =
pure: PURE_PYTHON=1
!pure-!pypy3: PURE_PYTHON=0
@@ -55,7 +58,7 @@
basepython = python3
skip_install = true
deps =
- setuptools <74
+ setuptools < 74
twine
build
check-manifest