Fixes for debian packaging
About
Follow-up of !473 (closed) - this one is for 2024.2.0 (master branch)
See discussions in #519 (closed)
Close #529
To do
-
Patch pyproject.toml
- see https://udd.debian.org/patches.cgi?src=nabu&version=2024.1.7-1 -
Fix test_unsharp.py::TestUnsharp::test_opencl_unsharp
(fails with pocl 6.0-1) - see https://ci.debian.net/packages/n/nabu/testing/amd64/49560879/ -
Make sure unit test work when network is not available -
Check jp2k - see #529 -
Check OpenCL halftomo - see #529 -
Close #526 (closed)
Notes
This obviously entails to create a fresh debian-sid environment
Merge request reports
Activity
changed milestone to %R 2024.2.0
mentioned in merge request !517 (merged)
mentioned in merge request !473 (closed)
added 2 commits
marked the checklist item Check OpenCL halftomo - see #529 as completed
marked the checklist item Check jp2k - see #529 as completed
marked the checklist item Fix
test_unsharp.py::TestUnsharp::test_opencl_unsharp
(fails with pocl 6.0-1) - see https://ci.debian.net/packages/n/nabu/testing/amd64/49560879/ as completedOK, narrowing it a little bit, here is the culprit.
Tested on Debian sid:
- python 3.12.7
-
libpocl2
6.0-3 - pyvkfft 2024.1.4
- pyopencl 2024.3
import numpy as np import pyopencl as cl import pyopencl.array as parray from pyvkfft.opencl import VkFFTApp ctx = cl.create_some_context() queue = cl.CommandQueue(ctx) d_in = parray.zeros(queue, 300, "f") d_out = parray.zeros(queue, 151, np.complex64) vk0 = VkFFTApp(d_in.shape, np.float32, queue, r2c=True, inplace=False) vk0.fft(d_in, dest=d_out)
Edited by Pierre Paleoenabled an automatic merge when all merge checks for 35f32cbd pass
mentioned in commit 6440bea9