Skip to content

Commit a7b9cba

Browse files
committed
📌 require python>=3.11
1 parent fe2b9f3 commit a7b9cba

File tree

6 files changed

+11
-107
lines changed

6 files changed

+11
-107
lines changed

‎CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ Ensure you have [`uv`](https://docs.astral.sh/uv/getting-started/installation/)
2424
installed. Now you can install the project with the dev dependencies:
2525

2626
```shell
27-
uv sync --python 3.10
27+
uv sync --python 3.11
2828
```
2929

30-
By installing the lowest support Python version (3.10 in this example), it prevents
30+
By installing the lowest support Python version (3.11 in this example), it prevents
3131
your IDE from e.g. auto-importing unsupported `typing` features.
3232

3333
### Tox

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ ______________________________________________________________________
8888
- ... even in the strict mode
8989
- compatible with the [Python Typing Spec](https://typing.readthedocs.io/en/latest/spec/index.html)
9090
- [SPEC 0](https://scientific-python.org/specs/spec-0000/) compliant
91-
- Supports Python ≥ 3.10
92-
- Supports NumPy ≥ 1.23.5
91+
- Supports Python ≥ 3.11
92+
- Supports NumPy ≥ 1.25.2
9393

9494
<!-- NOTE: SciPy permalinks to the following `#installation` anchor; don't modify it! -->
9595

@@ -161,7 +161,7 @@ Even though `scipy-stubs` doesn't enforce an upper bound on the `scipy` version,
161161
fully compatible.
162162

163163
There are no additional restrictions enforced by `scipy-stubs` on the `numpy` requirements.
164-
For `scipy[-stubs]` `1.14.*` and `1.15.*` that is `numpy >= 1.23.5`.
164+
For `scipy-stubs==1.16.*` that is `numpy >= 1.25.2`.
165165

166166
Currently, `scipy-stubs` has one required dependency: [`optype`](https://github.com/jorenham/optype).
167167
This is essential for `scipy-stubs` to work properly, as it relies heavily on it for annotating (shaped) array-likes,

‎pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
55

66
[project]
77
name = "scipy-stubs"
8-
version = "1.15.3.1.dev0"
8+
version = "1.16.0.0.dev0"
99
description = "Type annotations for SciPy"
1010
readme = "README.md"
1111
authors = [
@@ -24,13 +24,12 @@ classifiers = [
2424
"Operating System :: OS Independent",
2525
"Programming Language :: Python",
2626
"Programming Language :: Python :: 3",
27-
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",
2928
"Programming Language :: Python :: 3.12",
3029
"Programming Language :: Python :: 3.13",
3130
"Typing :: Stubs Only",
3231
]
33-
requires-python = ">=3.10"
32+
requires-python = ">=3.11"
3433
dependencies = ["optype>=0.9.3"]
3534

3635
[project.optional-dependencies]

‎scripts/generate_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
PACKAGE_NAME: Final = "scipy"
1717
DEPENDENCY_NAME: Final = "numpy"
1818
MIN_VERSIONS: Final = (
19-
(Version("3.11"), Version("1.24")),
19+
(Version("3.11"), Version("1.25")),
2020
(Version("3.12"), Version("1.26")),
2121
(Version("3.13"), Version("2.1")),
2222
)

‎tox.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
min_version = "4"
22
requires = ["tox-uv>=1"]
3-
env_list = ["lint", "pyright", "mypy", "3.13", "3.12", "3.11", "3.10"]
3+
env_list = ["lint", "pyright", "mypy", "3.13", "3.12", "3.11"]
44

55
[env_run_base]
66
description = "stubtest with {base_python}"

0 commit comments

Comments
 (0)