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

ci: Re-add tests with optimization enabled#29549

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
QuLogic wants to merge5 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromQuLogic:opt-tests

Conversation

QuLogic
Copy link
Member

PR summary

Note that a few tests require skips, as they check for docstrings.

This PR also fixes testing with LTO disabled (it previously just set a variable in the matrix and did nothing with it.)

Fixes#10312

PR checklist

@QuLogicQuLogic added topic: testing CI: testingCI configuration and testing labelsJan 30, 2025
@QuLogic
Copy link
MemberAuthor

It seems to have timed out; I suspect that it's one of the backend tests that I don't have the library for, which isn't runningasserts and just continuing on without cancelling.

@QuLogic
Copy link
MemberAuthor

I made some changes to ensure thatasserts work in subprocesses, but that doesn't appear to have fixed it yet.

Also, skip a few tests that only work with docstrings enabled.Fixesmatplotlib#10312
The jobs matrix doesn't set any environment variables, so thewithout-LTO job just set `CFLAGS` in the matrix, which was never usedfor anything as intended.
This means that:1. assertion failures look a little better2. assertions actually happen if optimization is enabled
It doesn't seem to support it, and is not really updated by upstream.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
CI: testingCI configuration and testingtopic: testing
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

tests fail when PYTHONOPTIMIZE is set
1 participant
@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp