[issue10086] test_sysconfig failure with site-packages

2010-11-04 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086 ___ ___

[issue10086] test_sysconfig failure with site-packages

2010-11-02 Thread Hallvard B Furuseth
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment: ,AC�ric Araujo writes: Attaching a patch with your two suggestions. Added file: http://bugs.python.org/file19264/fix10086.diff Not quite, since I suggested global_path.startswith(os.path.join(base, )) instead of

[issue10086] test_sysconfig failure with site-packages

2010-10-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the fix, good catch! Do you want to write a patch to test_sysconfig to add a test? Otherwise I’ll do it. -- components: +Distutils2, Library (Lib) versions: +3rd party, Python 2.7, Python 3.1

[issue10086] test_sysconfig failure with site-packages

2010-10-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I wrote too fast, I thought your diff was for sysconfig itself, not test_sysconfig. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086

[issue10086] test_sysconfig failure with site-packages

2010-10-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Attaching a patch with your two suggestions. Two things worry me and prevent me from committing right now: 1) sysconfig was originally distutils.sysconfig, and some duplication remains. Can’t this bug happen with distutils.sysconfig too?

[issue10086] test_sysconfig failure with site-packages

2010-10-14 Thread Hallvard B Furuseth
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment: It's with 'purelib' because my prefix /site matches /site-packages. This fixes it for me, but maybe you should also assert that global_path.startswith(os.path.join(base, )). --- Lib/test/test_sysconfig.py~ 2010-09-20 +++

[issue10086] test_sysconfig failure with site-packages

2010-10-13 Thread Hallvard B Furuseth
New submission from Hallvard B Furuseth h.b.furus...@usit.uio.no: test_sysconfig on Python 3.2a3 fails with AssertionError: '/home/sjef/.local/lib/python3.2/site-packages' != '/home/sjef/.local/lib/python3.2/home/sjef/.local-packages' Python-3.2a3$ ./python Lib/test/regrtest.py -v

[issue10086] test_sysconfig failure with site-packages

2010-10-13 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - tarek components: +Distutils -Tests nosy: +eric.araujo, tarek stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10086

[issue10086] test_sysconfig failure with site-packages

2010-10-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. Can you tell us what ./configure line you used before running make? Or maybe you edited site.py or created a sitecustomize.py? Tarek, Antoine: Is “Distutils” the right component for sysconfig bugs? (I thought it would

[issue10086] test_sysconfig failure with site-packages

2010-10-13 Thread Hallvard B Furuseth
Hallvard B Furuseth h.b.furus...@usit.uio.no added the comment: ./configure --prefix=/site on Ubuntu. Unedited site.py. I had Python3.2a2 installed, but removing it did not make the test do anything different. Nor did removing /home/sjef/.local/lib/python3.2, which only contained an empty