Skip to content

Commit 5a43070

Browse files
authored
Drop Python 3.8 support and add Python 3.12 (#302)
* Drop Python 3.8 support and add Python 3.12 * Ignore mypy check in a compatibility workaround * poetry lock with poetry 1.8.5
1 parent 60319aa commit 5a43070

File tree

5 files changed

+908
-829
lines changed

5 files changed

+908
-829
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
strategy:
114114
fail-fast: true
115115
matrix:
116-
python-version: ["3.8", "3.9", "3.10", "3.11"]
116+
python-version: ["3.9", "3.10", "3.11", "3.12"]
117117
pydantic: ["2.x"]
118118
include:
119119
- python-version: "3.11"

circuit_maintenance_parser/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Parser(BaseModel):
4343
def get_data_types(cls) -> List[str]:
4444
"""Return the expected data type."""
4545
try:
46-
return cls._data_types.get_default()
46+
return cls._data_types.get_default() # type: ignore[attr-defined]
4747
except AttributeError:
4848
# TODO: This exception handling is required for Pydantic 1.x compatibility. To be removed when the dependency is deprecated.
4949
return cls()._data_types

0 commit comments

Comments
 (0)