Skip to content
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

Add support for Python 3.11 #563

Merged
merged 10 commits into from
Oct 31, 2022
Merged

Add support for Python 3.11 #563

merged 10 commits into from
Oct 31, 2022

Conversation

molinav
Copy link
Member

@molinav molinav commented Oct 31, 2022

Closes #561.

In principle, it is possible to use NumPy up to version 1.21.4
when building for Python >= 3.7, but the problem is that NumPy
versions from 1.21.2 to 1.21.6 add an explicit upper pin '<3.11'
which prevents `basemap` from being built successfully with the
recently released Python 3.11.

Since the goal here is to build the wheels with an old-enough
NumPy, we try here by downgrading NumPy at the build stage from
1.21.4 to 1.21.1, since NumPy 1.21.1 did not have this '<3.11'.

Note that we cannot go below NumPy 1.21.0 because then the MacOS
builds will fail due to a NumPy build bug.
@molinav molinav merged commit 5dd2864 into hotfix-1.3.6 Oct 31, 2022
@molinav molinav deleted the bugfix-561 branch October 31, 2022 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant