Skip to content

add support for python 3.13, remove support for 3.9#97

Draft
muxator wants to merge 6 commits into
mainfrom
support-python3.13
Draft

add support for python 3.13, remove support for 3.9#97
muxator wants to merge 6 commits into
mainfrom
support-python3.13

Conversation

@muxator
Copy link
Copy Markdown

@muxator muxator commented Apr 4, 2025

DO NOT MERGE YET

This PR introduces support for python 3.13 in black-it and removes support for 3.9.

After the recent PRs the changes needed to support a new Python version are not very scattered.

However, I would recommend to upgrade Pandas to 2.x before integrating the support for Python 3.13.

The reason is that Pandas 1.5.x has no binary wheel for recent pythons.

We had to remove support for python3.9, because the latest SciPy version that supported 3.9 was 1.13.1, which distributes no binary wheel for python 3.13.

Dropping python 3.9 raises SciPy to 1.15.3, which offers wheels for python 3.10-3.13.
Installing black-it would require a recompilation on all the platforms, and this would be really hard for users.

@muxator muxator marked this pull request as draft April 4, 2025 08:16
@muxator muxator force-pushed the support-python3.13 branch from 3b042ab to 4b2e9e4 Compare April 4, 2025 08:16
We'll also need to remove support for python 3.9, otherwise users will have
difficulty installing SciPy 3.13, which has no binary wheel for python 3.13.
@muxator muxator force-pushed the support-python3.13 branch 2 times, most recently from 2532c94 to d9c984d Compare April 4, 2025 09:38
muxator added 5 commits April 4, 2025 11:46
This allows us to move from scipy 1.13.1, that offers no binary wheels for
python 3.13 to 1.15.3, which does.

We had to manually align `.spelling`, `README.md` and `docs/index.md`. See the
commit message to e148881 for a reflection about what could be done to
automatize it.
Identified with:
    ruff check --unsafe-fixes --select=B905

But used "strict=True" instead of False.
Identified with:
    ruff check  --select=UP

And fixed manually.
Identified with:
    ruff check --unsafe-fixes --select=TC003  --diff
@muxator muxator force-pushed the support-python3.13 branch from 85b253a to 7f37039 Compare April 4, 2025 12:02
@muxator muxator changed the title support python3.13 add support for python 3.13, remove support for 3.9 Nov 14, 2025
@muxator muxator force-pushed the support-python3.13 branch 4 times, most recently from 6e5cf0c to 2078b58 Compare November 17, 2025 09:34
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.

1 participant