You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still no new release with numpy 2.4 compatibility... Maybe you could release a 2.0.1 with this only fix ?
By the way a numpy 2.5 compatibility would also be great !
In my case, I just edited the setup.py and pyproject.toml to have numpy and python version that includes numpy 2.5 and python 3.14. I know this is a shady solution, but for me it is working without any problems when I am using basemap.
Activity
wreckdump commentedon Jan 13, 2026
Having same problem with python <3.14 and with numpy 2.4.1.
DavidVadnais commentedon May 1, 2026
From yaml (below)
and python says (yes I activated conda env temp)
then
pip install basemap ... Downloading numpy-2.3.5-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (16.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.6/16.6 MB 3.6 MB/s 0:00:04 Installing collected packages: numpy Attempting uninstall: numpy Found existing installation: numpy 2.4.3 Uninstalling numpy-2.4.3: Successfully uninstalled numpy-2.4.3 Successfully installed numpy-2.3.5Notably conda is unaware of this change so
conda list | grep -i numpy numpy 2.4.3 py314h2b28147_0 conda-forgewreckdump commentedon May 1, 2026
So, are you saying that basemap works on conda environement? Thanks.
DavidVadnais commentedon May 1, 2026
@wreckdump Conda will pull numpy 2.4 and ignore the pypi pin of [2.0, 2.3]
Then if you try to pip install it will downgrade numpy. If you only use conda it should work.
This should be resolved between these prs:
#648
conda-forge/basemap-feedstock#156
conda-forge/conda-forge-repodata-patches-feedstock#1194
DavidVadnais commentedon May 3, 2026
Testing after the the merge requests (below) were merged. Looks like the versions are pinned to match as expected.
conda-forge/basemap-feedstock#156
conda-forge/conda-forge-repodata-patches-feedstock#1194
from yaml
Finally
thebaptiste commentedon May 3, 2026
But the issue was to ask for a new release of basemap with numpy 2.4 compatibility (regardless conda) ! Don't you intend to do it ?
DavidVadnais commentedon May 3, 2026
I'm happy to help but I think its already done.
#648
Is there anything I can do that isn't covered in the @juntyr's pr?
thebaptiste commentedon May 4, 2026
It's done by #648 but this pull request has not been approved...
molinav commentedon May 4, 2026
I have just merged the associated PR, sorry for the delay.
I will try to find some time this week to look at the other open PRs and prepare a new patch release.
thebaptiste commentedon Aug 10, 2026
Still no new release with numpy 2.4 compatibility... Maybe you could release a 2.0.1 with this only fix ?
By the way a numpy 2.5 compatibility would also be great !
wreckdump commentedon Aug 10, 2026
In my case, I just edited the setup.py and pyproject.toml to have numpy and python version that includes numpy 2.5 and python 3.14. I know this is a shady solution, but for me it is working without any problems when I am using basemap.