[Checkins] SVN: zope.container/trunk/ - Break runtime dependency on ``zope.app.dependable`` by using a zcml
Chris McDonough
chrism at plope.com
Fri May 15 01:15:36 EDT 2009
Log message for revision 99962:
- 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.
Changed:
U zope.container/trunk/CHANGES.txt
U zope.container/trunk/setup.py
U zope.container/trunk/src/zope/container/configure.zcml
-=-
Modified: zope.container/trunk/CHANGES.txt
===================================================================
--- zope.container/trunk/CHANGES.txt 2009-05-15 03:31:59 UTC (rev 99961)
+++ zope.container/trunk/CHANGES.txt 2009-05-15 05:15:35 UTC (rev 99962)
@@ -11,6 +11,13 @@
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)
------------------
Modified: zope.container/trunk/setup.py
===================================================================
--- zope.container/trunk/setup.py 2009-05-15 03:31:59 UTC (rev 99961)
+++ zope.container/trunk/setup.py 2009-05-15 05:15:35 UTC (rev 99962)
@@ -61,6 +61,7 @@
test=['zope.copypastemove',
'zope.app.testing',
'zope.app.component',
+ 'zope.app.dependable',
]),
install_requires=['setuptools',
'zope.interface',
@@ -78,7 +79,6 @@
'zope.traversing',
'zope.publisher',
'zope.broken',
- 'zope.app.dependable',
'ZODB3',
],
include_package_data = True,
Modified: zope.container/trunk/src/zope/container/configure.zcml
===================================================================
--- zope.container/trunk/src/zope/container/configure.zcml 2009-05-15 03:31:59 UTC (rev 99961)
+++ zope.container/trunk/src/zope/container/configure.zcml 2009-05-15 05:15:35 UTC (rev 99962)
@@ -1,5 +1,6 @@
<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"
More information about the Checkins
mailing list