-
I am attempting to upgrade from stac-fastapi v3 backed by pgstac to v4, resulting a diff like so in -"stac-fastapi.api" = ">=3, <4"
-"stac-fastapi.types" = ">=3, <4"
-"stac-fastapi.extensions" = ">=3, <4"
-"stac-fastapi.pgstac" = ">=3, <4"
+"stac-fastapi.api" = ">=4, <5"
+"stac-fastapi.types" = ">=4, <5"
+"stac-fastapi.extensions" = ">=4, <5"
+"stac-fastapi.pgstac" = ">=4, <5" However, dependencies are failing to resolve since it appears to be the case that all stac-fastapi-pgstac v4 versions depends on stac-fastapi 5+:
Is it possible to use stac-fastapi-pgstac v4.* with stac-fastapi v4.*? I can't seem to find any version of stac-fastapi-pgstac that accepts stac-fastapi v4. If this is an oversight, would it be possible to publish a new patch version 4.0.4 of stac-fastapi-pgstac that allows usage of stac-fastapi v4+? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @pcaisse thanks for opening this discussion. The versioning between There has been a lot of development in My recommendation would be to do the full upgrade up to the latest versions of |
Beta Was this translation helpful? Give feedback.
Hi @pcaisse thanks for opening this discussion. The versioning between
stac-fastapi
(stac_fastapi.api
) andstac-fastapi-pgstac (
stac_fastapi.pgstac`) is slightly confusing because they are not directly linked. It is just a coincidence that they have the same major versions today.There has been a lot of development in
stac-fastapi
over the last few months and version 4.0 was extremely short-lived, sostac-fastapi-pgstac
never got a release that supported it (see the changelog for stac-fastapi-pgstac v3.0 to v4.0).My recommendation would be to do the full upgrade up to the latest versions of
stac_fastapi.api
(>=5.0) andstac_fastapi.pgstac
(>=5.0) all at once.