Skip to content

[tooling] Fix tool invocations with older system Python versions - #1856

Merged
the-glu merged 1 commit into
interuss:mainfrom
BenjaminPelletier:python-compatibility
Oct 28, 2026
Merged

the-glu merged 1 commit into
interuss:mainfrom
BenjaminPelletier:python-compatibility

Conversation

@BenjaminPelletier

Copy link
Copy Markdown
Member

#1852 upgraded to Python 3.14 and changed many particular syntax instances to ones that work exclusively with 3.14 and not certain earlier versions of Python. This is fine for all code that will be executed from a controlled environment like a docker image or via uv, but a few Python scripts in the repo are intended to be run directly from a user's system. To maximize compatibility, these scripts should keep the older syntax so every user isn't forced to update their system Python installation before starting to use InterUSS tools (like many of the make targets). This PR attempts to ensure that compatibility.

We may consider switching all scripts from using Python to using uv and require uv as a single additional tool other than docker for a user to install before interacting with our products, but that is a much larger PR than this one.

@BenjaminPelletier
BenjaminPelletier marked this pull request as ready for review October 28, 2026 07:17
@the-glu
the-glu merged commit ae0bdad into interuss:main Oct 28, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants