Skip to content

Commit 271cf48

Browse files
committed
NumPy V2.0: guidata is not ready (yet)
1 parent bff081e commit 271cf48

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

guidata/tests/widgets/test_collectionseditor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ def __init__(self):
102102
"ddataframe": test_df,
103103
"None": None,
104104
"unsupported1": np.arccos,
105-
"unsupported2": np.cast,
106105
# Test for Issue #3518
107106
"big_struct_array": np.zeros(
108107
1000, dtype=[("ID", "f8"), ("param1", "f8", 5000)]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ classifiers = [
3838
"Topic :: Utilities",
3939
]
4040
requires-python = ">=3.8, <4"
41-
dependencies = ["h5py>=3.0", "NumPy>=1.21", "QtPy>=1.9", "requests", "tomli"]
41+
dependencies = ["h5py>=3.0", "NumPy>=1.21 <2", "QtPy>=1.9", "requests", "tomli"]
4242
dynamic = ["version"]
4343

4444
[project.urls]
@@ -79,7 +79,7 @@ target-version = "py38" # Assume Pyth
7979

8080
[tool.ruff.lint]
8181
# all rules can be found here: https://beta.ruff.rs/docs/rules/
82-
select = ["E", "F", "W", "I"]
82+
select = ["E", "F", "W", "I", "NPY201"]
8383
ignore = [
8484
"E203", # space before : (needed for how black formats slicing)
8585
]

0 commit comments

Comments
 (0)