Skip to content

Commit

Permalink
update pgstac to 0.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Apr 26, 2024
1 parent 9887fdc commit f594078
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## [Unreleased]

### Changed

- update pgstac version to `0.8.x`

## [2.5.0] - 2024-04-25

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:

database:
container_name: stac-db
image: ghcr.io/stac-utils/pgstac:v0.7.10
image: ghcr.io/stac-utils/pgstac:v0.8.5
environment:
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"buildpg",
"brotli_asgi",
"pygeofilter>=0.2",
"pypgstac==0.7.*",
"pypgstac==0.8.*",
]

extra_reqs = {
"dev": [
"pystac[validation]",
"pypgstac[psycopg]==0.7.*",
"pypgstac[psycopg]==0.8.*",
"pytest-postgresql",
"pytest",
"pytest-cov",
Expand Down
2 changes: 0 additions & 2 deletions tests/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ async def test_base_queryables(load_test_data, app_client, load_test_collection)
assert q["type"] == "object"
assert "properties" in q
assert "id" in q["properties"]
assert "eo:cloud_cover" in q["properties"]


@pytest.mark.asyncio
Expand All @@ -488,7 +487,6 @@ async def test_collection_queryables(load_test_data, app_client, load_test_colle
assert q["type"] == "object"
assert "properties" in q
assert "id" in q["properties"]
assert "eo:cloud_cover" in q["properties"]


@pytest.mark.asyncio
Expand Down
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ async def pgstac(database):
@pytest.fixture(
params=[
# hydratation, prefix
(False, ""),
(False, "/router_prefix"),
# (False, ""),
# (False, "/router_prefix"),
(True, ""),
(True, "/router_prefix"),
# (True, "/router_prefix"),
],
scope="session",
)
Expand Down

0 comments on commit f594078

Please sign in to comment.