<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-07-01 18:52 GMT+03:00 Barry Warsaw <span dir="ltr"><<a href="mailto:barry@debian.org" target="_blank">barry@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class="">On Jul 01, 2014, at 05:24 PM, Brian Sutherland wrote:<br>
<br>
>The reason it was not added in Debian is because it requires the<br>
>RestrictedPython package:<br>
><br>
>    <a href="https://pypi.python.org/pypi/RestrictedPython" target="_blank">https://pypi.python.org/pypi/RestrictedPython</a><br>
><br>
>That has security implications, and no-one wanted to take responsibility<br>
>for that.<br>
<br>
</div>I don't blame "them".<br>
<br>
As it turns out, I'd forgotten that I already sync'd zope.security into<br>
Ubuntu, so already dropped this package.  This will break a few reverse<br>
dependencies which only exist in Ubuntu:<br>
<br>
Reverse-Depends<br>
===============<br>
* python-zope.app.pagetemplate<br>
* python-zope.browserpage<br>
* python-zope.pagetemplate<br>
* python-zope.ptresource<br>
<br>
Still, I don't want to block on updating this stack.  If no one steps up to<br>
take this on in Debian, and it's a critical need in Ubuntu, we'll deal with it<br>
there.<br></blockquote><div><br></div><div>I've merged zope.security to Ubuntu a few times, keeping the delta.</div><div><br></div><div>The code requiring RestrictedPython was extracted to a separate package.</div><div>

<br></div><div>Newer zope.pagetemplate lists this as an optional dependency and only on python 2.</div><div><br></div><div><div>4.0.2 (2013-02-22)</div><div>------------------</div><div><br></div><div>- Migrated from ``zope.security.untrustedpython`` to ``zope.untrustedpython``.</div>

<div><br></div><div>- Made ``zope.untrustedpython`` an extra dependency.  Without it, python</div><div>  expressions are not protected, even though path expressions are still</div><div>  security wrapped.</div></div><div>

<br></div><div><br></div><div>zope.browserpage 4.1.0a1 is updated for this split and requires plain zope.security</div><div><div>zope.ptresource 4.0.0a1 too.</div></div><div><br></div><div>zope.app.pagetemplate needs a similar change to dependencies upstream.</div>

<div><br></div><div>I will deal with this in Ubuntu and upstream if necessary.</div><div>To keep the same functionality, a new source package zope.untrustedpython should be added to Ubuntu. But can live without it.</div>
</div>
<div><br></div>-- <br>Gediminas
</div></div>