[From nobody Mon Nov  9 22:11:06 2026
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: &lt;sramacher@debian.org&gt;
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 &lt;sramacher@debian.org&gt;)
 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 &lt;sramacher@debian.org&gt;)
 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 &lt;sramacher@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: yt: FTBFS: unyt.exceptions.UnitConversionError: Cannot convert
 between 'code_length' (dim '(length)') and 'dimensionless' (dim '1')
Message-ID: &lt;auWggSAcVOvbfmKU@ramacher.at&gt;
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(
            [(&quot;index&quot;, &quot;x&quot;), (&quot;index&quot;, &quot;y&quot;), (&quot;index&quot;, &quot;z&quot;)], no_ghost=True
        )
        for i, ax in enumerate(&quot;xyz&quot;):
            xc = g[&quot;index&quot;, 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,
                ),
                [&quot;x&quot;, &quot;y&quot;, &quot;z&quot;],
                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,
            ]
&gt;           xi = tf({&quot;x&quot;: lx, &quot;y&quot;: ly, &quot;z&quot;: 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(&quot;int64&quot;) - 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, &quot;units&quot;, 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):
        &quot;&quot;&quot;
        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.
    
        &quot;&quot;&quot;
        if old_units.dimensions != new_units.dimensions:
&gt;           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&amp;arch=amd64&amp;ver=4.4.2-1%2Bb3&amp;stamp=1793402058&amp;raw=0
for details.

Cheers
-- 
Sebastian Ramacher
]