Skip to content

Conversation

@kdeldycke
Copy link
Contributor

@kdeldycke kdeldycke commented Nov 24, 2025

mdformat-frontmatter is not compatible with mdformat 1.0.0, and seems unmaintained.

This PR replace it with mdformat-front-matters, which is actively maintained by @KyleKing and is becoming the de-facto frontmatter plugin in the mdformat universe, because of its adoption by mdformat-mkdocs.

This PR addresses #45.

Also to align the requirements with its dependencies, this PR bump the minimal Python version from 3.9 to 3.10. As a bonus, I activated tests on Python 3.14 and 3.15-dev.

Relates to:

@kdeldycke kdeldycke force-pushed the fix-mdformat-frontmatter-dependency branch 8 times, most recently from bb70265 to 487b64a Compare November 24, 2025 04:47
@kdeldycke kdeldycke changed the title ⬆️ UPGRADE: Replace mdformat-frontmatter with mdformat-front-matters ⬆️ Replace mdformat-frontmatter with mdformat-front-matters Nov 24, 2025
@kdeldycke
Copy link
Contributor Author

All tests are passing, this PR is ready to me merged upstream.

Copy link
Collaborator

@KyleKing KyleKing left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! I can approve, merge, and release once these comments are addressed

Run tests on Python 3.14 and 3.15-dev
@kdeldycke kdeldycke force-pushed the fix-mdformat-frontmatter-dependency branch from 487b64a to c71ac9b Compare November 24, 2025 17:07
Copy link
Collaborator

@KyleKing KyleKing left a comment

Choose a reason for hiding this comment

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

Thank you! LGTM!

@kdeldycke kdeldycke force-pushed the fix-mdformat-frontmatter-dependency branch from c71ac9b to 95a49af Compare November 27, 2025 06:18
@kdeldycke
Copy link
Contributor Author

This PR is ready to be merged upstream.

Even if @KyleKing is still working on a bug fix for YAML indention at KyleKing/mdformat-front-matters#10, I think we are safe to merge this PR and release a new mdformat-myst. Maybe v0.3.0 or even v1.0.0. Who's got authority on that repository?

@KyleKing
Copy link
Collaborator

I have the power to keep the lights on! I'll squash and release 0.3.0 since this is more inline with a zero-ver minor bump

@KyleKing KyleKing merged commit 6411901 into executablebooks:master Nov 27, 2025
15 checks passed
@kdeldycke
Copy link
Contributor Author

Thanks @KyleKing for the merge! 🎉

@kdeldycke kdeldycke deleted the fix-mdformat-frontmatter-dependency branch November 28, 2025 05:40
@kdeldycke
Copy link
Contributor Author

Just a side note: if I can find mdformat_myst 0.3.0 on PyPi, there is no tag in the repository and the GitHub release for 0.3.0 is missing.

@KyleKing
Copy link
Collaborator

It should be released? I'm seeing 0.3.0 in PyPi: https://pypi.org/project/mdformat_myst/0.3.0

It looks like this repository doesn't have automatic releases: https://github.com/executablebooks/mdformat-myst/actions/runs/19745551258/job/56579111943. I'll make the release now!

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.

mdformat_myst not compatible with mdformat 1.0.0 because of mdformat_frontmatter

2 participants