Skip to content

Drop Python 3.9#137

Merged
ivankorobkov merged 3 commits into
ivankorobkov:masterfrom
trin94:drop-python-3.9
Jun 29, 2026
Merged

Drop Python 3.9#137
ivankorobkov merged 3 commits into
ivankorobkov:masterfrom
trin94:drop-python-3.9

Conversation

@trin94

@trin94 trin94 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Hi again!

Python 3.9 is end of life now, so I think it is a good time to drop it. Python 3.9 is not compatible with all latest versions of our dev-dependencies.

I made three small commits so it is easy to read: drop 3.9, remove some dead config, and add the missing tox env for 3.14.

One thing to check: CHANGES and the README assume 5.5.0 but it is your call if you prefer 6.0.0.

I also have a question: Would you be okay with using uv and adding a uv.lock file? You seemed open to it in #119. The main benefit is that we can pin the dev tools. Right now ruff is not pinned, and we run it with all rules plus preview. So every new ruff release can add errors and break CI for no real reason. With a lock file we could update ruff when we want.

If you like the idea, I can prepare a draft so you can see how it looks. I would also be happy to clean up the code a bit over time, and maybe try a newer type checker like pyrefly or ty later.

No problem if you do not want to.

Best
Elias

@trin94 trin94 changed the title Drop python 3.9 Drop Python 3.9 Jun 28, 2026
@ivankorobkov ivankorobkov merged commit 0faa1ae into ivankorobkov:master Jun 29, 2026
7 of 8 checks passed
@ivankorobkov

Copy link
Copy Markdown
Owner

Hi!

Python 3.9 is end of life now, so I think it is a good time to drop it.

Sure.

CHANGES and the README assume 5.5.0 but it is your call if you prefer 6.0.0.

5.5.0 is better.

Would you be okay with using uv and adding a uv.lock file?

Yes.

If you like the idea, I can prepare a draft so you can see how it looks.

Yes, of course.

I would also be happy to clean up the code a bit over time, and maybe try a newer type checker like pyrefly or ty later.

OK.

@trin94 trin94 deleted the drop-python-3.9 branch June 29, 2026 14:39
@trin94 trin94 mentioned this pull request Jul 4, 2026
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