Vauxoo / pylint-odoo

1 stars 4 forks source link

Error installing requirements.txt with travis when use `sudo: required` #31

Closed moylop260 closed 8 years ago

moylop260 commented 8 years ago

https://travis-ci.org/Vauxoo/runbot-addons/jobs/121878546#L445

pylint-2.0.0 pylint-plugin-utils-0.2.3 pytz-2016.4 restructuredtext-lint-0.12.2 singledispatch-3.4.0.3 wrapt-1.10.8
Collecting git+https://github.com/vauxoo/pylint-odoo.git
  Cloning https://github.com/vauxoo/pylint-odoo.git to /tmp/pip-vaKqeh-build
    Complete output from command python setup.py egg_info:
    error in setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in git+https://github.com/PyCQA/astroid.git@master at +https://github.com/PyCQA/astroid.git@master

NOTE: This erros don't exists in sudo: false travis environment.

Travis environment with sudo: required with error

Build dist: trusty
Build image provisioning date and time
Mon Oct 19 21:23:19 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty
Linux Version
3.19.0-28-generic
Python 2.7.6
pip 7.1.0 from /home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages (python 2.7)

Travis environment with sudo: false without error

Build dist: precise
Build image provisioning date and time
Thu Feb  5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise
Linux Version
3.13.0-29-generic
Python 2.7.3
pip 6.0.7 from /home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages (python 2.7)
moylop260 commented 8 years ago

IMHO is the version of setuptools used. pylint and astroid now support old versions of setuptools and newest. Now the build https://travis-ci.org/Vauxoo/runbot-addons/jobs/121878546 don't show error