Summary: | dev-python/sphinx-gallery-0.1.12 - SandboxViolation: open('/var/tmp/portage/dev-python/sphinx-gallery-0.1.12/work/sphinx-gallery-0.1.12-python2_7/lib/ptr.py', 'wb') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | admin, jstein, kripton, Martin.vGagern, nbowler, robink, whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 636054 | ||
Attachments: | build.log |
Description
Juergen Rose
2017-08-02 14:25:33 UTC
I fixed this (exact) same issue with another package by updating dev-python/pytest-runner. Would be worth a try. (In reply to Robin Kauffman from comment #1) > I fixed this (exact) same issue with another package by updating > dev-python/pytest-runner. Would be worth a try. 'pytest-runner' is not installed on my system. Is there not any patch? I have met with a similar error. It seems to happen quite recently, but we saw similar bugs like, https://archives.gentoo.org/gentoo-user/message/c6301b828453500b26152c4593b526d5 and https://forums.gentoo.org/viewtopic-p-7407032.html Does downgrading setuptools solve this issue? No, downgrading to setuptools-30.4.0 does not help. Does deleting setuptools work? I think we should remove pytest-runner from setup.py. What do you think, Python Team? (In reply to Benda Xu from comment #7) > I think we should remove pytest-runner from setup.py. > > What do you think, Python Team? Yes, that is probably the best solution. Or you could add it to DEPEND. (In reply to Mike Gilbert from comment #8) > (In reply to Benda Xu from comment #7) > > I think we should remove pytest-runner from setup.py. > > > > What do you think, Python Team? > > Yes, that is probably the best solution. Or you could add it to DEPEND. Adding pytest-runner to DEPEND solved the issue for me. Same issue here, went away after installing dev-python/pytest-runner - adding it to DEPEND would be a solution. I hit this issue again. Adding python_targets_python3_4 USE flag to dev-python/pytest and dev-python/pytest-runner seems to solve the issue for me with my local sphinx-gallery-0.1.12.ebuild. The sphinx-gallery-0.1.12.ebuild in the standard portage tree is still missing the pytest-runner dependency. For those who wondered how to modify the ebuild... This is the patch that worked for me : --- /usr/portage/dev-python/sphinx-gallery/sphinx-gallery-0.1.12.ebuild 2018-01-09 15:39:49.000000000 +0100 +++ /usr/local/portage/dev-python/sphinx-gallery/sphinx-gallery-0.1.12-r1.ebuild 2018-02-10 10:03:05.862861129 +0100 @@ -20,7 +20,10 @@ dev-python/pillow[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] " -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] +" PDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]" # tests need extra files not distributed [master fece96f42717] dev-python/sphinx-gallery: pytest-runner needed as DEPEND (#626878) 1 file changed, 4 insertions(+), 1 deletion(-) |