Add python-zope.security-untrustedpython metapackage

Bug #542634 reported by Gediminas Paulauskas
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.security (Ubuntu)
Fix Released
High
Gediminas Paulauskas
Declined for Lucid by StefanPotyra

Bug Description

Some zope packages -- at least python-zope.app.pagetemplate, python-zope.browsermenu and python-zope.ptresource -- need to depend on python-zope.security-untrustedpython that should be built from zope.security source package. It would only specify a python-restrictedpython dependency. The RestrictedPython package is already in lucid universe, but not in Debian, and this patch was rejected by Debian Zope packagers: http://lists.alioth.debian.org/pipermail/pkg-zope-developers/2010-February/006220.html

Fix uploaded to REVU: http://revu.ubuntuwire.com/p/zope.security

Tags: zope
Changed in zope.security (Ubuntu):
status: New → Fix Committed
Revision history for this message
StefanPotyra (sistpoty) wrote :

(rejecting the nomination, setting back to new. We don't use nominations to handle FFe's, only bugs, and new means that ubuntu-release needs to take a look)

Changed in zope.security (Ubuntu):
status: Fix Committed → New
Revision history for this message
Matthias Klose (doko) wrote :

Gediminas, please could you give the rationale for this FFe? I think it's one of the packages needed for schooltool and/or schoolbell, which you want to see in lucid, correct?

Changed in zope.security (Ubuntu):
status: New → Incomplete
Revision history for this message
StefanPotyra (sistpoty) wrote :

Jonathan, Stephane, can you shed further ligth and/or give feedback? thanks!

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

We wanted to get SchoolTool into Lucid, but of course it is too late now. I have uploaded all the missing packages to the SchoolTool PPA, but there are some changes needed to packages already in Lucid so that we can use them - and there aren't other users of zope packages in Ubuntu. If fixes likes this one don't get accepted I will have to upload the same, fixed package to the PPA, but then what's the point having that package in Ubuntu?

Revision history for this message
Matthias Klose (doko) wrote :

Gediminas, your last comment doesn't help the release team in any way, what needs to be done. maybe you do have a plan, maybe you have given up. but please could you just describe the missing bits, so that the release team has the chance to evaluate the current state?

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Zope packages that come from Debian are built using van.pydeb that generates Depends field automatically from requirements specified in setup.py file. Some packages, like zope.browserpage, depend on other packages and also an optional part of it (extra) that has more dependencies. This is specified in setup.py as install_requires="zope.security [untrustedpython]" and van.pydeb translates that to a debian binary package name python-zope.security-untrustedpython. So we need a virtual package named like this.

Hope that's a better explanation of the bug.

Comment #4 talks about SchoolTool PPA but there are packages already in archive that need this to be properly packaged: zope.browserpage (Bug #564985) and zope.app.pagetemplate (Bug #561455).

description: updated
Revision history for this message
StefanPotyra (sistpoty) wrote :

Gediminas, sorry, but I still can't follow you there (I'm not python expert and especially no zope expert): Neither zope.browserpage nor zope.app.pagetemplate depend on a package called python-zope.security-untrustedpython. (See http://packages.ubuntu.com/lucid/python-zope.browserpage and http://packages.ubuntu.com/lucid/python-zope.app.pagetemplate).

Is your triaging not correct, or are the packages found in lucid outdated and would result in the dependencies you mentioned, or am I just missing something?

(side-note: I'd really like to see the best support for schooltool, and am very glad that you work on it!)

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

The two packages do not depend, but that is a bug, and is explained in the two linked bug reports. They cannot be solved because of the missing package that this issue requests.

Example of a similar package is http://packages.ubuntu.com/lucid/python-zope.component-zcml . I have copied the solution from it.

Example of a similar problem is missing package python-zope.component-hook (Bug #565011).

Also see the blueprint for other issues that SchoolTool has with Zope packages in Lucid.

Changed in zope.security (Ubuntu):
status: Incomplete → New
Changed in zope.security (Ubuntu):
assignee: nobody → Gediminas Paulauskas (menesis)
importance: Undecided → High
milestone: none → maverick-alpha-3
status: New → In Progress
Changed in zope.security (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zope.security - 3.7.2-1ubuntu3

---------------
zope.security (3.7.2-1ubuntu3) maverick; urgency=low

  * Upload to Maverick (LP: #542634).
 -- Gediminas Paulauskas <email address hidden> Mon, 26 Jul 2010 17:45:05 +0300

Changed in zope.security (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.