Skip to content

Add support for Python 3.15 - #1623

Merged
waylan merged 5 commits into
Python-Markdown:masterfrom
kytta:py315
Aug 24, 2026
Merged

Add support for Python 3.15#1623
waylan merged 5 commits into
Python-Markdown:masterfrom
kytta:py315

Conversation

@kytta

@kytta kytta commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Description

Python 3.15.0 rc1 is out. "release candidate" means that there will be no more ABI changes, and the API over all is now stable. It is now pretty much safe to test against and to specify support for it.

This PR adds Python 3.15 support to Markdown by enabling testing on it and adding a PyPI classifier.

AI Assistance Disclosure

  • No AI tools were used in preparing this PR.
  • If AI tools were used, I have disclosed which ones, and fully reviewed and verified their output.

Checklist

  • This PR follows the contribution guidelines.
  • The code follows the Code Style Guide.
  • The commit message follows the Commit Message Style Guide.
  • I have added or updated relevant docs, including release notes if applicable which follow the [Documentation Style Guide](Documentation Style Guide).
  • I have added or updated relevant tests. — not applicable
  • I have not requested, and will not request, an automated AI review for this PR.

@waylan

waylan commented Aug 21, 2026

Copy link
Copy Markdown
Member

As documented here, 3.10 is scheduled for end-of-life on the same day that 3.15 is scheduled to be officially released. Therefore, we generally drop support for the outgoing Python version at the same time that we add support for the new version. Let's do that here.

@kytta

kytta commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

Whoops, I missed that the two events happen at the same time here :D Sure, I will drop 3.10 when I'm back at my computer

@kytta

kytta commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

@waylan done; dropped Python 3.10 and PyPy 3.10, and removed importlib_metadata backport usage

@waylan

waylan commented Aug 24, 2026

Copy link
Copy Markdown
Member

Due to another unrelated PR being recently merged, you now have a merge conflict in the changelog. If you resolve that I'll merge this.

@kytta

kytta commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Done :)

@waylan
waylan merged commit 136df23 into Python-Markdown:master Aug 24, 2026
14 checks passed
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