Skip to content

Commit df7d487

Browse files
committed
Updated dev-environment, changelog, dependencies
1 parent f3b9991 commit df7d487

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## Unreleased
6+
<!-- ## [1.1.0] - 2025 ?? -->
7+
- Additional improvements to search space construction
8+
- Added Python 3.13 and experimental 3.14 support
9+
- Dropped Python 3.8 support
610

711
## [1.0.0] - 2024-04-04
812
- HIP backend to support tuning HIP kernels on AMD GPUs
913
- Experimental features for mixed-precision and accuracy tuning
1014
- Experimental features for OpenACC tuning
11-
- Major speedup due to new parser and using revamped python-constraint for searchspace building
15+
- Major speedup due to new parser and using revamped python-constraint for search space construction
1216
- Implemented ability to use `PySMT` and `ATF` for searchspace building
1317
- Added Poetry for dependency and build management
1418
- Switched from `setup.py` and `setup.cfg` to `pyproject.toml` for centralized metadata, added relevant tests

doc/source/dev-environment.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Steps with :bash:`sudo` access (e.g. on a local device):
2727
* After installation, restart your shell.
2828
#. Install the required Python versions:
2929
* On some systems, additional packages may be needed to build Python versions. For example on Ubuntu: :bash:`sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev liblzma-dev lzma`.
30-
* Install the Python versions with: :bash:`pyenv install 3.9 3.10 3.11 3.12`. The reason we're installing all these versions as opposed to just one, is so we can test against all supported Python versions.
31-
#. Set the Python versions so they can be found: :bash:`pyenv local 3.9 3.10 3.11 3.12` (replace :bash:`local` with :bash:`global` when not using the virtualenv).
30+
* Install the Python versions with: :bash:`pyenv install 3.9 3.10 3.11 3.12 3.13`. The reason we're installing all these versions as opposed to just one, is so we can test against all supported Python versions.
31+
#. Set the Python versions so they can be found: :bash:`pyenv local 3.9 3.10 3.11 3.12 3.13` (replace :bash:`local` with :bash:`global` when not using the virtualenv).
3232
#. Setup a local virtual environment in the folder: :bash:`pyenv virtualenv 3.11 kerneltuner` (or whatever environment name and Python version you prefer).
3333
#. `Install Poetry <https://python-poetry.org/docs/#installing-with-the-official-installer>`__.
3434
* Use :bash:`curl -sSL https://install.python-poetry.org | python3 -` to install Poetry.

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# set the test parameters
1717
verbose = False
18-
python_versions_to_test = ["3.9", "3.10", "3.11", "3.12"]
18+
python_versions_to_test = ["3.9", "3.10", "3.11", "3.12", "3.13"] # 3.14 has not yet been officially released so is not tested against, but is allowed by the pyproject.toml
1919
nox.options.stop_on_first_error = True
2020
nox.options.error_on_missing_interpreters = True
2121
nox.options.default_venv_backend = 'virtualenv'
@@ -28,6 +28,7 @@
2828
@session # to only run on the current python interpreter
2929
def create_settings(session: Session) -> None:
3030
"""One-time creation of noxsettings.toml."""
31+
arg_trigger = False
3132
if session.posargs:
3233
# check if the trigger argument was used
3334
arg_trigger = any(arg.lower() == "create-settings-file" for arg in session.posargs)

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
66
name = "kernel_tuner"
77
packages = [{ include = "kernel_tuner", from = "." }]
88
description = "An easy to use CUDA/OpenCL kernel tuner in Python"
9-
version = "1.0" # adhere to PEP440 versioning: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#id55
9+
version = "1.1.0" # adhere to PEP440 versioning: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#id55
1010
license = "Apache-2.0"
1111
authors = [
1212
"Ben van Werkhoven <[email protected]>",
@@ -58,12 +58,12 @@ kernel_tuner = "kernel_tuner.interface:entry_point"
5858

5959
# ATTENTION: if anything is changed here, run `poetry update`
6060
[tool.poetry.dependencies]
61-
python = ">=3.9,<3.13" # NOTE when changing the supported Python versions, also change the test versions in the noxfile
61+
python = ">=3.9,<3.15" # NOTE when changing the supported Python versions, also change the test versions in the noxfile
6262
numpy = "^1.26.0" # Python 3.12 requires numpy at least 1.26
6363
scipy = ">=1.11.0"
6464
packaging = "*" # required by file_utils
6565
jsonschema = "*"
66-
python-constraint2 = "^2.0.0b5"
66+
python-constraint2 = "^2.1.0"
6767
xmltodict = "*"
6868
pandas = ">=2.0.0"
6969
scikit-learn = ">=1.0.2"
@@ -108,7 +108,7 @@ markupsafe = "^2.0.1" # TODO why do we need markupsafe here?
108108
# sphinx-autodoc-typehints = "^1.24.0"
109109

110110
# ATTENTION: if anything is changed here, run `poetry update`
111-
# Please also run `poetry export -f requirements.txt --output doc/requirements_test.txt --with test`
111+
# Please also run `poetry export -f requirements.txt --output docs/requirements_test.txt --with test`
112112
[tool.poetry.group.test]
113113
optional = true
114114
[tool.poetry.group.test.dependencies]

0 commit comments

Comments
 (0)