Skip to content

Commit 9fc9913

Browse files
committed
Updated pyproject to resolve hip-python error
1 parent 40ed73f commit 9fc9913

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

pyproject.toml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,17 @@ repository = "https://github.com/KernelTuner/kernel_tuner"
5454
"Tracker" = "https://github.com/KernelTuner/kernel_tuner/issues"
5555
[tool.poetry.build]
5656
generate-setup-file = false
57+
[tool.poetry.scripts]
58+
kernel_tuner = "kernel_tuner.interface:entry_point"
5759

5860
# ATTENTION: if anything is changed here, run `poetry update`
5961
[tool.poetry.dependencies]
60-
python = ">=3.9,<3.13" # NOTE when changing the supported Python versions, also change the test versions in the noxfile
61-
numpy = "^1.26.0" # Python 3.12 requires numpy at least 1.26
62-
scipy = ">=1.11.0"
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
64+
scipy = ">=1.14.1"
6365
packaging = "*" # required by file_utils
6466
jsonschema = "*"
65-
python-constraint2 = "^2.0.0b5"
67+
python-constraint2 = "^2.1.0"
6668
xmltodict = "*"
6769
pandas = ">=2.0.0"
6870
scikit-learn = ">=1.0.2"
@@ -80,7 +82,7 @@ pynvml = { version = "^11.4.1", optional = true }
8082
# OpenCL
8183
pyopencl = { version = "*", optional = true } # Attention: if pyopencl is changed here, also change `session.install("pyopencl")` in the Noxfile
8284
# HIP
83-
hip-python = { version = "*", optional = true }
85+
hip-python-fork = { version = "*", optional = true }
8486
# Tutorial (for the notebooks used in the examples)
8587
jupyter = { version = "^1.0.0", optional = true }
8688
matplotlib = { version = "^3.5.0", optional = true }
@@ -107,18 +109,19 @@ markupsafe = "^2.0.1" # TODO why do we need markupsafe here?
107109
# sphinx-autodoc-typehints = "^1.24.0"
108110

109111
# ATTENTION: if anything is changed here, run `poetry update`
110-
# Please also run `poetry export -f requirements.txt --output doc/requirements_test.txt --with test`
112+
# Please also run `poetry export -f requirements.txt --output docs/requirements_test.txt --with test`
111113
[tool.poetry.group.test]
112114
optional = true
113115
[tool.poetry.group.test.dependencies]
114116
pytest = "^8.2.0"
117+
pytest-timeout = "^2.3.1"
115118
pytest-cov = "^5.0.0"
116119
mock = "^5.1.0"
117120
nox = "^2024.4.15"
118121
nox-poetry = "^1.0.3"
119122
ruff = "^0.4.4"
120123
pep440 = "^0.1.2"
121-
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
122125

123126
# development dependencies are unused for now, as this is already covered by test and docs
124127
# # ATTENTION: if anything is changed here, run `poetry update`
@@ -144,4 +147,4 @@ select = [
144147
"D", # pydocstyle,
145148
]
146149
[tool.ruff.pydocstyle]
147-
convention = "google"
150+
convention = "google"

0 commit comments

Comments
 (0)