Skip to content

MNT: Remove pre-commit/rstcheck dependency on tomli#31648

Open
timhoffm wants to merge 1 commit into
matplotlib:mainfrom
timhoffm:precommit-rstcheck-dependencies
Open

MNT: Remove pre-commit/rstcheck dependency on tomli#31648
timhoffm wants to merge 1 commit into
matplotlib:mainfrom
timhoffm:precommit-rstcheck-dependencies

Conversation

@timhoffm
Copy link
Copy Markdown
Member

This was only needed to support python<=3.11 and is thus not needed anymore on the main branch.

I'm unclear whether we should also remove sphinx>=1.8.1. It's far off and I'm quite sure we do not systematically specify lower compatibility boundaries.

This was only needed to support python<=3.11 and is thus not needed
anymore on the main branch.

I'm unclear whether we should also remove `sphinx>=1.8.1`. It's
far off and I'm quite sure we do not systematically specify lower
compatibility boundaries.
@matplotlib matplotlib deleted a comment May 10, 2026
@QuLogic
Copy link
Copy Markdown
Member

QuLogic commented May 16, 2026

python<=3.11

It probably should be >=3.12, but main branch is still >=3.11?

@timhoffm
Copy link
Copy Markdown
Member Author

timhoffm commented May 16, 2026

Sorry, should have been "python<3.11".

In full: tomllib was introduced in 3.11. So as soon as we require python>=3.11 (which we do on main), we can exclusively rely on tomllib. tomli was needed to support python<3.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants