[issue9313] distutils error on MSVC older than 8
Francis MB added the comment: Hi Éric, are the changes to distutils2 applied? could the issue be closed (has resolution:fixed) or is something to be done? -- nosy: +francismb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Mark Lawrence added the comment: Distutils2 is dead. -- components: -Distutils2 nosy: +BreamoreBoy, dstufft ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Francis MB added the comment: Distutils2 is dead. I wasn't aware of that and I'm sorry for that. In that case that issue can IMHO be closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Changes by Berker Peksag berker.pek...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Éric Araujo mer...@netwok.org added the comment: Martin: Just applying the same changes to distutils2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Martin v. Löwis mar...@v.loewis.de added the comment: Éric, what forward porting exactly needs to be done? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Éric Araujo mer...@netwok.org added the comment: Re-opening to remind myself about the forward-port. -- assignee: ocean-city - eric.araujo components: -Tests status: closed - open versions: +3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Fixed in r84753(py3k). -- assignee: tarek - resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Éric Araujo mer...@netwok.org added the comment: Wouldn’t it be more accurate to skip the test instead of returning None (falsely indicating success)? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Éric Araujo mer...@netwok.org added the comment: (Adding distutils2 component so that forward-porting the patch is not forgotten.) -- assignee: - tarek components: +Distutils2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: How about attached patch? I confirmed this both on MSVC8 and MSVC6. -- assignee: - tarek Added file: http://bugs.python.org/file18863/py3k_skip_in_distutils_test.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- assignee: tarek - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Éric Araujo mer...@netwok.org added the comment: Looks excellent, just import the function at the module scope instead of function scope (I’ve heard about import deadlock issues, and performance is not an issue in tests, so there is no reason to import in the function). Please backport to 3.1 and 2.7 if the bug applies to them. -- assignee: - ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I’ve heard about import deadlock issues, and performance is not an issue in tests, so there is no reason to import in the function distutils.msvc9compiler imports winreg internally, and it only exists on windows, so importing distutils.msvc9. compiler may raise ImportError on Linux. So I imported only when sys.platform == win32. Committed in r84760(py3k). And will be merged into other branches. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Éric Araujo mer...@netwok.org added the comment: I don’t know the details of MSVC versions, but the error message seems to mean that this version is not supported, so there is nothing to fix. -- nosy: +loewis, merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Other test functions already have such skips. So I think another skip is acceptable here. But maybe it's better to skip entire msvc9compilerTestCase class (by class decorator). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9313] distutils error on MSVC older than 8
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: I got an error while testing py3k on VC6. Here is a patch. == ERROR: test_remove_visual_c_ref (distutils.tests.test_msvc9compiler.msvc9compile rTestCase) -- Traceback (most recent call last): File e:\python-dev\py3k\lib\distutils\tests\test_msvc9compiler.py, line 112, in test_remove_visual_c_ref from distutils.msvc9compiler import MSVCCompiler File e:\python-dev\py3k\lib\distutils\msvc9compiler.py, line 291, in module raise DistutilsPlatformError(VC %0.1f is not supported by this module % VE RSION) distutils.errors.DistutilsPlatformError: VC 6.0 is not supported by this module -- Ran 170 tests in 49.070s FAILED (errors=1, skipped=4) Traceback (most recent call last): File test_distutils.py, line 18, in module test_main() File test_distutils.py, line 13, in test_main test.support.run_unittest(distutils.tests.test_suite()) File e:\python-dev\py3k\lib\test\support.py, line 1054, in run_unittest _run_suite(suite) File e:\python-dev\py3k\lib\test\support.py, line 1037, in _run_suite raise TestFailed(err) test.support.TestFailed: Traceback (most recent call last): File e:\python-dev\py3k\lib\distutils\tests\test_msvc9compiler.py, line 112, in test_remove_visual_c_ref from distutils.msvc9compiler import MSVCCompiler File e:\python-dev\py3k\lib\distutils\msvc9compiler.py, line 291, in module raise DistutilsPlatformError(VC %0.1f is not supported by this module % VE RSION) distutils.errors.DistutilsPlatformError: VC 6.0 is not supported by this module -- assignee: tarek components: Distutils, Tests files: py3k_distutils_on_old_msvc.patch keywords: patch messages: 110886 nosy: ocean-city, tarek priority: normal severity: normal status: open title: distutils error on MSVC older than 8 versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file18088/py3k_distutils_on_old_msvc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com