[issue27322] test_compile_path fails when python has been installed

2016-09-28 Thread Chris Angelico
Chris Angelico added the comment: Also working for me. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue27322] test_compile_path fails when python has been installed

2016-09-28 Thread STINNER Victor
STINNER Victor added the comment: Thanks for your fix :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue27322] test_compile_path fails when python has been installed

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: The buildbot is now green. Closing this as fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27322] test_compile_path fails when python has been installed

2016-09-28 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue27322] test_compile_path fails when python has been installed

2016-09-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset e53984b87cf0 by Berker Peksag in branch '3.6': Issue #27322: Set sys.path to a temp dir in test_compile_path https://hg.python.org/cpython/rev/e53984b87cf0 New changeset a78446a65b1d by Berker Peksag in branch 'default': Issue #27322: Merge from 3.6

[issue27322] test_compile_path fails when python has been installed

2016-09-27 Thread Berker Peksag
Berker Peksag added the comment: Here's an updated patch. -- Added file: http://bugs.python.org/file44849/issue27322_v3.diff ___ Python tracker ___ __

[issue27322] test_compile_path fails when python has been installed

2016-09-27 Thread Chris Angelico
Chris Angelico added the comment: I'm not sure. The patch got backed out with little explanation, so presumably it broke something somewhere, but I don't know what. -- ___ Python tracker __

[issue27322] test_compile_path fails when python has been installed

2016-09-27 Thread STINNER Victor
STINNER Victor added the comment: Any update on the issue? http://buildbot.python.org/all/builders/x86%20Gentoo%20Installed%20with%20X%203.x is still failing. -- ___ Python tracker ___

[issue27322] test_compile_path fails when python has been installed

2016-09-13 Thread Brett Cannon
Brett Cannon added the comment: That seems reasonable to me. There is a context manager in test.test_importlib.util which can help with changing sys.path temporarily. -- ___ Python tracker

[issue27322] test_compile_path fails when python has been installed

2016-09-13 Thread STINNER Victor
STINNER Victor added the comment: test_compileall depends on sys.path? It doesn't seem reliable to me. I suggest to create a temporary directory and replace sys.path to only have one item: this directory. I don't know which files are expected to be there, but we can probably copy .py to this

[issue27322] test_compile_path fails when python has been installed

2016-09-12 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch that reuses the helper in CommandLineTests. -- nosy: +berker.peksag stage: needs patch -> patch review versions: +Python 3.5, Python 3.7 Added file: http://bugs.python.org/file44621/issue27322_v2.diff _

[issue27322] test_compile_path fails when python has been installed

2016-09-12 Thread Chi Hsuan Yen
Changes by Chi Hsuan Yen : -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27322] test_compile_path fails when python has been installed

2016-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset f7d198fc4c96 by Christian Heimes in branch 'default': Issue #27322: back out the commit. needs to be addressed after beta1. https://hg.python.org/cpython/rev/f7d198fc4c96 -- ___ Python tracker

[issue27322] test_compile_path fails when python has been installed

2016-09-12 Thread Christian Heimes
Christian Heimes added the comment: AFAIK Ned hasn't tagged the beta yet. Let's see if this fixes the failing Gentoo build bot. -- ___ Python tracker ___ ___

[issue27322] test_compile_path fails when python has been installed

2016-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9e4d1b5b4b5 by Christian Heimes in branch 'default': Issue #27322: skip test_compile_path when sys.path is not writeable. https://hg.python.org/cpython/rev/e9e4d1b5b4b5 -- nosy: +python-dev ___ Python tr

[issue27322] test_compile_path fails when python has been installed

2016-09-12 Thread Chris Angelico
Chris Angelico added the comment: Huh. Yeah, that would work really nicely. Thanks Christian! Does this count as a bugfix? I think we've missed 3.6 feature freeze. -- ___ Python tracker ___

[issue27322] test_compile_path fails when python has been installed

2016-09-12 Thread Christian Heimes
Christian Heimes added the comment: Or we can just skip the test like the other tests with self._skip_if_sys_path_not_writable() -- nosy: +christian.heimes ___ Python tracker __

[issue27322] test_compile_path fails when python has been installed

2016-09-07 Thread Chris Angelico
Chris Angelico added the comment: Just ran into the same issue, but in a slightly different way, and with slightly different consequences. You can actually eliminate this failure by manually running compileall on the affected directory: sudo python3 -m compileall /usr/local/lib/python3.6/site-

[issue27322] test_compile_path fails when python has been installed

2016-06-15 Thread Xavier de Gaye
New submission from Xavier de Gaye: == FAIL: test_compile_path (test.test_compileall.CompileallTests) -- Traceback (most recent call last): File "/home/xavier/