Skip to content

ENH: Warn on unsupported Python 3.10+#17443

Merged
charris merged 7 commits intonumpy:masterfrom
hugovk:warn-3.9-plus
Oct 4, 2020
Merged

ENH: Warn on unsupported Python 3.10+#17443
charris merged 7 commits intonumpy:masterfrom
hugovk:warn-3.9-plus

Conversation

@hugovk
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

hugovk commented Oct 4, 2020

Shall I bump it to 3.10+?

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@charris
Copy link
Copy Markdown
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:52
hugovk and others added 2 commits October 4, 2020 14:59
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@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
Copy Markdown
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