[TIP] Tox package install failure after update to Python 3.2b1

Kumar McMillan kumar.mcmillan at gmail.com
Mon Dec 6 21:00:23 PST 2010

On Mon, Dec 6, 2010 at 7:26 PM,  <skip at pobox.com> wrote:
>    [TOX] ERROR: py32: FAIL could not install package
> Looking at the log file I saw this output:
>    /Users/skip/src/pylockfile/branches/packages/.tox/py32/log$ ../bin/easy_install ../../dist/lockfile-0.9.1.zip >5.log
>    install_dir /Users/skip/src/pylockfile/branches/packages/.tox/py32/lib/python3.2/site-packages/
>    Processing lockfile-0.9.1.zip
>    Running lockfile-0.9.1/setup.py -q bdist_egg --dist-dir /var/folders/5q/5qTPn6xq2RaWqk+1Ytw3-U+++TI/-Tmp-/easy_install-zl3k2c/lockfile-0.9.1/egg-dist-tmp-1w0k__
>    error: Setup script exited with error: SandboxViolation: open('/Users/skip/local/lib/python3.2/lib2to3/Grammar3.2.0.alpha.4.pickle', 'wb') {}

Hi Skip.
Does your setup.py script have a lot of custom code that would open a
file like this?  If not, you may want to see if 3.2beta introduced a
bug with distribute (that's where the easy_install code runs from).

> Is wiping out .tox/pyXY generally required?  I haven't hit this particular
> bump before, but I haven't been using tox very long.

you shouldn't have to, no.


> Thanks,
> --
> Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

More information about the testing-in-python mailing list