Skip to content

Commit

Permalink
Merge pull request #300 from t20100/require-h5py-3
Browse files Browse the repository at this point in the history
Dependencies: Required h5py>=3
  • Loading branch information
kif authored Jul 3, 2024
2 parents 9a97a0e + 3d35dae commit 2c3a3b4
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 131 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@ jobs:
fail-fast: false
matrix:
include:
- name-suffix: "wheel-h5py_2.8.0"
- name-suffix: "wheel-h5py_3.0.0"
os: ubuntu-latest
python-version: '3.7'
OLDEST_DEPENDENCIES: 'h5py==2.8.0'
OLDEST_DEPENDENCIES: 'h5py==3.0.0 "numpy<2"'

- name-suffix: "sdist-h5py_2.10.0"
- name-suffix: "sdist-h5py_3.6.0"
os: ubuntu-latest
python-version: '3.8'
OLDEST_DEPENDENCIES: 'h5py==2.10.0 numpy==1.23.5'
python-version: '3.10'
OLDEST_DEPENDENCIES: 'h5py==3.6.0 "numpy<2"'

- name-suffix: "wheel-h5py_3.10.0"
os: ubuntu-latest
python-version: '3.12'
OLDEST_DEPENDENCIES: 'h5py==3.10.0 "numpy<2"'

- name-suffix: "wheel-h5py_2.10.0"
- name-suffix: "wheel-h5py_3.0.0"
os: macos-13
python-version: '3.7.16'
OLDEST_DEPENDENCIES: 'h5py==2.10.0 "numpy<2"'
OLDEST_DEPENDENCIES: 'h5py==3.0.0 "numpy<2"'
env:
MACOSX_DEPLOYMENT_TARGET: 10.15

- name-suffix: "wheel-h5py_3.8.0"
- name-suffix: "wheel-h5py_3.10.0"
os: macos-13
python-version: '3.10.8'
OLDEST_DEPENDENCIES: 'h5py==3.8.0 "numpy<2"'
OLDEST_DEPENDENCIES: 'h5py==3.10.0 "numpy<2"'

steps:
- uses: actions/checkout@v4
Expand All @@ -71,8 +71,8 @@ jobs:
python test/test.py
build_wheels_macos:
name: Build ARM64 wheels on macos-11
runs-on: macos-11
name: Build ARM64 wheels on macos-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: pypa/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ environment:
- BUILD_PY_PATH: "C:\\Python37-x64;C:\\Python37-x64\\Scripts"
TEST_PY_PATH: "C:\\Miniconda37-x64;C:\\Miniconda37-x64\\Library\\mingw-w64\\bin;C:\\Miniconda37-x64\\Library\\usr\\bin;C:\\Miniconda37-x64\\Library\\bin;C:\\Miniconda37-x64\\Scripts;C:\\Miniconda37-x64\\bin;C:\\Miniconda37-x64\\condabin"
INSTALL_CMD: "conda install -y"
OLDEST_DEPENDENCIES: "h5py==2.8.0 numpy<2"
OLDEST_DEPENDENCIES: "h5py==3.0.0 numpy<2"


install:
Expand Down
2 changes: 1 addition & 1 deletion doc/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Sample code:
# Compression
f = h5py.File('test.h5', 'w')
f.create_dataset('data', data=numpy.arange(100), **hdf5plugin.LZ4())
f.create_dataset('data', data=numpy.arange(100), compression=hdf5plugin.LZ4())
f.close()
# Decompression
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["h5py"]
dependencies = ["h5py>=3.0.0"]
dynamic = ["version"]

[project.urls]
Expand Down
Loading

0 comments on commit 2c3a3b4

Please sign in to comment.