Skip to content

Conversation

silverjam
Copy link
Contributor

@silverjam silverjam commented May 25, 2022

Description

@swift-nav/devinfra

  • We can introduce tox parallel mode to speed up the test-python target in libsbp, but we’ll need to upgrade the GHA job to use Ubuntu 20.04 to get a tox that’s new enough to run it

  • (Apparently) this exposes some bugs with Python 2.7 support in Ubuntu, this works locally but could not figure out a fix for GHA… so I propose we try to drop support for this again, Python 2 has been obsolete/discontinued for 2 years now. Removing support for Python 2.7 and Python 3.5 opens the door for us to introduce type annotations to our Python code.

API compatibility

Does this change introduce a API compatibility risk? Does not introduce compatibility issues in SBP messages or the API but drops support for Python 2.7 and Python 3.5 (which are both obsolete).

API compatibility plan

If the above is "Yes", please detail the compatibility (or migration) plan: This is a "wait and see" compatibility plan, the last customer we had that was using Python 2 was able to migrate to Python 3 after some prodding, so hopefully we'll OK this time around.

JIRA Reference

https://swift-nav.atlassian.net/browse/DEVINFRA-771

@silverjam silverjam requested a review from a team as a code owner May 25, 2022 08:20
@silverjam silverjam force-pushed the silverjam/tox branch 24 times, most recently from b23292b to 5399f72 Compare May 25, 2022 10:45
Copy link
Contributor

@jungleraptor jungleraptor left a comment

Choose a reason for hiding this comment

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

Get's rid of python 2 basically?

@silverjam silverjam changed the title tox add parallel tox, remove python 2.7/3.5 support [DEVINFRA-771] May 25, 2022
@silverjam silverjam requested a review from adrian-kong May 25, 2022 19:18
@silverjam silverjam changed the title add parallel tox, remove python 2.7/3.5 support [DEVINFRA-771] add parallel tox, remove python 2.7 support [DEVINFRA-771] May 25, 2022
@silverjam
Copy link
Contributor Author

silverjam commented May 25, 2022

Get's rid of python 2 basically?

Yes, updated the PR description and summary

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.

3 participants