[issue30108] test_site modifies sys.path

2017-05-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset e81e355a8e4395680225e3f99859a1a29ecb by Victor Stinner in branch '2.7': bpo-30108: Fix test_site setUpModule() (#1460) https://github.com/python/cpython/commit/e81e355a8e4395680225e3f99859a1a29ecb --

[issue30108] test_site modifies sys.path

2017-05-04 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1556 ___ Python tracker ___ ___

[issue30108] test_site modifies sys.path

2017-05-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 78064387e5815633168a80dcdc1bd9aec4eff46a by Victor Stinner in branch '2.7': bpo-30108: Restore sys.path in test_site (#1197) (#1459) https://github.com/python/cpython/commit/78064387e5815633168a80dcdc1bd9aec4eff46a --

[issue30108] test_site modifies sys.path

2017-05-04 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1555 ___ Python tracker ___ ___

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 092f4602c329e23b863692249cc630a3eba5b6b5 by Victor Stinner in branch '3.5': bpo-30108: Restore sys.path in test_site (#1197) (#1379) https://github.com/python/cpython/commit/092f4602c329e23b863692249cc630a3eba5b6b5 --

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 33a5d40de997fff5b60157c546a3bf711e083bcc by Victor Stinner in branch '3.6': bpo-30108: Restore sys.path in test_site (#1197) (#1378) https://github.com/python/cpython/commit/33a5d40de997fff5b60157c546a3bf711e083bcc --

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1487 ___ Python tracker ___ ___

[issue30108] test_site modifies sys.path

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1486 ___ Python tracker ___ ___

[issue30108] test_site modifies sys.path

2017-04-20 Thread STINNER Victor
STINNER Victor added the comment: The initial issue (test_site modifies sys.path) has been fixed. I don't think that it's worth it to backport the change, it's just a warning in tests. @Serhiy: Feel free to open a new issue if you want to enhance test_site ;-) -- resolution: -> fixed

[issue30108] test_site modifies sys.path

2017-04-20 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka added the comment: > I'm wondering if the user site directory should be removed in > tearDownModule(). Writing into $HOME/.local is just completely wrong :-) The test suite must not modify the "system". On a buildbot, $HOME is the root

[issue30108] test_site modifies sys.path

2017-04-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset b85c136903c6d2368162f7c4a58f258c9c69ead0 by Victor Stinner in branch 'master': bpo-30108: Restore sys.path in test_site (#1197) https://github.com/python/cpython/commit/b85c136903c6d2368162f7c4a58f258c9c69ead0 --

[issue30108] test_site modifies sys.path

2017-04-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm wondering if the user site directory should be removed in tearDownModule(). -- nosy: +serhiy.storchaka ___ Python tracker

[issue30108] test_site modifies sys.path

2017-04-19 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1322 ___ Python tracker ___ ___

[issue30108] test_site modifies sys.path

2017-04-19 Thread STINNER Victor
STINNER Victor added the comment: Ah, I reproduced the bug: $ rmdir ~/.local/lib/python3.7/site-packages; ./python -m test test_site Run tests sequentially 0:00:00 [1/1] test_site Warning -- sys.path was modified by test_site Before: (140302199734024, ['', '/home/haypo/prog/GIT/perf',

[issue30108] test_site modifies sys.path

2017-04-19 Thread STINNER Victor
New submission from STINNER Victor: See on Travis CI: https://travis-ci.org/python/cpython/jobs/223771666 Warning -- sys.path was modified by test_site Before: (47345855849656, ['', '/usr/local/lib/python37.zip', '/home/travis/build/python/cpython/Lib',