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

rasterio>1.3.11 fails #328

Open
dfguerrerom opened this issue Sep 6, 2024 · 0 comments
Open

rasterio>1.3.11 fails #328

dfguerrerom opened this issue Sep 6, 2024 · 0 comments

Comments

@dfguerrerom
Copy link
Contributor

dfguerrerom commented Sep 6, 2024

If we do (with rasterio==1.3.11):

from rasterio.crs import CRS
CRS.from_epsg(3857)

It raises:
image

This is because latest rasterio==1.3.11 uses latest proj==9.4.1 version and sepal has pinned the latest available version of proj for this jammy:

sepal-user@sepal:~$ apt-cache madison gdal-bin
  gdal-bin | 3.8.4+dfsg-1~jammy0 | https://ppa.launchpadcontent.net/ubuntugis/ubuntugis-unstable/ubuntu jammy/main amd64 Packages
  gdal-bin | 3.4.1+dfsg-1build4 | http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
sepal-user@sepal:~$ apt-cache madison proj-bin
  proj-bin | 9.3.1-1~jammy0 | https://ppa.launchpadcontent.net/ubuntugis/ubuntugis-unstable/ubuntu jammy/main amd64 Packages
  proj-bin |    8.2.1-1 | http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

We should pin rasterio<1.3.11 and / or wait if at some point there's a new version of gdal-bin for jammy...

dfguerrerom added a commit to sepal-contrib/basin-rivers that referenced this issue Sep 6, 2024
dfguerrerom added a commit that referenced this issue Sep 6, 2024
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

No branches or pull requests

1 participant