Commit 2722d446 authored by Chris McDonough's avatar Chris McDonough

- Break runtime dependency on ``zope.app.dependable`` by using a zcml

  condition on the qsubscriber ZCML directive that registers the
  CheckDependency handler for IObjectRemovedEvent.  If
  ``zope.app.dependable`` is not installed, this subscriber will never
  be registered.  ``zope.app.dependable`` is now a testing dependency
  only.
parent dce350bb
......@@ -11,6 +11,13 @@ CHANGES
dependencies on zope.traversing are currently interface
dependencies.
- Break runtime dependency on ``zope.app.dependable`` by using a zcml
condition on the qsubscriber ZCML directive that registers the
CheckDependency handler for IObjectRemovedEvent. If
``zope.app.dependable`` is not installed, this subscriber will never
be registered. ``zope.app.dependable`` is now a testing dependency
only.
3.8.1 (2009-04-03)
------------------
......
......@@ -61,6 +61,7 @@ setup(name='zope.container',
test=['zope.copypastemove',
'zope.app.testing',
'zope.app.component',
'zope.app.dependable',
]),
install_requires=['setuptools',
'zope.interface',
......@@ -78,7 +79,6 @@ setup(name='zope.container',
'zope.traversing',
'zope.publisher',
'zope.broken',
'zope.app.dependable',
'ZODB3',
],
include_package_data = True,
......
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="zope"
>
......@@ -56,6 +57,7 @@
/>
<subscriber
zcml:condition="installed zope.app.dependable"
handler=".dependency.CheckDependency"
for="zope.container.interfaces.IObjectRemovedEvent"
trusted="y"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment