[Zope3-dev] Dependency cleanup: zope.traversing

Christian Theune ct at gocept.com
Wed Aug 22 08:10:16 EDT 2007


Hey,

I've moved the `etc` namespace class to zope.app.publication in my
sandbox. During testing I noticed that zope.app.testing has a dependency
on zope.traversing for traversing "++etc++sitemanager" when creating a
site manager.

I wonder why we use traversal in this place ...

Either I can change the dependencies of zope.app.testing to include
zope.app.publication to a required minimum version or I can change this
to use a different lookup mechanism.

Christian

Am Mittwoch, den 15.08.2007, 14:01 +0200 schrieb Christian Theune:
> Hi,
> 
> zope.traversing has a dependency to zope.app.applicationcontroller. This
> is because zope.traversing implements the "etc" namespace and has a hard
> coded reference to "applicationcontrol" there.
> 
> In the same place it also looks up site managers  (in a hard coded way).
> 
> As a strategy to remove this dependency we should move the etc namespace
> to some other place in zope.app. I did not find reasonable candidates to
> move this two. Bad candidates are zope.app.publisher or
> zope.app.publication, zope.app.applicationcontrol. A new package could
> be created for the etc namespace too, but I'd like to avoid that.




More information about the Zope3-dev mailing list