Drop support for Python 3.8 (#1696)

This commit is contained in:
Sebastián Ramírez
2025-12-26 03:23:00 -08:00
committed by GitHub
parent 028ad29203
commit 056232ab45
21 changed files with 185 additions and 224 deletions

View File

@@ -1,6 +1,6 @@
import importlib
from types import ModuleType
from typing import Any, Dict, List, Union
from typing import Any, Union
import pytest
from sqlmodel import create_engine
@@ -8,7 +8,7 @@ from sqlmodel import create_engine
from ...conftest import PrintMock, needs_py310
def check_calls(calls: List[List[Union[str, Dict[str, Any]]]]):
def check_calls(calls: list[list[Union[str, dict[str, Any]]]]):
assert calls[0][0] == {
"name": "Deadpond",
"secret_name": "Dive Wilson",

View File

@@ -1,6 +1,6 @@
import importlib
from types import ModuleType
from typing import Any, Dict, List, Union
from typing import Any, Union
import pytest
from sqlmodel import create_engine
@@ -8,7 +8,7 @@ from sqlmodel import create_engine
from ...conftest import PrintMock, needs_py310
def check_calls(calls: List[List[Union[str, Dict[str, Any]]]]):
def check_calls(calls: list[list[Union[str, dict[str, Any]]]]):
assert calls[0][0] == [
{
"name": "Deadpond",