Skip to content

Drop EOL Python compatability - #158

Merged
Teque5 merged 4 commits into
mainfrom
feature/fast-forward
Aug 17, 2026
Merged

Drop EOL Python compatability#158
Teque5 merged 4 commits into
mainfrom
feature/fast-forward

Conversation

@Teque5

@Teque5 Teque5 commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

As noted on this page python versions prior to 3.10 are already end-of-life.

By dropping support for these versions we can use more modern typing and make the code more robust. We are already actually pinned to 3.10 because the minimum version for jsonschema right now is already 3.10. You will discover this if you try to make a new 3.7 environment and try to install sigmf. Conda-forge recognized this for us and already had the minimum version for sigmf set to 3.10.

This will increment version to v1.12.0.

Teque5 added 3 commits July 15, 2026 12:07
* Why do this?
  * python 3.7, 3.8, 3.9 are all EOL
  * jsonschema requires Python >= 3.10
* Simpler code
  * fewer imports
  * more readable
* increment to v3.12.0
* fix typing related to str & Path
* fix missing "| None" typing not possible before min version was 3.10
* remaining mypy issues related mypy being unable to 'prove' types
  fixes require making the codebase more ugly or adding ignore
  statements in many locations
@Teque5
Teque5 requested a review from 777arc July 15, 2026 21:18
@Teque5 Teque5 self-assigned this Jul 15, 2026
@Teque5 Teque5 added the enhancement New feature or request label Jul 15, 2026
@Teque5

Teque5 commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator Author

@777arc bump

@777arc

777arc commented Aug 17, 2026

Copy link
Copy Markdown
Member

Oh yeah if someone is on python that old they got a lot more issues than compatibility with our package 😛

@Teque5
Teque5 merged commit 0f07e17 into main Aug 17, 2026
10 checks passed
@Teque5
Teque5 deleted the feature/fast-forward branch August 17, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants