Skip to content

Commit

Permalink
Bump numpy from 1.26.4 to 2.0.0 (#47)
Browse files Browse the repository at this point in the history
* Bump numpy from 1.26.4 to 2.0.0

Bumps [numpy](https://github.com/numpy/numpy) from 1.26.4 to 2.0.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.26.4...v2.0.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update environment.yml

* Fix size check

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Janssen <jan-janssen@users.noreply.github.com>
Co-authored-by: Jan Janssen <janssen@mpie.de>
  • Loading branch information
3 people authored Jun 17, 2024
1 parent 62e49d8 commit ffb21e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci_support/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ dependencies:
- coverage
- h5io =0.2.3
- h5py =3.11.0
- numpy =1.26.4
- numpy =2.0.0
- pandas =2.2.2
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [
dependencies = [
"h5io==0.2.3",
"h5py==3.11.0",
"numpy==1.26.4",
"numpy==2.0.0",
"pandas==2.2.2",
]
dynamic = ["version"]
Expand Down
5 changes: 1 addition & 4 deletions tests/test_pointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ def test_navigate_hierarchical_file(self):
p = Pointer(file_name=self.file_name, h5_path="/data_hierarchical")
self.assertFalse(p.is_empty)
self.assertTrue(p.file_exists)
if os.name == "nt":
self.assertEqual(p.file_size(), 6170)
else:
self.assertEqual(p.file_size(), 6182)
self.assertEqual(p.file_size(), 6182)
self.assertEqual(p["a"], self.data_hierarchical["/data_hierarchical/a"])
self.assertEqual(
p["c"].h5_path,
Expand Down

0 comments on commit ffb21e1

Please sign in to comment.