[issue28279] setuptools failing to read from setup.cfg only in Python 3.6
Roy Williams
report at bugs.python.org
Mon Sep 26 13:05:38 EDT 2016
New submission from Roy Williams:
Howdy,
I'm attempting to make a change to the mock package in Python (related to http://bugs.python.org/issue28260), and it appears their CI is broken in Python 3.6 only. The problem appears to originate from setuptools, but this only fails in Python 3.6
Here's the last time the mock jobs passed:
https://travis-ci.org/testing-cabal/mock/jobs/153850304
Here's where they started failing:
https://travis-ci.org/testing-cabal/mock/jobs/159121114
Here's the core of the issue. AFAICT in Python 3.6 setuptools isn't parsing (or is incorrectly parsing) setup.cfg. I filed https://github.com/pypa/setuptools/issues/800 with the PyPA folks, but honestly I am unsure if the issue is Python itself or setuptools.
Interestingly, when this build went from "passing" to "failing", both were running Python 3.6.0a4+.
1.43s$ pip install -U .[docs,test]
Processing /home/travis/build/testing-cabal/mock
mock 2.0.1.dev2 does not provide the extra 'docs'
mock 2.0.1.dev2 does not provide the extra 'test'
Installing collected packages: mock
Found existing installation: mock 2.0.0
Uninstalling mock-2.0.0:
Successfully uninstalled mock-2.0.0
Running setup.py install for mock ... done
Successfully installed mock-2.0.1.dev2
I attempted to force travis to pin to the latest version of setuptools and had the same issue (only in Python 3.6, not 3.5 - https://travis-ci.org/testing-cabal/mock/builds/162838672)
----------
components: Distutils
messages: 277434
nosy: Roy Williams, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: setuptools failing to read from setup.cfg only in Python 3.6
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28279>
_______________________________________
More information about the Python-bugs-list
mailing list