cogeotiff / rio-cogeo

Cloud Optimized GeoTIFF creation and validation plugin for rasterio
https://cogeotiff.github.io/rio-cogeo/
BSD 3-Clause "New" or "Revised" License
308 stars 42 forks source link

Pydantic 2.0 incompatible with morecantile #270

Closed stefan-jozefowicz-bayer closed 1 year ago

stefan-jozefowicz-bayer commented 1 year ago

I have run into issues using rio-cogeo due to pydantic 2+ breaking morecantile. Morecantile maintainers have recently pinned dependent pydantic versions at 1.X:

https://github.com/developmentseed/morecantile/issues/127

rio-cogeo now has a hard pydantic 2+ requirement.

vincentsarago commented 1 year ago

Latest version (5.0) has direct requirements for pydantic 2.0 Version 4.0.1 has requirement for pydantic 1.0 Earlier version might have incompatible requirements but you're telling which one you are using neither the error message you are getting