Your message dated Sun, 20 Nov 2022 19:35:46 +0000
with message-id <[email protected]>
and subject line Bug#1024046: fixed in pyopencl 2022.2.4-1
has caused the Debian Bug report #1024046,
regarding pyopencl FTBFS with Python 3.11 as supported version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1024046: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024046
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyopencl
Version: 2022.1.6-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=pyopencl&arch=amd64&ver=2022.1.6-2%2Bb1&stamp=1668366441&raw=0

...
=================================== FAILURES ===================================
_ test_elwise_kernel[<context factory for <pyopencl.Device 'pthread-Intel Core 
Processor (Haswell, no TSX)' on 'Portable Computing Language'>>] _

ctx_factory = <pyopencl.tools._ContextFactory object at 0x7ff216396850>

    def test_elwise_kernel(ctx_factory):
        context = ctx_factory()
        queue = cl.CommandQueue(context)
    
        from pyopencl.clrandom import rand as clrand
    
>       a_gpu = clrand(queue, (50,), np.float32)

test_algorithm.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../pyopencl/clrandom.py:767: in rand
    gen.fill_uniform(result, a=a, b=b)
../pyopencl/clrandom.py:681: in fill_uniform
    return self._fill("uniform", ary,
../pyopencl/clrandom.py:658: in _fill
    self.get_gen_kernel(ary.dtype, distribution)
/usr/lib/python3/dist-packages/pytools/__init__.py:696: in wrapper
    result = function(obj, *args, **kwargs)
../pyopencl/clrandom.py:641: in get_gen_kernel
    knl.set_scalar_arg_dtypes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pyopencl._cl.Kernel object at 0x7ff216810ef0>
arg_types = (<class 'numpy.int32'>, <class 'numpy.int32'>, <class 
'numpy.int32'>, <class 'numpy.int32'>, <class 'numpy.int32'>, None, ...)

    def kernel_set_arg_types(self, arg_types):
        arg_types = tuple(arg_types)
    
        # {{{ arg counting bug handling
    
        # For example:
        # https://github.com/pocl/pocl/issues/197
        # (but Apple CPU has a similar bug)
    
        work_around_arg_count_bug = False
        warn_about_arg_count_bug = False
    
        from pyopencl.characterize import has_struct_arg_count_bug
    
        count_bug_per_dev = [
                has_struct_arg_count_bug(dev, self.context)
                for dev in self.context.devices]
    
        from pytools import single_valued
        if any(count_bug_per_dev):
            if all(count_bug_per_dev):
                work_around_arg_count_bug = single_valued(count_bug_per_dev)
            else:
                warn_about_arg_count_bug = True
    
        # }}}
    
        from pyopencl.invoker import generate_enqueue_and_set_args
        enqueue, my_set_args = \
                generate_enqueue_and_set_args(
                        self.function_name,
                        len(arg_types), self.num_args,
                        arg_types,
                        warn_about_arg_count_bug=warn_about_arg_count_bug,
                        work_around_arg_count_bug=work_around_arg_count_bug,
                        devs=self.context.devices)
    
        # Make ourselves a kernel-specific class, so that we're able to override
        # __call__. Inspired by https://stackoverflow.com/a/38541437
        class KernelWithCustomEnqueue(type(self)):
            __call__ = enqueue
            set_args = my_set_args
    
>       self.__class__ = KernelWithCustomEnqueue
E       TypeError: __class__ assignment: 'KernelWithCustomEnqueue' object 
layout differs from 'pyopencl._cl.Kernel'

../pyopencl/__init__.py:878: TypeError
_ test_elwise_kernel_with_options[<context factory for <pyopencl.Device 
'pthread-Intel Core Processor (Haswell, no TSX)' on 'Portable Computing 
Language'>>] _

ctx_factory = <pyopencl.tools._ContextFactory object at 0x7ff216556750>

    def test_elwise_kernel_with_options(ctx_factory):
        from pyopencl.clrandom import rand as clrand
        from pyopencl.elementwise import ElementwiseKernel
    
        context = ctx_factory()
        queue = cl.CommandQueue(context)
    
>       in_gpu = clrand(queue, (50,), np.float32)
...
= 203 failed, 57 passed, 6 skipped, 1 deselected, 2 xfailed, 19 warnings in 
115.65s (0:01:55) =
E: pybuild pybuild:379: test: plugin custom failed with: exit code=1: 
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build cp -r 
/<<PKGBUILDDIR>>/test /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build && cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test && python3.11 -m pytest 
--verbosity=2 -k 'not test_event_set_callback' && rm -rf 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test
...

--- End Message ---
--- Begin Message ---
Source: pyopencl
Source-Version: 2022.2.4-1
Done: Andreas Beckmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyopencl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (supplier of updated pyopencl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 20 Nov 2022 20:08:50 +0100
Source: pyopencl
Architecture: source
Version: 2022.2.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenCL Maintainers <[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 1024046
Changes:
 pyopencl (2022.2.4-1) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * New upstream release.
   * Cherry-pick "Allow fallback if KernelWithCustomEnqueue __class__
     assignment fails" to fix failures with python 3.11.  (Closes: #1024046)
   * Drop ancient d/NEWS.
   * Refresh patches.
   * Update Lintian overrides.
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster (oldstable):
     + Build-Depends-Indep: Drop versioned constraint on python3-sphinx.
     + python3-pyopencl: Drop versioned constraint on python3-appdirs in 
Depends.
Checksums-Sha1:
 b41b1b550e20c58a39398d3ed5250bfe43e5d5d6 2802 pyopencl_2022.2.4-1.dsc
 aace88a7cf496cb1e11e800d5410c87f792a01ee 468743 pyopencl_2022.2.4.orig.tar.gz
 39a6ac0df10c2ba028c1c397fe8764796a981881 25876 
pyopencl_2022.2.4-1.debian.tar.xz
 6a7fa104e3961b54e0bcf602aadd73481ba43cf2 9617 
pyopencl_2022.2.4-1_source.buildinfo
Checksums-Sha256:
 e1beab9cf3e0615008f7680d185dac329c09f887d71f2c8478199d801dfda709 2802 
pyopencl_2022.2.4-1.dsc
 b57c9ef8bd8e6db07e89106f3091ba236b24f95a38fd40dfb17d2ed7ff6be4ad 468743 
pyopencl_2022.2.4.orig.tar.gz
 3d2f9668cf210272e2c38f472a30bf9e8b558377ee911c68eadccfc94ffcc37c 25876 
pyopencl_2022.2.4-1.debian.tar.xz
 341d3ec175c07b939f9deaa17160f1f1bee7b695d430cafaa70011155d6a7f01 9617 
pyopencl_2022.2.4-1_source.buildinfo
Files:
 dbbd65694a7fbe74da14b198551d7d07 2802 python optional pyopencl_2022.2.4-1.dsc
 a1373938bd1a21cbb87c22c20412c800 468743 python optional 
pyopencl_2022.2.4.orig.tar.gz
 c878fa4d83b81c773786347d9ce42097 25876 python optional 
pyopencl_2022.2.4-1.debian.tar.xz
 9005d5572b907579fb2907826315dcb3 9617 python optional 
pyopencl_2022.2.4-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmN6fRcQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCDjxD/0aD02OxiytnMFTtIIOPix7Smh+9rLQD6ww
JVgcsOFy6g1pHwRGgJpCYpK2KoK6o3yA/IEWSYLBe79O3eqVk5PlcRVMe19+1F/V
3Xuw/FwYVC63pevWB+ZfuEPIOofIhU5PZdyxJwzycBIbLFZ0c4j1oxEUobxTEmq2
Qekhbbc03oKktZypYCxdCdvdmuILHRF67dO3HRcOD+rPkYfeNK6EjUu3+gv1msQm
/PwEQ7tIX6ojUonntet6VV1Ens+crEdvast551WYCCOcVm1QWDjkuu65N84It5CT
CUonyyELnF8Y/TQNniVzTgnGOUCgxeqa3XrAPtkqoZE9UicH6fUdboD4cKwb+PiH
oH4X7VG2/U/Sbg1YRHAgxE/PVHdjHvdnU2y2S47gefYQxKatgCFiLroOTaQ7nD/V
dOhjRigf5QkZOQDKOq0DIFVStDJ6Msukz9NVl0DtU5KgDhCaFAat/zlO4y8B0yFQ
Wizo2cfcy/AfQQQB+4Wr5tEOQDd2dn18EMYS8itqK9gMIN6n4arBlod0fj8mVpgf
NrlOTjdhTtUGLoBqM8NNx70A6MOKz5yidWapgBI590yA5K7NHG/Yg94J24Eo91fG
vla1WkInzpM6cBbYWDsH0q81akbl8NGrY5S3IlPHCvc/AySJNcfEidtfMN6kz51M
w/S69EpKSg==
=/5SX
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to