-
Notifications
You must be signed in to change notification settings - Fork 368
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
Cartopy now requires Proj version 8.0.0 but webpage says only needs 4.9.0 #1879
Comments
The reason the docs still say Proj 4.9 is because those docs are for 0.19. We are waiting on SciTools/scitools.org.uk#245 to get merged to get the 0.20 docs posted, which should be correct. With regards to making 8.0 optional, I believe there were reasons in #1808 that we needed to move beyond Proj 6.3. @snowman2 can you add anything about that? |
@dopplershift, the error comes from the |
Actually, I take that back. This setup has the potential to be unstable and isn't tested in the cartopy CI tests, so the pin at PROJ 8+ makes sense for now. |
This is, however, a bit problematic, since it makes |
Once #1832 is resolved, this shouldn't be an issue (assuming you don't mind using the |
I don't, but most people don't install by cloning the current repository but rather by installing the PyPi release with pip. |
Forgive me if this is not the right thread for that but, in line with previous questions, I was wondering whether it would be possible to make cartopy a little more backward compatible and extend support for proj < 8 in order to make life easier for LTS users that are still using 6 something? |
If someone wants to try to figure out how to get cartooy working with earlier versions of PROJ and submit a PR, I bet the change would be welcome. The tests failed with earlier versions, so we opted to move the PROJ pin for now. |
Supporting a slightly earlier version of libproj would be very welcome.
|
I see that the issue is still open yet. But is there any workaround possible ? Thanks |
@RaviBeagle The workaround appears to be to install Proj from source. I got a working script here for one specific Docker image. It's Dockerfile, not strictly bash, and may need to be tweaked a bit for other versions of Ubuntu or Proj/Cartopy, but it should be close to what most folks need. |
v0.21 is out and there is no longer a minimum required PROJ. All PROJ requirements are handled by pyproj now. |
This appears to be a result of the very recent latest release.
Attempting to install Cartopy on my machine says
Proj version 6.3.1 is installed, but cartopy requires at least version 8.0.0.
Contrarily, https://scitools.org.uk/cartopy/docs/latest/installing.html#installing indicates Proj only needs to be 4.9.0 or better. I'm struggling to get my Proj to version 8.0.0, but that's a separate issue from Cartopy.
Would it be possible to make the 8.0.0 Proj optional? It appears to only be used for one particular feature.
The text was updated successfully, but these errors were encountered: