Skip to content

Commit 80853fd

Browse files
jorenhamnstarman
andcommitted
optype!
📌 pin the correct python version ⬆️ update optype version Co-authored-by: Nathaniel Starkman <nstarman@users.noreply.github.com>
1 parent b59c191 commit 80853fd

File tree

3 files changed

+372
-335
lines changed

3 files changed

+372
-335
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ classifiers = [
2727
]
2828
dependencies = [
2929
"typing-extensions>=4.14.1",
30+
"optype>=0.9.3; python_version < '3.11'",
31+
"optype>=0.12.2; python_version >= '3.11'",
3032
]
3133

3234
[project.urls]

tests/integration/test_numpy1.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import Any
22

33
# requires numpy < 2
4-
import numpy.array_api as np
4+
import numpy.array_api as np # type: ignore[import-not-found]
55

66
import array_api_typing as xpt
77

0 commit comments

Comments
 (0)