-
-
Notifications
You must be signed in to change notification settings - Fork 267
pip version in Travis build #696
Comments
I see no reason not to upgrade it. Do you want to do a PR ? We can merge and revert if it causes too much trouble. |
Thanks for having a look, I already noticed that
I think it wouldn't make sense to move it anywhere sooner in the script, that's why I haven't proposed a PR in the beginning. I'm guessing that maybe the VM/container where Travis is running doesn't have any other more recent version of |
Why? |
Because the problem I have found is due to the |
Ah, yes, sorry, I misread your original post... So... I don't know what's happening 🤷 |
In https://app.travis-ci.com/github/OCA/l10n-italy/jobs/536447241#L481 Travis raises an error because it is trying to install unidecode at version 1.3.1 but only versions < 1.3.0 support Python2.
In my local environment I can't reproduce the error and I found out that the difference is in
pip
's version:pip
at version18.1
(https://app.travis-ci.com/github/OCA/l10n-italy/jobs/536447241#L238-L239) and raises the errorpip
at version20.3.4
and it automatically chooses the correct unidecode:I've checked that
pip
's version is not fixed anywhere in this repo's code but it should be updated enough because it is installed with--upgrade
maintainer-quality-tools/travis/travis_install_nightly
Line 122 in 537663c
So the question is: why is Travis choosing an old version for
pip
?How can I help to fix that?
I've looked through issues or PRs in this repo but found nothing
The text was updated successfully, but these errors were encountered: