Skip to content

Commit b0b477c

Browse files
committed
Updated pyproject to resolve hip-python error
1 parent deab9d8 commit b0b477c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ kernel_tuner = "kernel_tuner.interface:entry_point"
5959

6060
# ATTENTION: if anything is changed here, run `poetry update`
6161
[tool.poetry.dependencies]
62-
python = ">=3.10,<3.15" # NOTE when changing the supported Python versions, also change the test versions in the noxfile
63-
numpy = "^1.26.0" # Python 3.12 requires numpy at least 1.26
62+
python = ">=3.10,<3.15" # NOTE when changing the supported Python versions, also change the test versions in the noxfile
63+
numpy = "^1.26.0" # Python 3.12 requires numpy at least 1.26
6464
scipy = ">=1.14.1"
6565
packaging = "*" # required by file_utils
6666
jsonschema = "*"
@@ -82,7 +82,7 @@ pynvml = { version = "^11.4.1", optional = true }
8282
# OpenCL
8383
pyopencl = { version = "*", optional = true } # Attention: if pyopencl is changed here, also change `session.install("pyopencl")` in the Noxfile
8484
# HIP
85-
hip-python = { version = "*", optional = true }
85+
hip-python-fork = { version = "*", optional = true }
8686
# Tutorial (for the notebooks used in the examples)
8787
jupyter = { version = "^1.0.0", optional = true }
8888
matplotlib = { version = "^3.5.0", optional = true }
@@ -114,13 +114,14 @@ markupsafe = "^2.0.1" # TODO why do we need markupsafe here?
114114
optional = true
115115
[tool.poetry.group.test.dependencies]
116116
pytest = "^8.2.0"
117+
pytest-timeout = "^2.3.1"
117118
pytest-cov = "^5.0.0"
118119
mock = "^5.1.0"
119120
nox = "^2024.4.15"
120121
nox-poetry = "^1.0.3"
121122
ruff = "^0.4.4"
122123
pep440 = "^0.1.2"
123-
tomli = "^2.0.1" # held back by Python <= 3.10, can be replaced by built-in [tomllib](https://docs.python.org/3.11/library/tomllib.html) from Python 3.11 onwards
124+
tomli = "^2.0.1" # held back by Python <= 3.10, can be replaced by built-in [tomllib](https://docs.python.org/3.11/library/tomllib.html) from Python 3.11 onwards
124125

125126
# development dependencies are unused for now, as this is already covered by test and docs
126127
# # ATTENTION: if anything is changed here, run `poetry update`

0 commit comments

Comments
 (0)