mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-26 01:40:36 -04:00
⚰️ Remove Python 3.8 from CI and remove Python 3.8 examples from source docs (#14559)
Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com> Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
99ef383398
commit
ed97d9dc0c
@@ -9,7 +9,7 @@ from sqlalchemy import StaticPool
|
||||
from sqlmodel import SQLModel, create_engine
|
||||
from sqlmodel.main import default_registry
|
||||
|
||||
from tests.utils import needs_py39, needs_py310
|
||||
from tests.utils import needs_py310
|
||||
|
||||
|
||||
def clear_sqlmodel():
|
||||
@@ -22,11 +22,9 @@ def clear_sqlmodel():
|
||||
@pytest.fixture(
|
||||
name="client",
|
||||
params=[
|
||||
"tutorial001",
|
||||
pytest.param("tutorial001_py39", marks=needs_py39),
|
||||
pytest.param("tutorial001_py39"),
|
||||
pytest.param("tutorial001_py310", marks=needs_py310),
|
||||
"tutorial001_an",
|
||||
pytest.param("tutorial001_an_py39", marks=needs_py39),
|
||||
pytest.param("tutorial001_an_py39"),
|
||||
pytest.param("tutorial001_an_py310", marks=needs_py310),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -9,7 +9,7 @@ from sqlalchemy import StaticPool
|
||||
from sqlmodel import SQLModel, create_engine
|
||||
from sqlmodel.main import default_registry
|
||||
|
||||
from tests.utils import needs_py39, needs_py310
|
||||
from tests.utils import needs_py310
|
||||
|
||||
|
||||
def clear_sqlmodel():
|
||||
@@ -22,11 +22,9 @@ def clear_sqlmodel():
|
||||
@pytest.fixture(
|
||||
name="client",
|
||||
params=[
|
||||
"tutorial002",
|
||||
pytest.param("tutorial002_py39", marks=needs_py39),
|
||||
pytest.param("tutorial002_py39"),
|
||||
pytest.param("tutorial002_py310", marks=needs_py310),
|
||||
"tutorial002_an",
|
||||
pytest.param("tutorial002_an_py39", marks=needs_py39),
|
||||
pytest.param("tutorial002_an_py39"),
|
||||
pytest.param("tutorial002_an_py310", marks=needs_py310),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user