It probably has to do with some of their pinned upper limits for basemap dependencies. It may not be numpy 2.0 compatible yet, but even with numpy 1.26.4 installed, it still fails to build. I've opened an issue on their github: matplotlib/basemap#608