Zope.component

Latest version: v6.0

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

Scan your dependencies

Page 4 of 7

4.0.0

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

- Add PyPy and Python 3.2 support:

- Security support omitted until ``zope.security`` ported.

- Persistent registry support omitted until ``ZODB`` ported (or
``persistent`` factored out).

- Bring unit test coverage to 100%.

- Remove the long-deprecated ``layer`` argument to the
``zope.component.zcml.view`` and ``zope.component.zcml.resource``
ZCML directives.

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

- Got tests to run using ``setup.py test``.

- Add ``Sphinx`` documentation.

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

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

3.12.1

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

- Wrap ``with site(foo)`` in try/finally (LP768151).

3.12.0

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

- Add convenience function zope.component.hooks.site (a contextmanager),
so one can write ``with site(foo): ...``.

3.11.0

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

- Move code from ``zope.component.registry`` which implements a basic
nonperistent component registry to ``zope.interface.registry``. This code
was moved from ``zope.component`` into ``zope.interface`` 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.

- Move interfaces from ``zope.component.interfaces`` to
``zope.interface.interfaces``: ``ComponentLookupError``, ``Invalid``,
``IObjectEvent``, ``ObjectEvent``, ``IComponentLookup``, ``IRegistration``,
``IUtilityRegistration``, ``IAdapterRegistration``,
``ISubscriptionAdapterRegistration``, ``IHandlerRegistration``,
``IRegistrationEvent``, ``RegistrationEvent``, ``IRegistered``,
``Registered``, ``IUnregistered``, ``Unregistered``,
``IComponentRegistry``, and ``IComponents``. Backwards compatibility shims
left in place.

- Depend on ``zope.interface`` >= 3.8.0.

3.10.0

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

- Remove the ``docs`` extra and the ``sphinxdoc`` recipe.

- Create a ``security`` extra to move security-related dependencies out of the
``test`` extra.

- Use the new ``zope.testrunner`` package for tests.

- Add a basic test for the ``configure.zcml`` file provided.

3.9.5

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

- Fix test requirements specification.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.