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

CI: use python 3.6 #393

Merged
merged 1 commit into from
Aug 2, 2020
Merged

CI: use python 3.6 #393

merged 1 commit into from
Aug 2, 2020

Conversation

nuno-silva
Copy link
Contributor

@nuno-silva nuno-silva commented Aug 2, 2020

python 2.7 is dead
python 3.6 is supported until 2021-12
It would be better to move to python 3.8 right away,
but since it is not installed by default in Travis,
having to download it in each job would make the builds significantly slower.


Note the builds against python 3.8 and 3.6, contrary to the build against 2.7, did not use the platformio cache since it was the first time they ran. Subsequent builds will be faster.

python 2.7 is dead
python 3.6 is supported until 2021-12
It would be better to move to python 3.8 right away,
but since it is not installed by default in Travis,
having to download it in each job  would make the builds significantly slower.
@nuno-silva nuno-silva marked this pull request as ready for review August 2, 2020 02:42
Copy link
Owner

@njh njh left a comment

Choose a reason for hiding this comment

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

Looks like a good idea, thanks.

Lets go with Python 3.6 for now.

It is a shame that Python 3.6 is slower than Python 2.7.

@njh njh merged commit 420dd84 into njh:master Aug 2, 2020
@nuno-silva nuno-silva deleted the ci2 branch August 2, 2020 19:57
@nuno-silva
Copy link
Contributor Author

Looks like after populating the cache python 3.6 was actually faster 😄 (or maybe luck)

python 3.6: total time 14 min 33 sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants