mock
is failing to install extras in Python 3.6 · Issue #800 · pypa/setuptools (original) (raw)
Howdy,
I'm attempting to make a change to the mock
package in Python, and it appears their CI is broken in Python 3.6 only. The problem appears to originate from setuptools, so I was hoping you folks might have more insight.
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
.
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)
Interestingly, when this build went from "passing" to "failing", both were running Python 3.6.0a4+
, so I don't think it's an issue with Python 3.6 itself, but if you think it is I'll file an issue at bugs.python.org.