Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI: Add CI to test matplotlib against free-threaded Python #28610

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from

Conversation

andfoy
Copy link
Contributor

@andfoy andfoy commented Jul 23, 2024

PR summary

See #28611

This PR enables testing matplotlib against free-threaded Python, this is part of the ongoing effort to test projects against the changes proposed in PEP703

For more information see the following related PRs in other projects:

PR checklist

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

@andfoy
Copy link
Contributor Author

andfoy commented Jul 26, 2024

Tests are passing now!

@andfoy andfoy marked this pull request as ready for review July 26, 2024 00:37
@tacaswell tacaswell added this to the v3.10.0 milestone Jul 26, 2024
@tacaswell
Copy link
Member

I do have a slight concern that this has significant copy-paste from the rest of our tests, but I also see an argument that this is easier to deal with than adding conditionals to the existing test ymls.

@andfoy
Copy link
Contributor Author

andfoy commented Jul 26, 2024

@tacaswell I 100% agree with your assessment, however, as this new file could disappear once there are proper wheels for all the upstream dependencies (after Python 3.13 release), it can be used to set potential individual tweaks for future free-threaded releases.

@andfoy
Copy link
Contributor Author

andfoy commented Aug 5, 2024

@tacaswell I think this PR is ready for review!

Copy link
Member

@tacaswell tacaswell left a comment

Choose a reason for hiding this comment

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

I am 👍 in principle, but would like @ksunden or @QuLogic to have the final review.

@tacaswell
Copy link
Member

Can you please fix the linting issue ?

Comment on lines +53 to +56
uses: deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0
with:
python-version: "3.13"
nogil: true
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
uses: deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0
with:
python-version: "3.13"
nogil: true
uses: deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0
with:
python-version: "3.13"
nogil: true

In addition, the whole file should be dedented by 4 spaces (aside from the first line which has no spaces)

@QuLogic
Copy link
Member

QuLogic commented Aug 9, 2024

Thanks for the PR! I have rolled all these changes into #28689.

@QuLogic QuLogic closed this Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for author
Development

Successfully merging this pull request may close these issues.

4 participants