Your message dated Wed, 27 Dec 2023 10:50:34 +0000
with message-id <e1rirug-009s3z...@fasolo.debian.org>
and subject line Bug#1056043: fixed in yt 4.3.0-1
has caused the Debian Bug report #1056043,
regarding yt ftbfs with Python 3.12 (and cython 3.0.5)
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 ow...@bugs.debian.org
immediately.)


-- 
1056043: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056043
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:yt
Version: 4.2.2-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

yt ftbfs with Python 3.12 (and cython 3.0.5):

[...]
Error compiling Cython file:
------------------------------------------------------------
...
    # Compute number of fields to skip. This should be 31 in 3 dimensions
    skip_len = (1          # father index
                + 2*ndim   # neighbor index
                + 2**ndim  # son index
                + 2**ndim  # cpu map
                + 2**ndim  # refinement map
                ^
------------------------------------------------------------

yt/frontends/ramses/io_utils.pyx:48:16: Cannot assign type 'double' to 'INT64_t'

Error compiling Cython file:
------------------------------------------------------------
...
    nlevelmax = headers['nlevelmax']
    n_levels = nlevelmax - min_level
    ncpu = headers['ncpu']

    ncpu_and_bound = nboundary + ncpu
    twotondim = 2**ndim
                 ^
------------------------------------------------------------

yt/frontends/ramses/io_utils.pyx:103:17: Cannot assign type 'double' to 'INT64_t'

Error compiling Cython file:
------------------------------------------------------------
...
    cdef str field
    cdef INT64_t twotondim
    cdef int ilevel, icpu, ifield, nfields, nlevels, nc, ncpu_selected
    cdef np.ndarray[np.uint8_t, ndim=1] mask

    twotondim = 2**ndim
                 ^
------------------------------------------------------------

yt/frontends/ramses/io_utils.pyx:157:17: Cannot assign type 'double' to 'INT64_t'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
    return cythonize_one(*m)
           ^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: yt/frontends/ramses/io_utils.pyx

Error compiling Cython file:
------------------------------------------------------------
...
@cython.cdivision(True)
@cython.boundscheck(False)
@cython.wraparound(False)
cdef np.int64_t bitrange(np.int64_t x, np.int64_t width,
                         np.int64_t start, np.int64_t end):
    return x >> (width-end) & ((2**(end-start))-1)
                            ^
------------------------------------------------------------

yt/utilities/lib/geometry_utils.pyx:92:28: Invalid operand types for '&' (int64_t; double)

Error compiling Cython file:
------------------------------------------------------------
...
@cython.boundscheck(False)
@cython.wraparound(False)
cdef np.int64_t rrot(np.int64_t x, np.int64_t i, np.int64_t width):
    i = i%width
    x = (x>>i) | (x<<width-i)
    return x&(2**width-1)
            ^
------------------------------------------------------------

yt/utilities/lib/geometry_utils.pyx:100:12: Invalid operand types for '&' (int64_t; double)

Error compiling Cython file:
------------------------------------------------------------
...
@cython.boundscheck(False)
@cython.wraparound(False)
cdef np.int64_t lrot(np.int64_t x, np.int64_t i, np.int64_t width):
    i = i%width
    x = (x<<i) | (x>>width-i)
    return x&(2**width-1)
            ^
------------------------------------------------------------

yt/utilities/lib/geometry_utils.pyx:108:12: Invalid operand types for '&' (int64_t; double)

Error compiling Cython file:
------------------------------------------------------------
...
@cython.cdivision(True)
@cython.boundscheck(False)
@cython.wraparound(False)
cdef np.int64_t setbit(np.int64_t x, np.int64_t w, np.int64_t i, np.int64_t b):
    if b == 1:
        return x | 2**(w-i-1)
                 ^
------------------------------------------------------------

yt/utilities/lib/geometry_utils.pyx:129:17: Invalid operand types for '|' (int64_t; double)

Error compiling Cython file:
------------------------------------------------------------
...
@cython.wraparound(False)
cdef np.int64_t setbit(np.int64_t x, np.int64_t w, np.int64_t i, np.int64_t b):
    if b == 1:
        return x | 2**(w-i-1)
    elif b == 0:
        return x & ~2**(w-i-1)
                   ^
------------------------------------------------------------

yt/utilities/lib/geometry_utils.pyx:131:19: Invalid operand type for '~' (double)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
    return cythonize_one(*m)
           ^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: yt/utilities/lib/geometry_utils.pyx
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib/python3.11/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
           ^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
    return cythonize_one(*m)
           ^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: yt/frontends/ramses/io_utils.pyx
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 90, in <module>
    setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 107, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
[1/2] Cythonizing yt/frontends/ramses/io_utils.pyx
    self.distribution.run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line 65, in run
    self.build_package_data()
File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line 161, in build_package_data
    for target, srcfile in self._get_package_data_output_mapping():
File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line 153, in _get_package_data_output_mapping
    for package, src_dir, build_dir, filenames in self.data_files:
                                                  ^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line 74, in __getattr__
    self.data_files = self._get_data_files()
                      ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line 86, in _get_data_files
    self.analyze_manifest()
File "/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line 183, in analyze_manifest
    self.run_command('egg_info')
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 319, in run
    self.find_sources()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 327, in find_sources
    mm.run()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 549, in run
    self.add_defaults()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 587, in add_defaults
    sdist.add_defaults(self)
File "/usr/lib/python3/dist-packages/setuptools/command/sdist.py", line 113, in add_defaults
    super().add_defaults()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
    self._add_defaults_ext()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/sdist.py", line 335, in _add_defaults_ext
    build_ext = self.get_finalized_command('build_ext')
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
    cmd_obj.ensure_finalized()
[2/2] Cythonizing yt/utilities/lib/geometry_utils.pyx
File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/<<PKGBUILDDIR>>/setupext.py", line 392, in finalize_options
    self.distribution.ext_modules[:] = cythonize(
                                       ^^^^^^^^^^
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1145, in cythonize
    result.get(99999)  # seconds
    ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/multiprocessing/pool.py", line 774, in get
    raise self._value
Cython.Compiler.Errors.CompileError: yt/frontends/ramses/io_utils.pyx
E: pybuild pybuild:395: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build


complete build log at
https://launchpadlibrarian.net/697893855/buildlog_ubuntu-noble-amd64.yt_4.2.2-1build1_BUILDING.txt.gz

--- End Message ---
--- Begin Message ---
Source: yt
Source-Version: 4.3.0-1
Done: Ole Streicher <oleb...@debian.org>

We believe that the bug you reported is fixed in the latest version of
yt, 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 1056...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated yt 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 26 Dec 2023 21:02:21 +0100
Source: yt
Architecture: source
Version: 4.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team 
<debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1056043 1056896 1057864
Changes:
 yt (4.3.0-1) unstable; urgency=medium
 .
   * New upstream version 4.3.0. Closes: #1056896, #1056043, #1057864
   * Rediff patches
   * Add cython3 build-dep minversion
   * New build dependency python3-typint-extensions
   * Fix an incompatibility with unyt 3.0
Checksums-Sha1:
 aafd3c164554d847ae70ac4dfe44240413373e1c 2592 yt_4.3.0-1.dsc
 d632178d64873c08bd21da3f27c454fdfe9eddd5 13706721 yt_4.3.0.orig.tar.gz
 c5e1be1f3d0cfbe1c94b741c88929aecc3983f1d 12736 yt_4.3.0-1.debian.tar.xz
Checksums-Sha256:
 310d1fdd24b4e1364a3cc299eea531af1af736e548dc87eb0cefd552f180cf9b 2592 
yt_4.3.0-1.dsc
 cdcab7c07d8c46fe87d94fcec4bbac750394aa40b88cb7381abc843dcdce30ee 13706721 
yt_4.3.0.orig.tar.gz
 c7738c965eb0665bffc5c1517e2960ccd28f50706abf9ccf89e44b93e13e0f3b 12736 
yt_4.3.0-1.debian.tar.xz
Files:
 24f7d7396b2922f072cdde1f3a930bfc 2592 python optional yt_4.3.0-1.dsc
 69eeebfbd111ec3733302b516d09947e 13706721 python optional yt_4.3.0.orig.tar.gz
 f6ca2a9b33f884e544edf0346d993f2d 12736 python optional yt_4.3.0-1.debian.tar.xz

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

iQIzBAEBCgAdFiEE7/BpV0Ra2/h0L3qtmk9WvbkOGL0FAmWL/RoACgkQmk9WvbkO
GL1eqQ//W4SaAQaBu1L0K9tYjxgGeyoTS9oUc5dcPBu2NfF/b/g6MWxjSChCXRdZ
S2ZCsSFmJsRC6ZwOm1U81+BEUohlkJvJch0/mnC6qEIVBInqcf5MH1+ofjqsLTvs
W8EgVmosmglx5J9utQuXZsOq8mpSAUeKTBFcLgxGAp5EyPczCQ1mY2oJrSHxNSJk
yVWfNq7NGf2sQT18xouhHOyvRkZ2olrvSvIoa0rxYpwoLFLYn0RNje5f6orEmPcv
EWJjesWIMEKFFLYvc5Xd6WAcQVmtssApRtTkMBgvzm38Ny2Is+LNnXF3UoiztWUF
DrxcapBf3Xz3/qZwIPJN8jwRdol5iFz7am6GvO1wNes67KY+3ioBxonozERHv/th
dYBCtzDgqVC5MKkrZxxkrv4awggDUg2sLsCRLoRR5RSmNqLjHHpAz0gZKUrgwVVF
WWbjxXQMD94G8K5Kl8QUOgpWdvJ97zVGPU+yjbR9nj9cbd/3nhFTuCs+kA6YDFbr
byzR82qo6z99lOt2q7ozo4t4b2PBEiMmstlXQiPqnqhbNZj8S9o1FWS9TZP1Q7dZ
175RP2+TNHRwKxx71bEmtiRh5oy6VDZ7Z/ImULagN6JSLDaCBeRSKYluXM+cqsRm
4P+UonkqK+agf094UftLHTdbg9st5vwjAaIMv86GroAUfvBLP7U=
=yKTe
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to