Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Introduce backend versions#30777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
timhoffm wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromtimhoffm:doc-backend-version

Conversation

@timhoffm
Copy link
Member

Closes#30559.

As explained in#30559, I believe this will help us mid-term to evolve the backend API. It's currently unused because the 1.1 API is detected via introspection. But we don't want to depend on introspection in the future.

Note: Introducing backend versioning is low-risk. Worst case is that we don't need this versioning and discard it again later.

@github-actionsgithub-actionsbot added the Documentation: user guidefiles in galleries/users_explain or doc/users labelNov 22, 2025
@anntzer
Copy link
Contributor

If we choose to do this (which is not something I'm not really convinced of, as I've mentioned in#30559, but I agree it's low cost), then I think the version numbers should just match the Matplotlib release numberswhere backend API changes occur and we should just have a table listing changes to the backend API, e.g. the current backend API could be 3.8 if (hypothetically) mpl3.8 was the last release where a breaking change occurred.

@timhoffm
Copy link
MemberAuthor

I believe we should have a dedicated backend version scheme independent of matplotlib version numbers, because we want to communicate EffVer semantics on the backend. That’s not possible when just taking the matplotlib version number.

@jklymak
Copy link
Member

jklymak commentedNov 28, 2025
edited
Loading

My vote would be that going with Matplotlib major versions would be a lot less confusing. But maybe there are other projects that version subsets of their APIs differently from their project version?

@timhoffm
Copy link
MemberAuthor

When you look at REST APIs, explicit versioning of the API is common and good practice. I'd argure that our backend API is semantically quite the same.

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

Reviewers

@QuLogicQuLogicQuLogic left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

Documentation: user guidefiles in galleries/users_explain or doc/users

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[ENH]: Backend versioning

4 participants

@timhoffm@anntzer@jklymak@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp