Skip to content

Commit 0523916

Browse files
authored
BREAK: drop support for Python 3.9 (#37)
* MAINT: update syntax to Python 3.10
1 parent 8cb8968 commit 0523916

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ classifiers = [
1818
"Programming Language :: Python :: 3.12",
1919
"Programming Language :: Python :: 3.13",
2020
"Programming Language :: Python :: 3.14",
21-
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python",
2322
"Topic :: Documentation",
2423
"Topic :: Utilities",
@@ -40,7 +39,7 @@ keywords = [
4039
license = {text = "BSD 3-Clause License"}
4140
maintainers = [{email = "[email protected]"}]
4241
name = "sphinx-api-relink"
43-
requires-python = ">=3.9"
42+
requires-python = ">=3.10"
4443

4544
[project.readme]
4645
content-type = "text/markdown"

src/sphinx_api_relink/linkcode.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import sys
88
from functools import cache, lru_cache
99
from os.path import dirname, relpath
10-
from typing import TYPE_CHECKING, Any, Callable, TypedDict
10+
from typing import TYPE_CHECKING, Any, TypedDict
1111
from urllib.parse import quote
1212

1313
import requests
@@ -16,6 +16,7 @@
1616
from sphinx_api_relink.helpers import print_once
1717

1818
if TYPE_CHECKING:
19+
from collections.abc import Callable
1920
from types import ModuleType
2021

2122

0 commit comments

Comments
 (0)