Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
max-parallel: 60
matrix:
os: [ubuntu-24.04]
python-version: ['3.11', '3.12', '3.13', '3.14']
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']
test-type: [unittest, search, docs]
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: cp311-* cp312-* cp313-* cp314-*
CIBW_BUILD: cp311-* cp312-* cp313-* cp314-* cp315-*
CIBW_SKIP: "*musllinux*"
CIBW_ARCHS_MACOS: x86_64 arm64
- name: Upload wheels
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mac-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
max-parallel: 5
matrix:
os: [macos-latest]
python-version:
- '3.11'
- '3.12'
- '3.13'
- '3.14'
- '3.15'

steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
Expand Down
4 changes: 2 additions & 2 deletions pycbc/frame/gwosc_hdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from pathlib import Path

import h5py
import lal
from lal import LIGOTimeGPS

_HDF5_SIGNATURE = b"\x89HDF\r\n\x1a\n"

Expand Down Expand Up @@ -106,7 +106,7 @@ def read(path, channel, start, end, check_integrity=False): # noqa: ARG001
"""
with h5py.File(path, "r") as f:
dset = _dataset(f, channel)
epoch = lal.LIGOTimeGPS(float(dset.attrs["Xstart"]))
epoch = LIGOTimeGPS(float(dset.attrs["Xstart"]))
delta_t = float(dset.attrs["Xspacing"])
# Choose samples as lalframe does (see LALFrStreamReadTS_source.c):
# start at the first sample after `start`, or at a sample within
Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ requires = ["setuptools>=70.0.0",
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64"]

[tool.pixi.system-requirements]
macos = "14.0"

[tool.pixi.dependencies]
c-compiler = "*"
cxx-compiler = "*"
Expand All @@ -19,6 +22,10 @@ mpi = { version = "*", build = "openmpi" }
fftw = "*"
pytest = "*"
graphviz = "*"
hdf5 = "*"
librdkafka = "*"
healpix_cxx = "*"
pkg-config = "*"

[tool.pixi.pypi-dependencies]
coverage = "*"
Expand Down Expand Up @@ -56,7 +63,7 @@ mpi4py = "*"
[tool.pixi.feature.inference.dependencies]

[tool.pixi.feature.docs.target.linux-64.pypi-dependencies]
cupy-cuda12x = "*"
cupy-cuda12x = { version = "*", env-markers = "python_version < '3.15'" }

[tool.pixi.target.linux-64.dependencies]
mkl = "*"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# requirements for most basic library use
astropy>=2.0.3,!=4.2.1,!=4.0.5
Mako>=1.0.1
scipy>=0.16.0,<1.17.0
scipy>=0.16.0
matplotlib>=2.0.0
numpy>=2.0.0,!=2.2.2
pillow
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def get_reqs_from_file(filename):
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
Expand Down
7 changes: 5 additions & 2 deletions test/test_io_hgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,20 @@ def test_create_dataset_has_checksum(self):
)
should_be_checksummed.append("data_np_str_array")

# Variable-length string datasets are not checked either way:
# whether HDF5 accepts fletcher32 on them depends on its
# version (2.0.0 and older reject it), and HFile falls back
# to no checksum when it is rejected.

# Make a dataset from some string data
f.create_dataset(
"data_str_list",
data=str_list,
dtype=h5py.string_dtype("utf-8"),
)
should_not_be_checksummed.append("data_str_list")

# Make an object array from some string data
f.create_dataset("data_obj_list", data=np.array(str_list, dtype=object))
should_not_be_checksummed.append("data_obj_list")

# Make a datasets from scalars:
f.create_dataset("data_scalar_with_dtype", data=0, dtype="f8")
Expand Down
Loading