Skip to content

Add support for Python 3.14, drop EOL 3.9#223

Merged
Knio merged 5 commits into
Knio:masterfrom
hugovk:add-3.14
Apr 9, 2026
Merged

Add support for Python 3.14, drop EOL 3.9#223
Knio merged 5 commits into
Knio:masterfrom
hugovk:add-3.14

Conversation

@hugovk
Copy link
Copy Markdown
Contributor

@hugovk hugovk commented Feb 22, 2026

https://devguide.python.org/versions/


Also it would be great to get a release at some point: the last was Dec 2023 and it'd be nice to get rid of the deprecation warning fixed in Dec 2024: #211. Thanks!

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same
when pulling 861b57b on hugovk:add-3.14
into b268b8b on Knio:master.

Comment thread .github/workflows/ci.yml
branches: ["master"]
pull_request:
branches: ["master"]
on: [push, pull_request, workflow_dispatch]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

tbh removing this branch restriction looks pretty fishy, like the start of a supply chain hack, but I'm going to accept it anyway because of your reputation, and because I don't care to re-learn how github actions work

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you :)

Here's a brief explanation, happy to explain more and give examples, or feel free to ignore!

For push:

  • It's best practice to submit new features from feature branches, and not from master.
  • If we restrict to only master, then I can't run the CI on my branch.
  • As seen here, I tested as I went along: https://github.com/hugovk/dominate/actions. Without this, I might have submitted a PR that fails, and I want to make sure it's passing first. Especially when changing support I want to test
  • My other option is to develop in my own master, which isn't great (for example, I can only test one branch at once, you can't push edits to my branch).

Similarly for pull_request:

  • In https://github.com/python-pillow/Pillow, if a maintainer has more suggestions than can be made via the GH UI, we'll sometimes open a PR against the contributor's feature branch.
  • With a branch restriction, the CI can't run in the fork.

btw https://github.com/zizmorcore/zizmor is a really good security linter. If you like, I'd be happy to add it here and address any findings it has.

@Knio Knio merged commit 208eb1d into Knio:master Apr 9, 2026
8 checks passed
@hugovk hugovk deleted the add-3.14 branch April 9, 2026 14:21
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