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

Remove 3.7-deprecated fontconfig api#27574

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

Closed

Conversation

bawejahritik
Copy link

@bawejahritikbawejahritik commentedDec 27, 2023
edited
Loading

PR summary

Removal of old and unused API that were marked as deprecated in 3.7 of Matplotlib and the corresponding test.
(issue#26865)

PR checklist

Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

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

Thanks for the PR - I've left a request to update the test intsead of removing it. Otherwise looks 👍



def test_fontconfig_unknown_constant():
with pytest.warns(DeprecationWarning):
Copy link
Member

Choose a reason for hiding this comment

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

Instead of deleting this test, could you change the warning check to an error check? That way we can make sure the error is raised as expected.

Copy link
Author

Choose a reason for hiding this comment

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

For sure, I'll do that!

Copy link
Author

Choose a reason for hiding this comment

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

I've added the test, please check

Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

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

Looks great! Could whoever merges this do a squash merge?

bawejahritik reacted with thumbs up emoji
@@ -1,7 +1,7 @@
import pytest
Copy link
Member

Choose a reason for hiding this comment

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

Sincepytest is a third party library, it was above the matplotlib import followingthe PEP8 style guide so ideally it should stay there.

Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
@QuLogicQuLogic changed the titleRemove 3.7-deprecated apiRemove 3.7-deprecated fontconfig apiJan 3, 2024
Copy link
Contributor

@anntzeranntzer left a comment

Choose a reason for hiding this comment

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

The correct fix is at#26884.

@ksunden
Copy link
Member

@bawejahritik Thanks for your interest, however we have merged the older pull request that included changes from related comments for this deprecation.

We hope to hear from you again!

@ksundenksunden closed thisJan 8, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rcomerrcomerrcomer left review comments

@anntzeranntzeranntzer requested changes

@dstansbydstansbydstansby approved these changes

Assignees
No one assigned
Projects
Status: Waiting for author
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

6 participants
@bawejahritik@ksunden@anntzer@dstansby@rcomer@melissawm

[8]ページ先頭

©2009-2025 Movatter.jp