Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump numpy from 1.26.4 to 2.0.0 #188

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions exdir/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,7 @@ def _reset_data(self, value, attrs, meta):
shape=value.shape
)

if len(value.shape) == 0:
# scalars need to be set with itemset
self._data_memmap.itemset(value)
else:
# replace the contents with the value
self._data_memmap[:] = value
self._data_memmap[...] = value

# update attributes and plugin metadata
if attrs:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ h5py==3.11.0
# via -r requirements.in
iniconfig==1.1.1
# via pytest
numpy==1.26.4
numpy==2.0.0
# via
# -r requirements.in
# h5py
Expand Down
Loading