[issue10086] test_sysconfig failure when prefix matches /site
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1e01543c3d0a by Éric Araujo in branch '3.2': Fix test_sysconfig when run from a Python installed under /site (#10086). http://hg.python.org/cpython/rev/1e01543c3d0a New changeset 0968acf0e6db by Éric Araujo in branch 'default': Merge fix for #10086 from 3.2 http://hg.python.org/cpython/rev/0968acf0e6db -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10086] test_sysconfig failure when prefix matches /site
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4dcbae65df3f by Éric Araujo in branch '2.7': Fix test_sysconfig when run from a Python installed under /site (#10086). http://hg.python.org/cpython/rev/4dcbae65df3f -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10086] test_sysconfig failure when prefix matches /site
Éric Araujo mer...@netwok.org added the comment: I think I can commit this fix for a minor issue in a test without worrying about regressions. I manually tested and it’s fixed. Done! Thanks again. -- assignee: tarek - eric.araujo resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10086] test_sysconfig failure when prefix matches /site
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10086] test_sysconfig failure when prefix matches /site
Éric Araujo mer...@netwok.org added the comment: 1) sysconfig was originally distutils.sysconfig, and some duplication remains. Can’t this bug happen with distutils.sysconfig too? Should we duplicate tests from test_sysconfig to distutils.test_sysconfig? I’ve looked into it and converting the test to distutils.sysconfig is not trivial: the get_path function is wholly different in distutils, and I’m not even sure it’s possible to get the paths like test_sysconfig does. 2) How to prevent a regression? That is, how to run tests with custom ./configure options? I think I can commit this fix for a minor issue in a test without worrying about regressions. I manually tested and it’s fixed. Anyway, your patch does not catch a similar failure (if this can happen): base= /site global_path = /site-nonsense/... If this can’t happen, let us not worry about it :) -- title: test_sysconfig failure with site-packages - test_sysconfig failure when prefix matches /site versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com