Skip to content

Commit 5d728f3

Browse files
committed
πŸ“Œ drop support for Python 3.10
1 parent dac1e16 commit 5d728f3

File tree

9 files changed

+93
-340
lines changed

9 files changed

+93
-340
lines changed

β€Ž.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65-
py: ["3.10", "3.11", "3.12", "3.13"]
65+
py: ["3.11", "3.12", "3.13"]
6666
steps:
6767
- uses: actions/checkout@v4
6868

@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
fail-fast: false
8282
matrix:
83-
py: ["3.10", "3.11", "3.12", "3.13"]
83+
py: ["3.11", "3.12", "3.13"]
8484
steps:
8585
- uses: actions/checkout@v4
8686

@@ -100,7 +100,7 @@ jobs:
100100
fail-fast: false
101101
matrix:
102102
os: [ubuntu-latest, macos-latest, windows-latest]
103-
py: ["3.10", "3.11", "3.12", "3.13"]
103+
py: ["3.11", "3.12", "3.13"]
104104
steps:
105105
- uses: actions/checkout@v4
106106

β€Ždocs/dev/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ installed. Now you can install the project with the dev dependencies:
99
uv sync
1010
```
1111

12-
You can also install it with a specific Python version, e.g. `3.10`, as
12+
You can also install it with a specific Python version, e.g. `3.11`, as
1313

1414
```shell
15-
uv sync --python 3.10
15+
uv sync --python 3.11
1616
```
1717

1818
## Linting and formatting with `ruff`
@@ -154,15 +154,13 @@ If all is good, then you should see something like this appear:
154154
ruff: OK βœ” in 0.05 seconds
155155
pytest: OK βœ” in 0.34 seconds
156156
3.11: OK βœ” in 20.44 seconds
157-
3.10: OK βœ” in 21.53 seconds
158157
3.12: OK βœ” in 22.32 seconds
159158
3.13: OK βœ” in 26.41 seconds
160159
basedpyright: OK βœ” in 27.33 seconds
161160
ruff: OK (0.05=setup[0.03]+cmd[0.01,0.01] seconds)
162161
pytest: OK (0.34=setup[0.02]+cmd[0.32] seconds)
163162
basedpyright: OK (27.33=setup[0.02]+cmd[27.31] seconds)
164163
mypy: OK (36.39=setup[0.02]+cmd[36.37] seconds)
165-
3.10: OK (21.53=setup[0.43]+cmd[21.10] seconds)
166164
3.11: OK (20.44=setup[0.42]+cmd[20.01] seconds)
167165
3.12: OK (22.32=setup[0.44]+cmd[21.88] seconds)
168166
3.13: OK (26.41=setup[0.48]+cmd[25.93] seconds)

β€Ždocs/user/differences.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ But the now concrete scalar types will no longer accept *any* `#!py floating[T]`
4444

4545
Type parameters can instead use an abstract scalar type as an upper bound. So instead of
4646

47-
/// tab | Python 3.10 and above
47+
/// tab | Python 3.11 and above
4848

4949
```py
5050
import numpy as np
@@ -71,7 +71,7 @@ def f[NT: npt.NBitBase](x: np.floating[NT]) -> np.floating[NT]: ...
7171

7272
you can write
7373

74-
/// tab | Python 3.10 and above
74+
/// tab | Python 3.11 and above
7575

7676
```py
7777
import numpy as np
@@ -98,7 +98,7 @@ As you can see, this also makes the code more readable.
9898

9999
But what if that isn't possible? For instance, you might have the following function:
100100

101-
/// tab | Python 3.10 and above
101+
/// tab | Python 3.11 and above
102102

103103
```py
104104
import numpy as np

β€Žpyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ classifiers = [
2323
"Operating System :: OS Independent",
2424
"Programming Language :: Python",
2525
"Programming Language :: Python :: 3",
26-
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
"Programming Language :: Python :: 3.12",
2928
"Programming Language :: Python :: 3.13",
@@ -35,7 +34,7 @@ packages = [
3534
{include = "src/numpy-stubs"},
3635
{include = "src/numtype"},
3736
]
38-
requires-python = ">=3.10"
37+
requires-python = ">=3.11"
3938
dependencies = []
4039

4140
[project.optional-dependencies]
@@ -62,7 +61,7 @@ list_and_test = [
6261
]
6362
types = [
6463
{include-group = "pytest"},
65-
"types-setuptools>=80.0.0.20250429",
64+
"types-setuptools>=80.1.0.20250503",
6665
"types-tabulate>=0.9.0.20241207",
6766
]
6867
basedpyright = [
@@ -269,7 +268,6 @@ env_list = [
269268
"pytest",
270269
"basedpyright",
271270
"mypy",
272-
"3.10",
273271
"3.11",
274272
"3.12",
275273
"3.13",

β€Žtool/stubtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# /// script
2-
# requires-python = ">=3.10"
2+
# requires-python = ">=3.11"
33
# dependencies = [
44
# "numtype[numpy]",
55
# "mypy[faster-cache]>=1.15.0", # keep in sync with pyproject.toml

β€Žtool/stubtest.py.lock

Lines changed: 18 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žtool/ufunc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# /// script
2-
# requires-python = ">=3.10"
2+
# requires-python = ">=3.11"
33
# dependencies = [
44
# "numtype[numpy]",
55
# "tabulate",

β€Žtool/ufunc.py.lock

Lines changed: 9 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)