[Checkins] SVN: zope.formlib/trunk/ - Remove dependency on zope.app.container (use ``IAdding`` from
Chris McDonough
chrism at plope.com
Thu May 14 17:58:20 EDT 2009
Log message for revision 99959:
- Remove dependency on zope.app.container (use ``IAdding`` from
``zope.browser.interfaces``) instead. Depend on
``zope.browser>=1.1`` (the version with ``IAdding``).
Changed:
U zope.formlib/trunk/CHANGES.txt
U zope.formlib/trunk/setup.py
U zope.formlib/trunk/src/zope/formlib/form.py
-=-
Modified: zope.formlib/trunk/CHANGES.txt
===================================================================
--- zope.formlib/trunk/CHANGES.txt 2009-05-14 18:02:15 UTC (rev 99958)
+++ zope.formlib/trunk/CHANGES.txt 2009-05-14 21:58:20 UTC (rev 99959)
@@ -7,6 +7,10 @@
- Remove deprecated imports.
+- Remove dependency on zope.app.container (use ``IAdding`` from
+ ``zope.browser.interfaces``) instead. Depend on
+ ``zope.browser>=1.1`` (the version with ``IAdding``).
+
3.5.2 (2009-02-21)
==================
Modified: zope.formlib/trunk/setup.py
===================================================================
--- zope.formlib/trunk/setup.py 2009-05-14 18:02:15 UTC (rev 99958)
+++ zope.formlib/trunk/setup.py 2009-05-14 21:58:20 UTC (rev 99959)
@@ -47,7 +47,6 @@
),
install_requires=['setuptools',
'pytz',
- 'zope.app.container',
'zope.app.form',
'zope.app.pagetemplate',
'zope.component',
@@ -60,6 +59,7 @@
'zope.schema>=3.5.1',
'zope.security',
'zope.traversing',
+ 'zope.browser>=1.1',
],
include_package_data = True,
zip_safe = False,
Modified: zope.formlib/trunk/src/zope/formlib/form.py
===================================================================
--- zope.formlib/trunk/src/zope/formlib/form.py 2009-05-14 18:02:15 UTC (rev 99958)
+++ zope.formlib/trunk/src/zope/formlib/form.py 2009-05-14 21:58:20 UTC (rev 99959)
@@ -34,7 +34,7 @@
from zope.lifecycleevent import ObjectCreatedEvent, ObjectModifiedEvent
from zope.lifecycleevent import Attributes
-import zope.app.container.interfaces
+import zope.browser.interfaces
import zope.app.form.browser.interfaces
from zope.app.form.interfaces import IInputWidget, IDisplayWidget
from zope.app.form.interfaces import WidgetsError, MissingInputError
@@ -864,7 +864,7 @@
interface.implements(interfaces.IAddFormCustomization,
zope.component.interfaces.IFactory)
- component.adapts(zope.app.container.interfaces.IAdding,
+ component.adapts(zope.browser.interfaces.IAdding,
zope.publisher.interfaces.browser.IBrowserRequest)
def __init__(self, context, request):
More information about the Checkins
mailing list