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

Add CPython 3.10 wheels#20819

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
QuLogic merged 2 commits intomatplotlib:masterfromhrnciar:wheels-py3.10
Sep 13, 2021
Merged

Conversation

hrnciar
Copy link
Contributor

PR Summary

This PR modifiescibuildwheel.yml to create wheels for Python 3.10. I propose this as a draft because it is currently blocked on numpy's wheel (numpy/numpy#19630).

PR Checklist

  • [N/A] Has pytest style unit tests (andpytest passes).
  • [N/A] IsFlake 8 compliant (runflake8 on changed files to check).
  • [N/A] New features are documented, with examples if plot related.
  • [N/A] Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • [N/A] Conforms to Matplotlib style conventions (installflake8-docstrings and runflake8 --docstring-convention=all).
  • [N/A] New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • [N/A] API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).

Copy link

@github-actionsgithub-actionsbot 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 while, please feel free to ping@matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

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

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

Comment on lines 72 to 69
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
CIBW_MANYLINUX_I686_IMAGE: manylinux2010
Copy link
Member

Choose a reason for hiding this comment

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

I guess there's no point to use manylinux1 for Python 3.10 now?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Yes, Python 3.10 does not support manylinux1 and it was failing with it.

Choose a reason for hiding this comment

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

There's actually no point to use manylinux1 for 3.9 either - the last reason for manylinux1 was the weird hack of attaching pip 9 topython3.8-dev on Ubuntu 18.04. NumPy does not ship manylinux1 wheels for 3.9 anymore.

Choose a reason for hiding this comment

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

The 3.10 wheels for numpy are manylinux2014. I suppose here we should do the same?

@tacaswelltacaswell linked an issueAug 14, 2021 that may beclosed by this pull request
@tacaswelltacaswell marked this pull request as ready for reviewAugust 14, 2021 23:17
@tacaswelltacaswell marked this pull request as draftAugust 14, 2021 23:21
@tacaswell
Copy link
Member

Sorry for the draft thrashing, I was optomistic that the numpy issue being closed meant they had uploaded wheels already.

@hrnciar
Copy link
ContributorAuthor

@tacaswell numpy 1.21.2 was released and wheels are available. My PR works for Linux and Windows wheels, but I am getting an error on macOS build. It seems to me like an error in Numpy, WDYT?https://github.com/hrnciar/matplotlib/runs/3338097720

@henryiii
Copy link

numpy 1.21.2 was released and wheels are available. My PR works for Linux and Windows wheels, but I am getting an error on macOS build.

Only 64-bit linux (Intel and ARM) wheels are included. There are no Windows or macOS wheels. NumPy on macOS requires special setup because it can't use the buggy and deprecated built-in Accelerate framework.

@rgommers
Copy link

NumPy on macOS requires special setup because it can't use the buggy and deprecated built-in Accelerate framework.

Not quite true anymore, Accelerate was re-enabled innumpy.distutils recently after some work by Apple. But we still use OpenBLAS for wheels. And it will not be re-enabled for SciPy.

@QuLogic
Copy link
Member

I think this will need a rebase.

But while this is likely to pass a build, it does not mean that tests are passing, due to problems in our dependencies, see#20864 (comment)

@tacaswelltacaswell marked this pull request as ready for reviewAugust 28, 2021 19:53
@tacaswelltacaswell added this to thev3.5.0 milestoneAug 28, 2021
@tacaswell
Copy link
Member

Put on the 3.5.0 milestone so we get auto backporting when this is merged.

@QuLogic
Copy link
Member

If we skip macOS, we can getwheels on Linux and Windows.

However, as notedabove, NumPy only builds manylinux2014 wheels for 3.10. This means that our build somewhat needlessly rebuilds NumPy, and we should probably switch that to build manylinux2014 only.

@QuLogic
Copy link
Member

I skipped macOS and bumped 3.10 wheels to manylinux2014:https://github.com/QuLogic/matplotlib/runs/3489831873 There don't appear to be 32-bit wheels for NumPy, so those still get rebuilt, so not sure if that saved anything.

@hroncok
Copy link

Let's skip 32bit wheels as well? They can always be added later.

tacaswell reacted with thumbs up emoji

@QuLogic
Copy link
Member

I mean, they build, just a bit slower; no need to skip them.

@tacaswell
Copy link
Member

@QuLogic if you think this is ready to go please self-merge.

@QuLogicQuLogic merged commit38bfebc intomatplotlib:masterSep 13, 2021
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestSep 13, 2021
QuLogic added a commit that referenced this pull requestSep 14, 2021
…819-on-v3.5.xBackport PR#20819 on branch v3.5.x (Add CPython 3.10 wheels)
tacaswell pushed a commit that referenced this pull requestOct 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic left review comments

@hroncokhroncokhroncok left review comments

@henryiiihenryiiihenryiii left review comments

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@tacaswelltacaswelltacaswell approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.5.0
Development

Successfully merging this pull request may close these issues.

Python 3.10 manylinux wheels
6 participants
@hrnciar@tacaswell@henryiii@rgommers@QuLogic@hroncok

[8]ページ先頭

©2009-2025 Movatter.jp