Skip to content

Conversation

@the-glu
Copy link
Contributor

@the-glu the-glu commented Aug 7, 2025

PEP604 introduced a new, cleaner version of declaration for optional field that some tools like to enforce.

This make the library compatible with such usage, it has been tested on the upgraded monitoring code base.

This has the consequence of dropping python < 3.10 support. Python 3.9 will be EOL in two month, so I assumed it's fine, but it's possible to make the code compatible at the cost of readability ^^'

@the-glu the-glu force-pushed the handle_new_coding_style branch from d9b1b8f to cdd3233 Compare August 7, 2025 13:49
@the-glu the-glu changed the title Handle new coding style for optional fields Handle new coding style for optional fields (drop python < 3.10 support) Aug 7, 2025
@the-glu the-glu requested a review from mickmis August 13, 2025 13:36
Copy link

@mickmis mickmis left a comment

Choose a reason for hiding this comment

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

This has the consequence of dropping python < 3.10 support. Python 3.9 will be EOL in two month, so I assumed it's fine, but it's possible to make the code compatible at the cost of readability ^^'

I think that is OK as this is mostly used within a Docker image provided InterUSS.
Could be worth mentioning that in the release notes of the monitoring repo when it is upgraded though.

@mickmis mickmis merged commit ff71846 into interuss:main Aug 14, 2025
16 checks passed
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