Skip to content

Commit 8b21331

Browse files
Drop Python3.9 and bump kwave to v0.4.0 (#399)
Pin numpy<2 for compatibility with onnxruntime 1.18.0, which was compiled against NumPy 1.x and fails to import with NumPy 2.x. onnxruntime is pinned to 1.18.0 due to Windows DLL issues in newer versions (see #309).
1 parent fa2ebb1 commit 8b21331

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
python-version: ["3.9", "3.12"]
45+
python-version: ["3.10", "3.12"]
4646
runs-on: [ubuntu-latest, windows-latest, macos-latest]
4747

4848
steps:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Installation
2020
Requirements
2121
~~~~~~~~~~~~
2222

23-
Python 3.9-3.12 on Windows or Linux.
23+
Python 3.10-3.12 on Windows or Linux.
2424

2525
Create Virtual Environment
2626
~~~~~~~~~~~~~~~~~~~~~~~~~~

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = [
1111
description = "Openwater Focused Ultrasound Toolkit"
1212
readme = "README.rst"
1313
license.file = "LICENSE"
14-
requires-python = ">=3.9"
14+
requires-python = ">=3.10"
1515
classifiers = [
1616
"Development Status :: 1 - Planning",
1717
"Intended Audience :: Science/Research",
@@ -21,7 +21,6 @@ classifiers = [
2121
"Programming Language :: Python",
2222
"Programming Language :: Python :: 3",
2323
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
"Programming Language :: Python :: 3.12",
@@ -31,7 +30,7 @@ classifiers = [
3130
dynamic = ["version"]
3231
dependencies = [
3332
"xarray[io]",
34-
"numpy",
33+
"numpy<2",
3534
"matplotlib",
3635
"pandas",
3736
"scipy",
@@ -44,7 +43,7 @@ dependencies = [
4443
"ipykernel",
4544
"pyserial",
4645
"crcmod",
47-
"k-wave-python==0.3.4",
46+
"k-wave-python==0.4.0",
4847
"nvidia-ml-py",
4948
"OpenEXR",
5049
"scikit-image",

0 commit comments

Comments
 (0)