Skip to content

Remove Python 3.9 support - #255

Merged
ogrisel merged 6 commits into
joblib:masterfrom
DeaMariaLeon:drop-py39
Sep 22, 2026
Merged

ogrisel merged 6 commits into
joblib:masterfrom
DeaMariaLeon:drop-py39

Conversation

@DeaMariaLeon

@DeaMariaLeon DeaMariaLeon commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Addresses #238

It looks like black pinned version 25.1.0 doesn't support Python 3.14, so I didn't add it.
https://github.com/psf/black/blob/25.1.0/src/black/mode.py

@DeaMariaLeon DeaMariaLeon changed the title Remove Python 3.9 Remove Python 3.9 support Sep 21, 2026
@DeaMariaLeon
DeaMariaLeon marked this pull request as ready for review September 21, 2026 16:02

@ogrisel ogrisel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @DeaMariaLeon. LGTM once the following is addressed.

Comment thread pyproject.toml Outdated
[tool.black]
line-length = 88
target_version = ['py39', 'py310', 'py311', 'py312', 'py313']
target_version = ['py310', 'py311', 'py312', 'py313']

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can probably add 'py314' and maybe even 'py315' to the mix.

@DeaMariaLeon DeaMariaLeon Sep 22, 2026

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.

To add 'py314' I had to change black's pinned version and change a text format in threadpoolctl.py to make the CI happy.

@ogrisel
ogrisel merged commit f6bef5d into joblib:master Sep 22, 2026
26 checks passed
@ogrisel

ogrisel commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR. Maybe we could switch to ruff if you are interested in doing a follow-up contrib.

@DeaMariaLeon

Copy link
Copy Markdown
Contributor Author

Yes, sure. Thanks.

@DeaMariaLeon
DeaMariaLeon deleted the drop-py39 branch September 22, 2026 10:35
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