Skip to content

Commit 053cead

Browse files
committed
refactor: pull out hdf5 backend (in uhi now)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent b8fc8dc commit 053cead

File tree

5 files changed

+2
-234
lines changed

5 files changed

+2
-234
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,8 @@ jobs:
6161
include:
6262
- python-version: "3.9"
6363
cmake-extras: "-DCMAKE_CXX_STANDARD=17"
64-
extras: h5py
6564
- python-version: "3.11"
66-
extras: h5py
6765
- python-version: "3.13"
68-
extras: h5py
6966
- python-version: "3.13t"
7067
- python-version: "pypy3.10"
7168

@@ -90,11 +87,7 @@ jobs:
9087
create-symlink: true
9188

9289
- name: Install python tools
93-
run: uv pip install --system --python=python --group github ${{ matrix.extras }}
94-
95-
- name: Also install hdf5 if supported
96-
if: matrix.python-version == '3.11' || matrix.python-version == '3.13'
97-
run: uv pip install --system --python=python h5py
90+
run: uv pip install --system --python=python --group github
9891

9992
- name: Configure
10093
run: cmake --preset default ${{ matrix.cmake-extras }}

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def pylint(session: nox.Session) -> None:
114114
"""
115115

116116
session.install("pylint==3.3.*")
117-
session.install("-e.[hdf5]")
117+
session.install("-e.")
118118
session.run("pylint", "boost_histogram", *session.posargs)
119119

120120

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ Discussions = "https://github.com/scikit-hep/boost-histogram/discussions"
6060
Documentation = "https://boost-histogram.readthedocs.io/"
6161
Homepage = "https://github.com/scikit-hep/boost-histogram"
6262

63-
[project.optional-dependencies]
64-
hdf5 = ["h5py"]
65-
6663

6764
[dependency-groups]
6865
dev = [

src/boost_histogram/serialization/hdf5.py

Lines changed: 0 additions & 91 deletions
This file was deleted.

tests/test_hdf5.py

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)