developmentseed / tipg

Simple and Fast Geospatial OGC Features and Tiles API for PostGIS.
https://developmentseed.org/tipg/
MIT License
153 stars 23 forks source link

Pydantic 2 has some changes which break tipg #90

Closed RemcoMeeuwissen closed 1 year ago

RemcoMeeuwissen commented 1 year ago

For now I've fixed it in our deployment by adding pydantic == 1.10.11 in our requirements.txt, but if it breaks things for us I expect it will do so for others as well :sweat_smile:

vincentsarago commented 1 year ago

pydantic should be bounded by morecantile https://github.com/developmentseed/morecantile/blob/4.3.0/pyproject.toml#L25 so pip shouldn't install pydantic 2.0

RemcoMeeuwissen commented 1 year ago

Crap you're right, there was a pydantic[dotenv] requirement in there which caused the issue. Totally glanced over that, sorry!