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/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
ci:
uses: community-of-python/community-workflow/.github/workflows/preset.yml@main
with:
python-version: '["3.9","3.10","3.11","3.12","3.13"]'
python-version: '["3.10","3.11","3.12","3.13"]'
secrets: inherit
5 changes: 2 additions & 3 deletions microbootstrap/instruments/health_checks_instrument.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
from __future__ import annotations
import typing

import typing_extensions

from microbootstrap.instruments.base import BaseInstrumentConfig, Instrument


class HealthCheckTypedDict(typing_extensions.TypedDict, total=False):
service_version: typing.Optional[str] # noqa: UP045 (Litestar fails to build OpenAPI schema on Python 3.9)
service_name: typing.Optional[str] # noqa: UP045 (Litestar fails to build OpenAPI schema on Python 3.9)
service_version: str | None
service_name: str | None
health_status: bool


Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "microbootstrap"
description = "Package for bootstrapping new micro-services"
readme = "README.md"
requires-python = ">=3.9,<4"
requires-python = ">=3.10,<4"
keywords = [
"python",
"microservice",
Expand All @@ -23,7 +23,6 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -101,13 +100,13 @@ source = "vcs"
[tool.mypy]
plugins = ["pydantic.mypy"]
files = ["microbootstrap", "tests"]
python_version = "3.9"
python_version = "3.10"
strict = true
pretty = true
show_error_codes = true

[tool.ruff]
target-version = "py39"
target-version = "py310"
line-length = 120

[tool.ruff.format]
Expand Down