Skip to content

[Markdown] Update to ~=3.11.4 - #16909

Open
chiliec wants to merge 1 commit into
python:mainfrom
chiliec:markdown-3.11.4
Open

chiliec wants to merge 1 commit into
python:mainfrom
chiliec:markdown-3.11.4

Conversation

@chiliec

@chiliec chiliec commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Markdown 3.11.4 reworked DelimiterProcessor's caching: increment_next_position was replaced by build_cache, get_cached_result lost its data parameter and pos became optional, and a new EvaluatedText str subclass was added. This updates the stubs to match.

Closes #16906

Tested locally with tests/stubtest_third_party.py Markdown (5 errors before, passes after), plus mypy_test and pyright_test on stubs/Markdown.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This needs a version bump in METADATA.toml.

@chiliec

chiliec commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

The bump is already in this PR: stubs/Markdown/METADATA.toml goes from ~=3.11.3 to ~=3.11.4 (the first file in the diff). 3.11.4 is the latest Markdown release. Did you mean something else?

This branch has not been deployed

No deployments
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.

Daily tests failed on Thu Nov 26 2026

2 participants