Skip to content

Commit b11ad61

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

6 files changed

Lines changed: 393 additions & 499 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
python-version: ["3.10", "3.11", "3.12", "3.13"]
41+
python-version: ["3.11", "3.12", "3.13"]
4242
runs-on: [ubuntu-latest, macos-latest, windows-latest]
4343

4444
steps:
@@ -61,14 +61,14 @@ jobs:
6161
with:
6262
token: ${{ secrets.CODECOV_TOKEN }}
6363

64-
check_oldest:
64+
test_oldest:
6565
name: Check Oldest Dependencies
6666
runs-on: ${{ matrix.runs-on }}
6767
needs: [format]
6868
strategy:
6969
fail-fast: false
7070
matrix:
71-
python-version: ["3.10"]
71+
python-version: ["3.11"]
7272
runs-on: [ubuntu-latest]
7373

7474
steps:
@@ -92,7 +92,7 @@ jobs:
9292
status:
9393
name: CI Pass
9494
runs-on: ubuntu-latest
95-
needs: [format, tests, check_oldest]
95+
needs: [format, tests, test_oldest]
9696
if: always()
9797
steps:
9898
- name: All required jobs passed

.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: 2 additions & 3 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"
@@ -84,7 +83,7 @@ disallow_incomplete_defs = false
8483
disallow_untyped_defs = false
8584
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
8685
files = ["src"]
87-
python_version = "3.10"
86+
python_version = "3.11"
8887
strict = true
8988
warn_unreachable = true
9089
warn_unused_configs = true

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)