Skip to content

rasterio>1.3.11 fails #328

@dfguerrerom

Description

@dfguerrerom

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions