[Zope-Checkins] SVN: Zope/trunk/ Another one bites the dust - Removed the dependency on zope.app.publication in favor of new versions of zope.publisher and zope.traversing.
Hanno Schlichting
hannosch at hannosch.eu
Tue Dec 15 15:09:30 EST 2009
Log message for revision 106572:
Another one bites the dust - Removed the dependency on zope.app.publication in favor of new versions of zope.publisher and zope.traversing.
Changed:
U Zope/trunk/ZOPE_APP_DEPENDENCIES.rst
U Zope/trunk/buildout.cfg
U Zope/trunk/doc/CHANGES.rst
U Zope/trunk/setup.py
U Zope/trunk/src/Products/Five/component/__init__.py
U Zope/trunk/src/Products/Five/component/configure.zcml
U Zope/trunk/src/ZPublisher/BaseRequest.py
-=-
Modified: Zope/trunk/ZOPE_APP_DEPENDENCIES.rst
===================================================================
--- Zope/trunk/ZOPE_APP_DEPENDENCIES.rst 2009-12-15 20:05:24 UTC (rev 106571)
+++ Zope/trunk/ZOPE_APP_DEPENDENCIES.rst 2009-12-15 20:09:29 UTC (rev 106572)
@@ -24,7 +24,7 @@
* Products.Five.browser.pagetemplatefile
* Products.Five.browser.metaconfigure
-- [_] zope.app.publication
+- [x] zope.app.publication
o ZPublisher.BaseRequest (imports ``EndRequestEvent``)
o Products.Five.component (imports ``BeforeTraverseEvent``;
ZCML registers subscribers for ``IBeforeTraverseEvent``
Modified: Zope/trunk/buildout.cfg
===================================================================
--- Zope/trunk/buildout.cfg 2009-12-15 20:05:24 UTC (rev 106571)
+++ Zope/trunk/buildout.cfg 2009-12-15 20:09:29 UTC (rev 106572)
@@ -98,7 +98,6 @@
zope.viewlet
zope.app.form
zope.app.pagetemplate
- zope.app.publication
zope.app.publisher
zope.app.schema
# Fetch undeclared ftests dependencies
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst 2009-12-15 20:05:24 UTC (rev 106571)
+++ Zope/trunk/doc/CHANGES.rst 2009-12-15 20:09:29 UTC (rev 106572)
@@ -11,6 +11,9 @@
Restructuring
+++++++++++++
+- Removed the dependency on zope.app.publication in favor of new versions of
+ zope.publisher and zope.traversing.
+
- Requiring Python 2.6 officially
- Changed startup server tests in Zope2 to use a randomized port number, to
Modified: Zope/trunk/setup.py
===================================================================
--- Zope/trunk/setup.py 2009-12-15 20:05:24 UTC (rev 106571)
+++ Zope/trunk/setup.py 2009-12-15 20:09:29 UTC (rev 106572)
@@ -135,7 +135,6 @@
'zope.traversing',
'zope.viewlet',
'zope.app.form',
- 'zope.app.publication',
'zope.app.schema',
],
Modified: Zope/trunk/src/Products/Five/component/__init__.py
===================================================================
--- Zope/trunk/src/Products/Five/component/__init__.py 2009-12-15 20:05:24 UTC (rev 106571)
+++ Zope/trunk/src/Products/Five/component/__init__.py 2009-12-15 20:09:29 UTC (rev 106572)
@@ -20,7 +20,7 @@
import zope.event
from zope.component.interfaces import IComponentLookup
from zope.location.interfaces import ISite, IPossibleSite
-from zope.app.publication.zopepublication import BeforeTraverseEvent
+from zope.traversing.interfaces import BeforeTraverseEvent
import ExtensionClass
from Acquisition import aq_base, aq_inner, aq_parent
Modified: Zope/trunk/src/Products/Five/component/configure.zcml
===================================================================
--- Zope/trunk/src/Products/Five/component/configure.zcml 2009-12-15 20:05:24 UTC (rev 106571)
+++ Zope/trunk/src/Products/Five/component/configure.zcml 2009-12-15 20:09:29 UTC (rev 106572)
@@ -5,12 +5,12 @@
<subscriber
for="zope.location.interfaces.ISite
- zope.app.publication.interfaces.IBeforeTraverseEvent"
+ zope.traversing.interfaces.IBeforeTraverseEvent"
handler="zope.site.site.threadSiteSubscriber"
/>
<subscriber
- for="zope.app.publication.interfaces.IEndRequestEvent"
+ for="zope.publisher.interfaces.IEndRequestEvent"
handler="zope.site.site.clearThreadSiteSubscriber"
/>
Modified: Zope/trunk/src/ZPublisher/BaseRequest.py
===================================================================
--- Zope/trunk/src/ZPublisher/BaseRequest.py 2009-12-15 20:05:24 UTC (rev 106571)
+++ Zope/trunk/src/ZPublisher/BaseRequest.py 2009-12-15 20:09:29 UTC (rev 106572)
@@ -23,8 +23,8 @@
from zope.interface import implements, Interface
from zope.component import queryMultiAdapter
from zope.event import notify
-from zope.app.publication.interfaces import EndRequestEvent
from zope.publisher.defaultview import queryDefaultViewName
+from zope.publisher.interfaces import EndRequestEvent
from zope.publisher.interfaces import IPublishTraverse
from zope.publisher.interfaces.browser import IBrowserPublisher
from zope.traversing.interfaces import TraversalError
More information about the Zope-Checkins
mailing list