inbo / niche_vlaanderen

Python package to run the NICHE Vlaanderen model
https://inbo.github.io/niche_vlaanderen/
MIT License
5 stars 0 forks source link

failing test with rasterio 1.3.5 #333

Closed johanvdw closed 2 months ago

johanvdw commented 1 year ago

https://github.com/inbo/niche_vlaanderen/actions/runs/4163797817/jobs/7204633361

Collecting rasterio
  Downloading rasterio-1.3.5.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.0/20.0 MB 90.8 

FAILED tests/test_flooding.py::TestFlooding::test_calculate_arcgis - rasterio.errors.RasterioIOError: 'tests/data/ff_bt_t10_h' not recognized as a supported file format.

../../../.local/lib/python3.10/site-packages/rasterio/env.py:451: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

fp = 'tests/data/ff_bt_t10_h', mode = 'r', driver = None, width = None
height = None, count = None, crs = None, transform = None, dtype = None
nodata = None, sharing = False, kwargs = {}
raw_dataset_path = 'tests/data/ff_bt_t10_h'
path = _UnparsedPath(path='tests/data/ff_bt_t10_h')

Note local build works: rasterio==1.2.10

also previous test: Collecting rasterio Downloading rasterio-1.3.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.9 MB)

works

maybe bug in rasterio?

johanvdw commented 1 year ago

reported in rasterio: https://github.com/rasterio/rasterio-wheels/issues/103

johanvdw commented 2 months ago

Fixed upstream.