conan-io / hooks

Official Conan client hooks
MIT License
32 stars 46 forks source link

[fix] Pin pylint version to overcome CI error #428

Closed danimtb closed 2 years ago

danimtb commented 2 years ago

Unblocking the latest PRs like #426 or specifically #425

ericLemanissier commented 2 years ago

I think this error is caused by a corrupted pyenv environment, which should go away by restarting the job (it will use a different folder because of the job number change)

uilianries commented 2 years ago

Yes, @ericLemanissier should be right. It's not first time we have this error in hook, I mean, we saw it many weeks ago and both me and Eric tried to fix. Eric's PR was the best shot, I have to say.

ericLemanissier commented 2 years ago

A more sustainable fix would be to detect corrupted environments and remove their folder automatically, or don't cache any environment in the first place

danimtb commented 2 years ago

Thanks for the hint folks! It is green now 😄 let's see if we can unblock some PRs 🤾‍♂️