Skip to content

Commit

Permalink
Fixes for numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Jun 21, 2024
1 parent 4cc7906 commit 24da89d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/strings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 24da89d

Please sign in to comment.