The proj_api.h header and the functions related to it is considered deprecated from version 5.0.0 and onwards. The header will be removed from PROJ in version 7.0.0 scheduled for release February 1st 2020.
This applies to trace.pyx.
_Originally posted by @dopplershift in https://github.com/SciTools/cartopy/issues/1045#issuecomment-390043613_
xref to jswhit/pyproj#152
I would be happy to take a stab at it if no one else is planning to do it anytime soon.
Now that proj 6 is out, it might be nice to define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for the proper proj_version until the API update is complete.
Just a heads up, PROJ 7 is now out...
Looks like removing proj_api.h has been postponed to 8.0 according to OSGeo/PROJ#837. Which explains how cartopy was built against PROJ 7.1 on conda-forge. I'd love to solve this by taking a stab at #1477.
The proj_api.h has been removed from the PROJ src code. Change will be released in PROJ 8.
Most helpful comment
Looks like removing
proj_api.hhas been postponed to 8.0 according to OSGeo/PROJ#837. Which explains how cartopy was built against PROJ 7.1 on conda-forge. I'd love to solve this by taking a stab at #1477.