Skip to content

Commit b5b901c

Browse files
committed
⬆️ dep-bump(python): 3.11+
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
1 parent c1bbc41 commit b5b901c

5 files changed

Lines changed: 388 additions & 494 deletions

File tree

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10
1+
3.11

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ classifiers = [
1111
"Programming Language :: Python",
1212
"Programming Language :: Python :: 3",
1313
"Programming Language :: Python :: 3 :: Only",
14-
"Programming Language :: Python :: 3.10",
1514
"Programming Language :: Python :: 3.11",
1615
"Programming Language :: Python :: 3.12",
1716
"Programming Language :: Python :: 3.13",
@@ -24,7 +23,7 @@ dynamic = ["version"]
2423
license.file = "LICENSE"
2524
name = "dataclassish"
2625
readme = "README.md"
27-
requires-python = ">=3.10"
26+
requires-python = ">=3.11"
2827

2928
[project.urls]
3029
"Bug Tracker" = "https://github.com/GalacticDynamics/dataclassish/issues"

src/dataclassish/_src/converters.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@
2727
Any,
2828
ClassVar,
2929
Generic,
30+
NotRequired,
3031
Protocol,
3132
TypedDict,
3233
TypeVar,
3334
cast,
3435
overload,
3536
)
36-
from typing_extensions import NotRequired, dataclass_transform
37+
from typing_extensions import dataclass_transform
3738

3839
ArgT = TypeVar("ArgT") # Input type
3940
RetT = TypeVar("RetT") # Return type

src/dataclassish/_src/flag_compat.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
from collections.abc import Iterable
66
from dataclasses import Field
7-
from typing import Any, cast
8-
from typing_extensions import Never
7+
from typing import Any, Never, cast
98

109
from plum import dispatch
1110

0 commit comments

Comments
 (0)