Article View: linux.debian.bugs.rc
Article #2774Bug#1152672: marked as done (yt: FTBFS: unyt.exceptions.UnitConversionError: Cannot convert between 'code_length' (dim '(length...
From: Debian Bug Tracking System
Date: Mon, 09 Nov 2026 22:20
Date: Mon, 09 Nov 2026 22:20
365 lines
17076 bytes
17076 bytes
This is a multi-part message in MIME format...
------------=_1794262262-2513878-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Mon, 09 Nov 2026 22:08:45 +0000
with message-id <E1xQXXh-00000005lzY-2YDf@fasolo.debian.org>
and subject line Bug#1152672: fixed in yt 4.4.4-1
has caused the Debian Bug report #1152672,
regarding yt: FTBFS: unyt.exceptions.UnitConversionError: Cannot convert be=
tween 'code_length' (dim '(length)') and 'dimensionless' (dim '1')
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 owner@bugs.debian.org
immediately.)
--=20
1152672: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1152672
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1794262262-2513878-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 31 Oct 2026 08:02:12 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-107.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
FROMDEVELOPER,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 102; hammy, 149; neutral, 73; spammy,
1. spammytokens:0.993-1--digitize
hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <sramacher@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47260)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <sramacher@debian.org>)
id 1xN42W-0078Al-1K
for submit@bugs.debian.org;
Sat, 31 Oct 2026 08:02:12 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=Bt6uhUDuGFRUoDSBsIFWxPe0zXuDcadYZOaM73uUsNY=; b=iz3Ky7+rsgJvaK8hUyilv/z1S6
za2Be0oXtdxAKn5P8slh1JFq7adUtDuzQf0pHYTBDuEA3VP6Cxa2i0DcjU74MgmSqGe8EjqufnmO1
StkHBNVuA6eywlunIyhKrerzC321VJPnx/3PPVjmLekv+ibNA2DfpdWeTneIcXIu4PtaSVRwBhBkV
/hgHrP4NVSrDJTUddYvjGRwR+663kuIu6+Angp4oRdUW6IqmO/Wn964OuEtWJwVAbWwkTx6hWwMYp
YJlksCDXQqZOP/pWdCdbYBFAw7zfYplL2Fy+vS4I7TjfoWVN1TuGARK/D5rxulGohG60PYLnOgotr
AftT4JVw==;
Received: from authenticated-user
by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <sramacher@debian.org>)
id 1xN42U-004SCL-2t
for submit@bugs.debian.org;
Sat, 31 Oct 2026 08:02:11 +0000
Received: by rigel.ramacher.at (Postfix, from userid 1000)
id 6619AC053E86; Sat, 31 Oct 2026 09:02:09 +0100 (CET)
Date: Sat, 31 Oct 2026 09:02:09 +0100
From: Sebastian Ramacher <sramacher@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: yt: FTBFS: unyt.exceptions.UnitConversionError: Cannot convert
between 'code_length' (dim '(length)') and 'dimensionless' (dim '1')
Message-ID: <auWggSAcVOvbfmKU@ramacher.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-User: sramacher
Delivered-To: submit@bugs.debian.org
Source: yt
Version: 4.4.2-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
Dear maintainer,
yt FTBFS:
=================================== FAILURES ===================================
________________________ test_ghost_zone_extrapolation _________________________
def test_ghost_zone_extrapolation():
ds = fake_random_ds(16)
g = ds.index.grids[0]
vec = g.get_vertex_centered_data(
[("index", "x"), ("index", "y"), ("index", "z")], no_ghost=True
)
for i, ax in enumerate("xyz"):
xc = g["index", ax]
tf = lin.TrilinearFieldInterpolator(
xc,
(
g.LeftEdge[0] + g.dds[0] / 2.0,
g.RightEdge[0] - g.dds[0] / 2.0,
g.LeftEdge[1] + g.dds[1] / 2.0,
g.RightEdge[1] - g.dds[1] / 2.0,
g.LeftEdge[2] + g.dds[2] / 2.0,
g.RightEdge[2] - g.dds[2] / 2.0,
),
["x", "y", "z"],
truncate=True,
)
lx, ly, lz = np.mgrid[
g.LeftEdge[0] : g.RightEdge[0] : (g.ActiveDimensions[0] + 1) * 1j,
g.LeftEdge[1] : g.RightEdge[1] : (g.ActiveDimensions[1] + 1) * 1j,
g.LeftEdge[2] : g.RightEdge[2] : (g.ActiveDimensions[2] + 1) * 1j,
]
> xi = tf({"x": lx, "y": ly, "z": lz})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
yt/utilities/tests/test_interpolators.py:136:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
yt/utilities/linear_interpolators.py:209: in __call__
x_i = np.digitize(x_vals, self.x_bins).astype("int64") - 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/unyt/array.py:2133: in __array_function__
return _HANDLED_FUNCTIONS[func](*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/unyt/_array_functions.py:398: in digitize
sanitized_bins = _sanitize_bins(x, bins)
^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/unyt/_array_functions.py:174: in _sanitize_bins
return bins.to_value(getattr(arr, "units", dimensionless))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/unyt/array.py:1047: in to_value
v = self.in_units(units, equivalence=equivalence, **kwargs).value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/unyt/array.py:928: in in_units
(conversion_factor, offset) = self.units.get_conversion_factor(
/usr/lib/python3/dist-packages/unyt/unit_object.py:686: in get_conversion_factor
return _get_conversion_factor(self, other_units, dtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
old_units = code_length, new_units = dimensionless, dtype = dtype('float64')
def _get_conversion_factor(old_units, new_units, dtype):
"""
Get the conversion factor between two units of equivalent dimensions. This
is the number you multiply data by to convert from values in `old_units` to
values in `new_units`.
Parameters
----------
old_units: str or Unit object
The current units.
new_units : str or Unit object
The units we want.
dtype: NumPy dtype
The dtype of the conversion factor
Returns
-------
conversion_factor : float
`old_units / new_units`
offset : float or None
Offset between the old unit and new unit.
"""
if old_units.dimensions != new_units.dimensions:
> raise UnitConversionError(
old_units, old_units.dimensions, new_units, new_units.dimensions
)
E unyt.exceptions.UnitConversionError: Cannot convert between 'code_length' (dim '(length)') and 'dimensionless' (dim '1').
/usr/lib/python3/dist-packages/unyt/unit_object.py:931: UnitConversionError
See
https://buildd.debian.org/status/fetch.php?pkg=yt&arch=amd64&ver=4.4.2-1%2Bb3&stamp=1793402058&raw=0
for details.
Cheers
--
Sebastian Ramacher
------------=_1794262262-2513878-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1152672-close) by bugs.debian.org; 9 Nov 2026 22:08:48 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 95; hammy, 150; neutral, 119; spammy,
0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:50052)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xQXXk-00AXLq-2o
for 1152672-close@bugs.debian.org;
Mon, 09 Nov 2026 22:08:48 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xQXXi-00BOy3-2n
for 1152672-close@bugs.debian.org;
Mon, 09 Nov 2026 22:08:46 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
:Content-Description:In-Reply-To:References;
bh=RMpw5X7JAJLpSmoFRGE/Q/00z4OHPpl+gvs9kjv0neE=; b=Tak0AYmKzbxynea39MOfReWTd6
mwxA0HOdjuwTzC1GTRejMoKog2gKL1Z5rGka3JqaCspRsJnPU8whbJb5RgBhxlQBIqxwfsFNANRoO
7iBppgWARPJhy/nIMZyH4SrqBQ5Wz7nHD1h1c5uH6qW6kc22YBxz2IgkhDMLoz81fR4eOCLj+p7o4
7r28Bxjr/CqETRktAL9oSFH+0lsMdI974mwErP5VkK2mCQkyRSM4P5/DbV7B3V866duFlhP7b7q8x
4Glii64JzN0FT3USLQPPNKK9ugKR7MF3GzWgZT4zSaeAImwDa3FhjWF/w/xnDmGY84ePo5SyL2poD
mrrnNK8Q==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xQXXh-00000005lzY-2YDf;
Mon, 09 Nov 2026 22:08:45 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Ole Streicher <olebole@debian.org>
To: 1152672-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: yt
Debian: DAK
Debian-Changes: yt_4.4.4-1_source.changes
Debian-Source: yt
Debian-Version: 4.4.4-1
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1152672: fixed in yt 4.4.4-1
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============3406333599957221554=="
Message-Id: <E1xQXXh-00000005lzY-2YDf@fasolo.debian.org>
Date: Mon, 09 Nov 2026 22:08:45 +0000
--===============3406333599957221554==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: yt
Source-Version: 4.4.4-1
Done: Ole Streicher <olebole@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 1152672@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ole Streicher <olebole@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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 09 Nov 2026 22:25:35 +0100
Source: yt
Architecture: source
Version: 4.4.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debi=
an.org>
Changed-By: Ole Streicher <olebole@debian.org>
Closes: 1152672
Changes:
yt (4.4.4-1) unstable; urgency=3Dmedium
.
* New upstream version 4.4.4 (Closes: #1152672)
* Push Standards-Version to 4.7.4, dh-compat to 13; no changes needed
* Rediff patches
Checksums-Sha1:
f89e37a3bf8e51b2117218dd0f3ed77e5051fff4 2617 yt_4.4.4-1.dsc
a0068595817312fc0c5d5f522c596a644d2fb3e9 5974654 yt_4.4.4.orig.tar.gz
300d0c0e0cbda932e6f4fae361f1f212512f0aa2 13628 yt_4.4.4-1.debian.tar.xz
Checksums-Sha256:
fa38df13614f5065a79bd9ebee1cc31ea9c43071b1d1b7a4213b4033e7488683 2617 yt_4.4=
.4-1.dsc
ccb55921bb0f8dd65e1baf5d7410358a92af6a175987f5bc659cf5ee1d4453c9 5974654 yt_=
4.4.4.orig.tar.gz
09374e72085f0d273b4629172a28b654fd4242b2f18b10e6dbaa6bbcdc58f632 13628 yt_4.=
4.4-1.debian.tar.xz
Files:
c1d2bdfd3fa3d9fa6a7f655a1b62b1e7 2617 python optional yt_4.4.4-1.dsc
46ccdf8b1b2c7e76732d48426a119fa0 5974654 python optional yt_4.4.4.orig.tar.gz
8dfca98b2ac3f658c4ee8d818588514c 13628 python optional yt_4.4.4-1.debian.tar=
.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmryQEgACgkQcRWv0HcQ
3PeJjQ//aJtFmYQUIvAeVEp2BeNV0rapuMjD5NkCCR49SjF1XByEgIXEyaB8OIDJ
NOwLtjfvsrPrqKgs/1agxFRuSm7gzLun8RvijZqI5ydyid9V55gT/jNNjPUlltIb
UQqxrLZkEJE4xmwxv6wppGN5FQmPDXGOy0T5bupWflqKkNmNp55r5xeP4mSguuG9
DM2VagZEyKH/ppCVnB954MrcR9y+2/LYLjFVI/D/21gu2L1RfbwQHliGqIfF/1QD
9Uwux68TpXmm2smB/TImeOe02sDqhHoh/0rz77HcRP2ZkBi1XaDpKKVkpVKztF3B
ij+ktX0ppsI2IrO2i5ZlxItnCbbJECXGpXSX19hVXj1aylMJVUhdE3bNoZfRVolt
BFnUbPBKSqspI/WuKqnqogDugvFAJbOoLTRp/cOUqHd8ZecU4QeKwnrsJAJOlqrk
lYsyk4UwDTRQqqRLLMFjakeZ2fz+4NDzwVEdojEzVV9QiiWT8hMU1G3Cl7s0fzhS
zKZtXsxFB1+mITRfeUFtm3Ika8MjBEmeaI/mC+vOt1cwJmX9e3Hus96H1f2MPig8
ghFGxKcc9vfJhGGA++tmIvg8tLItK2af54O0LuEv42kZDrmULhfoTL66nAAJmuqK
DdK/81LwHti0+5BHWuubfdFkESU8mU5WcC6is2O4t4IAFn1aHec=3D
=3DSGrW
-----END PGP SIGNATURE-----
--===============3406333599957221554==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCavJEbQAKCRCb9qggYcy5
IcnqAP9ycwD0IPoFZrWLqwbQ7AfU3ZUmc6yQ4JVc+KH+6etvfQEA83zqoZsP/4YC
WgSyCgs0NR617iQpRYiJGsOjV39ZtQI=
=AJxg
-----END PGP SIGNATURE-----
--===============3406333599957221554==--
------------=_1794262262-2513878-0--
Technical Details
Message-ID:
<NXFSx-aTr9-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NXFSx-aTr9-5@gated-at.bofh.it> <NUck1-8YdK-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152672: marked as done (yt: FTBFS: unyt.exceptions.UnitConversionError: Cannot convert between 'code_length' (dim '(length)') and 'dimensionless' (dim '1')) Date: Mon, 09 Nov 2026 23:20:01 +0100 Message-ID: <NXFSx-aTr9-3@gated-at.bofh.it> References: <NXFSx-aTr9-5@gated-at.bofh.it> <NUck1-8YdK-1@gated-at.bofh.it> X-Original-To: Ole Streicher <olebole@debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Mon Nov 9 22:11:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -2 MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1152672 X-Debian-Pr-Package: src:yt X-Debian-Pr-Keywords: ftbfs X-Debian-Pr-Source: yt Reply-To: 1152672@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1794262262-2513878-0" X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837739 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 365 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 09 Nov 2026 22:11:02 +0000 X-Original-Message-ID: <handler.1152672.D1152672.17942621282511591.ackdone@bugs.debian.org> X-Original-References: <E1xQXXh-00000005lzY-2YDf@fasolo.debian.org> <auWggSAcVOvbfmKU@ramacher.at>