Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Declare dependency on

  • Loading branch information...
commit 26823f2aecebaa40b2d6506e2d2d221abae5e286 1 parent 247e224
@mauritsvanrees mauritsvanrees authored
Showing with 5 additions and 1 deletion.
  1. +4 −0 CHANGES.txt
  2. +1 −1 
@@ -4,6 +4,10 @@ Changelog
1.6 (unreleased)
+- Declare dependency on
+ [maurits]
1.5 (2012-08-15)
2 
@@ -31,7 +31,7 @@
- # -*- Extra requirements: -*-
+ '',
'test': ['Products.PloneTestCase'],

2 comments on commit 26823f2


In general, we're trying to minimize our dependence on* packages, because they are heavily circularly dependent, so when you pull in one all the rest tend to get pulled in even though they aren't actually required. In many cases there is now a zope.* package that can be used instead, and we should be updating Plone code to use those.

I'm guessing this one is for importing getSite? That should be from zope.component.hooks now (with a fallback to if zope.component.hooks isn't present, for backwards-compatibility).


I had problems getting a 4.2 instance to start because some packages were missing. So finally I went through the checkouts I had and added dependencies to packages that seemed to need them, with help of z3c.dependencychecker. I see that in this case was only used as compatibility import in case an import from zope.component did not work. So I will undo this change.

Adding the dependencies in Products.CMFPlone for the 4.2 series, as you found later, like in the Plone egg, turned out to be a better idea.

Thanks for keeping an eye on code quality!

Please sign in to comment.
Something went wrong with that request. Please try again.