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

Skip to content

ENH: Warn on unsupported Python 3.10+ #17443

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

Merged
merged 7 commits into from
Oct 4, 2020
Merged

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Oct 4, 2020

Fixes #17349.

First commit (f3a6b33): warn when installing on unsupported (new) Python versions.

Based on the similar warning we have in Pillow:

(Not sure if this is an ENT or MAINT.)


Second commit (2ebb453): whilst editing setup.py, I also fixed some Flake8 warnings in there. Let me know if I should drop this commit, or parts of it.

@charris
Copy link
Member

charris commented Oct 4, 2020

Python 3.9 will be released tomorrow and numpy 1.19.3+ will will support it.

@hugovk
Copy link
Contributor Author

hugovk commented Oct 4, 2020

Shall I bump it to 3.10+?

@charris
Copy link
Member

charris commented Oct 4, 2020

Shall I bump it to 3.10+?

Yes. 1.19.x already builds with 3.9, we are just waiting for 3.9 to show up on the various platforms for which we produce binary wheels. In general, we try to have a release out within a week or two of the Python release and have working code for the late betas. We can probably update the version when we start testing against it.

hugovk and others added 2 commits October 4, 2020 14:59
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Oct 4, 2020
@hugovk hugovk changed the title ENH: Warn on unsupported Python 3.9+ ENH: Warn on unsupported Python 3.10+ Oct 4, 2020
@charris charris merged commit 7f1cef6 into numpy:master Oct 4, 2020
@charris
Copy link
Member

charris commented Oct 4, 2020

Thanks @hugovk .

@hugovk hugovk deleted the warn-3.9-plus branch October 4, 2020 14:26
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update PyPI classifiers to not install with unsupported Python versions
3 participants