New submission from mbarbera <matteo.barber...@gmail.com>:
In Lib/distutils/cygwincompiler.py, get_version() tries to parse the output of shell commands to check for the gcc version. gcc-7 has changed the behavior of the flag -dumpversion to only show the major version number. This prevents the regex string RE_VERSION from parsing the version number from the shell output. The issue was encountered when trying to install a third-party module to python3.6 on Ubuntu 18.04 ---------- components: Distutils messages: 371830 nosy: dstufft, eric.araujo, mbarbera priority: normal severity: normal status: open title: get_version() fails to return gcc version for gcc-7 type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41027> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com