Skip to content

Commit bd3930b

Browse files
committed
drop support for Python 3.8
1 parent a02b4a5 commit bd3930b

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
python-version:
3333
- "3.14"
3434
include:
35-
- os: macos-latest
36-
python-version: "3.8"
3735
- os: windows-latest
3836
python-version: "3.9"
3937
- os: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ readme = "README.md"
88
authors = [
99
{ name = "Sebastián Ramírez", email = "tiangolo@gmail.com" }
1010
]
11-
requires-python = ">=3.8"
11+
requires-python = ">=3.9"
1212
classifiers = [
1313
"Intended Audience :: Information Technology",
1414
"Intended Audience :: System Administrators",
@@ -24,7 +24,6 @@ classifiers = [
2424
"Development Status :: 4 - Beta",
2525
"Intended Audience :: Developers",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
@@ -51,7 +50,6 @@ tests = [
5150
"pytest>=8.3.5",
5251
"ruff==0.14.14",
5352
"smokeshow>=0.5.0",
54-
"typing-extensions>=4.13.2 ; python_full_version < '3.9'",
5553
]
5654

5755
[build-system]

tests/test_main.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
import pickle
2-
import sys
2+
from typing import Annotated, get_type_hints
33

44
from annotated_doc import Doc
55

6-
if sys.version_info >= (3, 9):
7-
from typing import Annotated, get_type_hints
8-
else:
9-
from typing_extensions import Annotated, get_type_hints
10-
116

127
def test_doc_basic() -> None:
138
doc = Doc("This is a test documentation.")

0 commit comments

Comments
 (0)