Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
timeout-minutes: 10

services:
Expand Down
2 changes: 1 addition & 1 deletion stac_fastapi/pgstac/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"httpx",
],
"docs": ["mkdocs", "mkdocs-material", "pdocs"],
"server": ["uvicorn[standard]==0.17.0.post1"],
"server": ["uvicorn[standard]==0.19.0"],
"awslambda": ["mangum"],
}

Expand Down
2 changes: 1 addition & 1 deletion stac_fastapi/sqlalchemy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"requests",
],
"docs": ["mkdocs", "mkdocs-material", "pdocs"],
"server": ["uvicorn[standard]==0.17.0.post1"],
"server": ["uvicorn[standard]==0.19.0"],
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ class Queryables(str, AutoValueEnum):
dtype = "cog:dtype"
foo = "foo"

def __str__(self) -> str:
"""Return the Queryable's value as its __str__.

Python 3.11 changed the default __str__ behavior for Enums, and since we
can't use StrEnum (it was introduced in 3.11), we need to define our
expected behavior explicitly.
"""
return self.value


@dataclass
class QueryableTypes:
Expand Down