Skip to content

Conversation

@vincentsarago
Copy link
Member

in #303 the tests are failing because we install pypgstac==0.8.x which doesn't use the hydraters package.

We can still tests PgSTAC 0.8.x but using pypgstac 0.9.x. This PR refactor the CI and tests to test both versions and add more python version to the matrix

The tests are a bit longer to run because we have 2 matrices: PgSTAC_version / hydration-prefix-validation. I believe we should refactor the tests in another PR to remove the second matrix

@vincentsarago vincentsarago changed the base branch from main to patch/item-assets-change October 28, 2025 09:20
"brotli_asgi",
"cql2>=0.3.6",
"pypgstac>=0.8,<0.10",
"pypgstac>=0.9,<0.10",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be considered as a breaking change but IMO a minor version release should be fine

@vincentsarago vincentsarago force-pushed the refactor/pgstac-version-tests branch from 7d9938b to ff7b02b Compare October 28, 2025 15:14
@vincentsarago
Copy link
Member Author

tests ran at https://github.com/stac-utils/stac-fastapi-pgstac/actions/runs/18879804290 🟢

it takes around 16min now, I'll create an issue to try to reduce this

@vincentsarago vincentsarago merged commit e41f8d1 into patch/item-assets-change Oct 28, 2025
8 checks passed
@vincentsarago vincentsarago deleted the refactor/pgstac-version-tests branch October 28, 2025 19:33
vincentsarago added a commit that referenced this pull request Oct 30, 2025
* check potential issue with change of collection body

* adapt tests

* more tests

* update

* update docs

* remove space

* Update README.md

* exclude hydrate markers

* Refactor/pgstac version tests (#305)

* update pypgstac version and tests multiple versions

* use python 3.11

* revert

---------

Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants