python-zope.interface
Port variant v14
Summary Interfaces for Python (3.14)
Package version 8.7
Homepage https://github.com/zopefoundation/zope.interface
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v15
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 13 NOV 2026, 13:25:52 UTC
Port created 28 FEB 2021, 16:29:36 UTC
Subpackage Descriptions
single ==================== ``zope.interface`` ==================== :alt: Latest Version :alt: Supported Python versions :alt: Documentation Status This package is intended to be independently reusable in any Python project. It is maintained by the [Zope Toolkit project ]. This package provides an implementation of "object interfaces" for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the `Design By Contract`_ methodology support in Python. .. _Design By Contract: http://en.wikipedia.org/wiki/Design_by_contract For detailed documentation, please see https://zopeinterface.readthedocs.io/en/latest/ Change log ========== 8.7 (2026-10-15) ---------------- - Release Python 3.15 binary wheels. - Fix free-threaded (no-GIL) data races in the C lookup caches. Concurrent ``lookup() and changed()`` calls could crash while cache fields were being replaced. Their lifetimes are now guarded by a critical section on Python 3.13+. Also affects GIL builds. (`#380 `_) - Fix reference leaks in the C optimizations when the lazy import of ``zope.interface.declarations`` fails partway through. (`#363 `_) - Drop support for Python 3.10. - Remove the C optimizations' code path for static types, which was only used on Python < 3.11. (`#394 `_) 8.6 (2026-08-20) ---------------- - Add support for Python 3.15. 8.5 (2026-05-26) ---------------- - Build and upload free-threaded (cp314t, cp315t) wheels for all platforms. Expand CI testing for free-threaded Python 3.14t from Linux-only to all platforms (macOS, Windows), and add 3.15t CI. See [issue 374]. - Replace all remaining ``PyDict_GetItem()`` calls in the C extension with exception-safe alternatives (PyDict_Contains, PyDict_GetItemWithError). PyDict_GetItem silently swallows exceptions from __hash__/__eq__, causing ``isOrExtends() to return False instead of raising TypeError`` for unhashable objects. Also use ``PyType_GetDict()`` on Python 3.13+ for free-threading safety when accessing the type dict. See [issue 357]. 8.4 (2026-04-25) ---------------- - Add support for automatically building and publishing Windows/ARM64 wheels. 8.3 (2026-04-10) ---------------- - Add support for free-threaded Python 3.14t: declare Py_mod_gil_not_used in C extension, replace borrowed-reference ``PyDict_GetItem()`` with strong-reference ``PyDict_GetItemRef()`` in cache lookups, and use ``Py_TYPE() macro instead of direct ob_type`` struct access. - Add CI testing for free-threaded Python 3.14t (Linux). - Guard 4 unprotected ``PyErr_Clear() calls in the C extension with PyErr_ExceptionMatches`` checks, matching the pattern already used at 7 other sites in the same file. Without the guard, KeyboardInterrupt, MemoryError, and SystemExit are silently swallowed in implementedBy and providedBy. See [issue 358]. 8.2 (2026-01-09) ---------------- - Move all supported package metadata into ``pyproject.toml``. - Ignore __annotate_func__ added in Python 3.14b1.
Configuration Switches (platform-specific settings discarded)
PY314 ON Build using Python 3.14 PY315 OFF Build using Python 3.15
Package Dependencies by Type
Build (only) python314:dev:std
python-pip:single:v14
python-setuptools:single:v14
python-wheel:single:v14
python-build:single:v14
python-installer:single:v14
autoselect-python:single:std
Build and Runtime python314:primary:std
Download groups
main mirror://PYPI/z/zope.interface
Distribution File Information
0b47b62e8d0d99b24bcdd32f4f2120425e5019c3bee2ad69a0e1d75737487a96 266343 python-src/zope_interface-8.7.tar.gz
Ports that require python-zope.interface:v14
python-Twisted:v14 Asynchronous networking framework (3.14)