From 88847f693b0829029384b288928c0f01042e75fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rinc=20Serf=C5=91z=C5=91?= Date: Thu, 8 Jan 2026 14:39:25 +0100 Subject: [PATCH 1/3] Update dependencies in pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9e448e2a..7188887f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,9 +37,9 @@ classifiers = [ requires-python = ">=3.10" dynamic = ["version"] dependencies = [ - "cupy==12.3.0", + "cupy==13.6.*", "nvtx", - "numpy", + "numpy==2.3.*", "scipy", "pillow", "scikit-image", From 6b60819d739ab3bd57eb9fe14cabf0fd56d3dcb7 Mon Sep 17 00:00:00 2001 From: dkazanc Date: Tue, 24 Feb 2026 12:04:14 +0000 Subject: [PATCH 2/3] update to newer cupy and fixing std=c++11 issue --- httomolibgpu/cuda_kernels/__init__.py | 2 +- httomolibgpu/prep/normalize.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/httomolibgpu/cuda_kernels/__init__.py b/httomolibgpu/cuda_kernels/__init__.py index cfb219a3..56a97eed 100644 --- a/httomolibgpu/cuda_kernels/__init__.py +++ b/httomolibgpu/cuda_kernels/__init__.py @@ -25,5 +25,5 @@ def load_cuda_module( code += f.read() return cp.RawModule( - options=("-std=c++11", *options), code=code, name_expressions=name_expressions + options=("-std=c++17", *options), code=code, name_expressions=name_expressions ) diff --git a/httomolibgpu/prep/normalize.py b/httomolibgpu/prep/normalize.py index c7b76ae9..a271b4dc 100644 --- a/httomolibgpu/prep/normalize.py +++ b/httomolibgpu/prep/normalize.py @@ -97,7 +97,7 @@ def dark_flat_field_correction( "float32 out", kernel, kernel_name, - options=("-std=c++11",), + options=("-std=c++17",), loop_prep="constexpr float eps = 1.0e-07;", no_return=True, ) diff --git a/pyproject.toml b/pyproject.toml index 7188887f..555cb01d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ classifiers = [ requires-python = ">=3.10" dynamic = ["version"] dependencies = [ - "cupy==13.6.*", + "cupy==14.0.*", "nvtx", "numpy==2.3.*", "scipy", From 40a5d4a3091188fa38b15f2230ca260b8cb2722b Mon Sep 17 00:00:00 2001 From: dkazanc Date: Tue, 24 Feb 2026 12:15:33 +0000 Subject: [PATCH 3/3] python version 3.11 as a requirement --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 555cb01d..de48877f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Environment :: GPU :: NVIDIA CUDA" ] -requires-python = ">=3.10" +requires-python = ">=3.11" dynamic = ["version"] dependencies = [ "cupy==14.0.*",