[Distutils] "option --single-version-externally-managed not recognized" when pip install mysql-connector-python-rf

Chris Withers chris at simplistix.co.uk
Fri Nov 13 07:26:10 EST 2015


Hi All,

My Travis nightly builds of a package started failing this morning with 
the following:

https://travis-ci.org/Mortar/mortar_rdb/jobs/90919221

pip install mysql-connector-python-rf

You are using pip version 6.0.7, however version 7.1.2 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

Collecting mysql-connector-python-rf

Downloading mysql-connector-python-rf-2.1.3.tar.gz (271kB)

100% |################################| 274kB 2.1MB/s

Installing collected packages: mysql-connector-python-rf

Running setup.py install for mysql-connector-python-rf

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

or: -c --help [cmd1 cmd2 ...]

or: -c --help-commands

or: -c cmd --help

error: option --single-version-externally-managed not recognized

Complete output from command 
/home/travis/virtualenv/python3.4.2/bin/python -c "import setuptools, 
tokenize;__file__='/tmp/pip-build-_f5a57lj/mysql-connector-python-rf/setup.py';exec(compile(getattr(tokenize, 
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 
'exec'))" install --record /tmp/pip-jd_zku67-record/install-record.txt 
--single-version-externally-managed --compile --install-headers 
/home/travis/virtualenv/python3.4.2/include/site/python3.4:

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

or: -c --help [cmd1 cmd2 ...]

or: -c --help-commands

or: -c cmd --help

error: option --single-version-externally-managed not recognized

mysql-connector-python-rf hasn't changed in ages, and I haven't pushed 
any commits to mortar_rdb in some time.
Has pip or setuptools changed in the last 24 hrs?
This something that might have changed on TravisCI?

cheers,

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151113/6b904e25/attachment-0001.html>


More information about the Distutils-SIG mailing list