diff --git a/pyproject.toml b/pyproject.toml index fcc5378..db25552 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ classifiers = [ ] dependencies = [ - "numpy >=1.13.0, <2", + "numpy >=1.13.0, <2.1", "cpyparsing >=2.4.7, <=2.5", "platformdirs >=3, <=5", "dataclasses_json >=0.6, <=1.0", diff --git a/tests/strings_test.py b/tests/strings_test.py index 05e7b44..71e50de 100644 --- a/tests/strings_test.py +++ b/tests/strings_test.py @@ -100,7 +100,7 @@ def test_str_alloc_sub_realloc(self): def test_str_array_type_chceck(self): with pytest.raises(TypeError) as cm: - x.a_str_exp_1d = np.zeros(5, dtype=np.unicode_) + x.a_str_exp_1d = np.zeros(5, dtype=np.str_) def test_str_func_inout_str(self, capfd): z = np.array(