depends on ZODB3
Bug #435516 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restful |
Fix Released
|
Low
|
Unassigned | ||
zope.dublincore |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
lazr.restful's dependency graph ends up pulling in ZODB3, which is insane. :)
The culprit appears to be the use of
from zope.app.
in lazr.restful/
Here's an excerpt from bin/buildout -vv
Getting required 'zope.app.
required by lazr.restful 0.9.6.
Getting required 'zope.dublincore'
required by zope.app.
Getting required 'zope.annotation'
required by zope.dublincore 3.5.0.
Getting required 'ZODB3'
required by zope.annotation 3.5.0.
Changed in lazr.restful: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Leonard Richardson (leonardr) |
Changed in lazr.restful: | |
importance: | High → Low |
summary: |
- lazr.restful depends on ZODB3 + depends on ZODB3 |
To post a comment you must log in.
Hmm. We use that class to generate the WADL file from the WADL template, and (less importantly) the default HTML reprepresentation of an entry. But it looks like there's no way to get zope.app. pagetemplate without triggering that dependency.
Since there's only one complicated template, we could rewrite it to use some other templating engine that has fewer dependencies. Or we could change zope.app. pagetemplate to not need zope.dublincore all the time. Those are the only solutions I see.