Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update stac-fastapi and stac-pydantic requirements #118

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.*",
vincentsarago marked this conversation as resolved.
Show resolved Hide resolved
"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
Loading