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

TST: Make refcount tests more resilient to Python changes#29970

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

Merged
tacaswell merged 1 commit intomatplotlib:mainfromQuLogic:test-quiver-refcount
Apr 28, 2025

Conversation

QuLogic
Copy link
Member

@QuLogicQuLogic commentedApr 26, 2025
edited by timhoffm
Loading

PR summary

Check the change of the refcount, instead of the absolute value, as suggested by@ngoldbaum in#29959 (comment).

I did not test against Python 3.14, but perhaps@befeleme could.

PR checklist

Check the change of the refcount, instead of the absolute value, assuggested by@ngoldbaum.
@QuLogicQuLogic added this to thev3.10.2 milestoneApr 26, 2025
qk.remove()
assert sys.getrefcount(qk)== 2
assert sys.getrefcount(qk)< orig_refcount
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
assertsys.getrefcount(qk)<orig_refcount
assertsys.getrefcount(qk)==orig_refcount-1

? If not, feel free to self merge.

@tacaswell
Copy link
Member

Testing this I also foundpandas-dev/pandas#61368

@tacaswell
Copy link
Member

Merging this on top of#29393 the two reference count tests pass again (I also see a pandas failure, a webagg failure, and all the sphinx tests fail (but those look like installation / build issues from some c-extension caused by wheels), a tz test that is a dependency installation issue, and something with pgf that I have not investigated yet).

@tacaswelltacaswell merged commit828ec6f intomatplotlib:mainApr 28, 2025
41 of 43 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestApr 28, 2025
dstansby added a commit that referenced this pull requestApr 28, 2025
…970-on-v3.10.xBackport PR#29970 on branch v3.10.x (TST: Make refcount tests more resilient to Python changes)
@QuLogicQuLogic deleted the test-quiver-refcount branchApril 29, 2025 05:10
@ksundenksunden mentioned this pull requestMay 9, 2025
5 tasks
@befeleme
Copy link

Matplotlib builds successfully with Python 3.14.0b1 in Fedora. Thank you!

@tacaswell
Copy link
Member

@befeleme Are you also carrying the deepcopy patch?

@befeleme
Copy link

Yes

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

@timhoffmtimhoffmtimhoffm approved these changes

@oscargusoscargusoscargus approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.10.3
Development

Successfully merging this pull request may close these issues.

5 participants
@QuLogic@tacaswell@befeleme@timhoffm@oscargus

[8]ページ先頭

©2009-2025 Movatter.jp