Zope.interface

Latest version: v6.4.post2

Safety actively analyzes 638379 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

4.0.3

==================

- Fleshed out PyPI Trove classifiers.

4.0.2

==================

- Add support for Python 3.3.

- Restored ability to install the package in the absence of ``setuptools``.

- LP 1055223: Fix test which depended on dictionary order and failed randomly
in Python 3.3.

4.0.1

==================

- Drop explicit ``DeprecationWarnings`` for "class advice" APIS (these
APIs are still deprecated under Python 2.x, and still raise an exception
under Python 3.x, but no longer cause a warning to be emitted under
Python 2.x).

4.0.0

==================

- Automated build of Sphinx HTML docs and running doctest snippets via tox.

- Deprecate the "class advice" APIs from ``zope.interface.declarations``:
``implements``, ``implementsOnly``, and ``classProvides``. In their place,
prefer the equivalent class decorators: ``implementer``,
``implementer_only``, and ``provider``. Code which uses the deprecated
APIs will not work as expected under Py3k.

- Remove use of '2to3' and associated fixers when installing under Py3k.
The code is now in a "compatible subset" which supports Python 2.6, 2.7,
and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language
spec).

- Drop explicit support for Python 2.4 / 2.5 / 3.1.

- Add support for PyPy.

- Add support for continuous integration using ``tox`` and ``jenkins``.

- Add 'setup.py dev' alias (runs ``setup.py develop`` plus installs
``nose`` and ``coverage``).

- Add 'setup.py docs' alias (installs ``Sphinx`` and dependencies).

- Replace all unittest coverage previously accomplished via doctests with
unittests. The doctests have been moved into a ``docs`` section, managed
as a Sphinx collection.

- LP 910987: Ensure that the semantics of the ``lookup`` method of
``zope.interface.adapter.LookupBase`` are the same in both the C and
Python implementations.

- LP 900906: Avoid exceptions due to tne new ``__qualname__`` attribute
added in Python 3.3 (see PEP 3155 for rationale). Thanks to Antoine
Pitrou for the patch.

3.8.0

==================

- New module ``zope.interface.registry``. This is code moved from
``zope.component.registry`` which implements a basic nonperistent component
registry as ``zope.interface.registry.Components``. This class was moved
from ``zope.component`` to make porting systems (such as Pyramid) that rely
only on a basic component registry to Python 3 possible without needing to
port the entirety of the ``zope.component`` package. Backwards
compatibility import shims have been left behind in ``zope.component``, so
this change will not break any existing code.

- New ``tests_require`` dependency: ``zope.event`` to test events sent by
Components implementation. The ``zope.interface`` package does not have a
hard dependency on ``zope.event``, but if ``zope.event`` is importable, it
will send component registration events when methods of an instance of
``zope.interface.registry.Components`` are called.

- New interfaces added to support ``zope.interface.registry.Components``
addition: ``ComponentLookupError``, ``Invalid``, ``IObjectEvent``,
``ObjectEvent``, ``IComponentLookup``, ``IRegistration``,
``IUtilityRegistration``, ``IAdapterRegistration``,
``ISubscriptionAdapterRegistration``, ``IHandlerRegistration``,
``IRegistrationEvent``, ``RegistrationEvent``, ``IRegistered``,
``Registered``, ``IUnregistered``, ``Unregistered``,
``IComponentRegistry``, and ``IComponents``.

- No longer Python 2.4 compatible (tested under 2.5, 2.6, 2.7, and 3.2).

3.7.0

==================

- Move changes from 3.6.2 - 3.6.5 to a new 3.7.x release line.

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.