New submission from Axel Haustant: Because of the Python 3.2 configparser renaming/refactoring, string interpolation has been enabled into distutils config parsing and so fails to read any setup.cfg with percent signs (try to perform string interpolation and fails).
To reproduce: create a project with a percent sign anywhere in the setup.cfg file and execute python setup.py egg_info. It will pass on Python 2.x and fails on Python 3.x. The attached patch suimply disable string interpolation in distutils config parsing. That would be awesome to have this applied on any 3.x version (because project using tox to test against different Python versions also fails with the same issue Python 3.x and PyPI 3.x) ---------- components: Distutils files: disable-distutils-string-interpolation.patch keywords: patch messages: 282865 nosy: Axel Haustant, dstufft, eric.araujo priority: normal severity: normal status: open title: distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign type: crash versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 Added file: http://bugs.python.org/file45839/disable-distutils-string-interpolation.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28935> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com