[New-bugs-announce] [issue9313] distutils error on MSVC older than 8

Hirokazu Yamamoto report at bugs.python.org
Tue Jul 20 13:07:22 CEST 2010


New submission from Hirokazu Yamamoto <ocean-city at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9313>
_______________________________________


More information about the New-bugs-announce mailing list