Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pylint): Add support for pylint version 1.6.4 #67

Closed
wants to merge 2 commits into from

Conversation

agb80
Copy link
Member

@agb80 agb80 commented Sep 4, 2016

Make changes needed for support verison 1.6.4 of pylint.

According with our conversation on #58 in this PR I'm proposing the changes needed for support latest pylint version. Also get back pylint20 on tox to point to master as this commit fix that build too.

Make changes neded for support verion 1.6.4 of pylint.

OCA#58
@agb80
Copy link
Member Author

agb80 commented Sep 4, 2016

PR on pylint20 failed because of this bug that @moylop260 reported: pylint-dev/astroid#358

Works good on my local machine with a virtualenv and up to date setuptools

@moylop260
Copy link
Collaborator

Thanks
FYI I have created a fix pylint-dev/astroid#360

Could you check if you can propose it for astroid/pylint project and version that you are using now?

py27-pylint20: git+https://github.com/PyCQA/astroid@461e016
py27-pylint20: git+https://github.com/PyCQA/pylint@0495355
py27-pylint14: pylint==1.6.4
py27-pylint20: git+https://github.com/PyCQA/astroid@master
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please freeze the 2.0 version in order to avoid future builds red.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI I'm using a good newest sha without errors in our fork:
https://github.com/Vauxoo/pylint-odoo/blob/master/tox.ini#L25

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use latest astroid stable version 1.4.7

… on pylin20 test

According to comments from @MOYLOP pinn astroid & pylint versions
@agb80
Copy link
Member Author

agb80 commented Sep 5, 2016

@moylop260 please help; I'm not very familiar with travis and the way it build the test environments.

I already tried using the latest commits on astroid & pylint and locally builds but travis failed; tried with the commits you have on your fork travis failed again, and tried updating just astroid for include the patch you done while keeping master on your pinned commit and failed again. All times my local dev & test machines running tox -e py27-pylint20,profile-stats build without problem.

What do you think could be the problem and how can I solved it?

@moylop260
Copy link
Collaborator

moylop260 commented Sep 6, 2016

My secret weapon to reproduce travis error on local is t2d with the original image of travis
Try it: travisfile2dockerfile --docker-image=quay.io/travisci/travis-python --docker-user=travis git@github.com:OCA/pylint-odoo.git pull/67

screen shot 2016-09-05 at 9 09 32 pm

@moylop260
Copy link
Collaborator

Hello?

@agb80
Copy link
Member Author

agb80 commented Sep 18, 2016

I'm really sorry but for good and for bad we are plenty of work at this time. I'm get back to this as soon as I can or fell free to finish for me if you wish.

@moylop260
Copy link
Collaborator

Superseeded by #69

@moylop260 moylop260 closed this Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants