Skip to content

Commit

Permalink
update stac-fastapi and stac-pydantic requirements (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed May 22, 2024
1 parent 9d5525d commit 81162c6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
8 changes: 7 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [Unreleased]

## [3.0.0a1] - 2024-05-22

- Update stac-fastapi libraries to `~=3.0.0a1`
- Update stac-pydantic dependency to `==3.1.*`

## [3.0.0a0] - 2024-05-10

### Changed
Expand Down Expand Up @@ -308,7 +313,8 @@ As a part of this release, this repository was extracted from the main

- First PyPi release!

[Unreleased]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a0..main>
[Unreleased]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a1..main>
[3.0.0a1]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a0..3.0.0a1>
[3.0.0a0]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.5.0..3.0.0a0>
[2.5.0]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.4.11..2.5.0>
[2.4.11]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.4.10..2.4.11>
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"attrs",
"orjson",
"pydantic",
"stac_pydantic==3.0.*",
"stac-fastapi.api~=3.0.0a0",
"stac-fastapi.extensions~=3.0.0a0",
"stac-fastapi.types~=3.0.0a0",
"stac_pydantic==3.1.*",
"stac-fastapi.api~=3.0.0a1",
"stac-fastapi.extensions~=3.0.0a1",
"stac-fastapi.types~=3.0.0a1",
"asyncpg",
"buildpg",
"brotli_asgi",
Expand Down
13 changes: 8 additions & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,17 @@ async def pgstac(database):
@pytest.fixture(
params=[
# hydratation, prefix
(False, ""),
(False, "/router_prefix"),
(True, ""),
(True, "/router_prefix"),
(False, "", False),
(False, "/router_prefix", False),
(True, "", False),
(True, "/router_prefix", False),
(False, "", True),
(True, "", True),
],
scope="session",
)
def api_client(request, database):
hydrate, prefix = request.param
hydrate, prefix, response_model = request.param

api_settings = Settings(
postgres_user=database.user,
Expand All @@ -106,6 +108,7 @@ def api_client(request, database):
postgres_port=database.port,
postgres_dbname=database.dbname,
use_api_hydrate=hydrate,
enable_response_models=response_model,
testing=True,
)

Expand Down

0 comments on commit 81162c6

Please sign in to comment.