[From nobody Sun Aug 30 10:07:11 2026
Received: (at submit) by bugs.debian.org; 29 Aug 2026 10:32:50 +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=-120.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST,
 X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 49; hammy, 150; neutral, 63; spammy,
 0. spammytokens: hammytokens:0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila, 0.000-+--H*r:sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:53676)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1x0GMk-000GxM-1o
 for submit@bugs.debian.org; Sat, 29 Aug 2026 10:32:50 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.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 &lt;sanvila@debian.org&gt;) id 1x0GMi-005PpO-2x
 for submit@bugs.debian.org; Sat, 29 Aug 2026 10:32:48 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=1VfetlRRTYcQBStXQttc5ZY9wZ5329zkuWgOpNScLhc=; b=cTMoN+ol0DHeOMQC9J4P2kVJd8
 nTY186SSo53OU3t5ZmrL8yAKev+22wclhCMX2Sj8ejn5VnXM+XlipV6NGe8uoS00AVJcLBb9RoXzx
 x9Jzr2aAmHUHBv3twUujVaWQHHSAUX398ZbfYnmM0yjslF4+1gFHYrUcsg84maaGm7uYiwPdU/jy4
 3xQ+lStjZuz8gF+nO/9xfQQkDeRT/ocAkZiR15QSB9DKKdwS0EHXWGBlgsgJfiwhXBwW92mZmW/Ul
 7Vq8xnRRNFY3ZhdvNCf0ArN2LfyhKCVVUGRuK4uvenk3en/wCQBKaRYFMTWSTs+B69XgyBjAawvYW
 1RwbqoEA==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1x0GMh-0053pa-0v
 for submit@bugs.debian.org; Sat, 29 Aug 2026 10:32:47 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: python-rioxarray: FTBFS: E ValueError: The truth value of an array
 with more than one element is ambiguous. Use a.any() or a.all()
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1x0GMh-0053pa-0v@paradis.debian.org&gt;
Date: Sat, 29 Aug 2026 10:32:47 +0000
Delivered-To: submit@bugs.debian.org

Package: src:python-rioxarray
Version: 0.23.0-5
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-rioxarray, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
            except AttributeError:
                if padded_ds.rio.nodata is not None and not numpy.isnan(
                    padded_ds.rio.nodata
                ):
                    assert all([padded_ds.isel(x=0, y=0).values == padded_ds.rio.nodata])
                else:
                    assert all(numpy.isnan([padded_ds.isel(x=0, y=0).values]))
            # finally, clip again
            clipped_ds2 = padded_ds.rio.clip_box(
                minx=xdi.x[4].values,
                miny=xdi.y[6].values,
                maxx=xdi.x[6].values,
                maxy=xdi.y[4].values,
            )
            _assert_xarrays_equal(clipped_ds, clipped_ds2)
            # padded data should have the same size as original data
            if hasattr(xdi, &quot;variables&quot;):
                for var in xdi.rio.vars:
                    assert_almost_equal(
                        xdi[var].rio._cached_transform(),
                        padded_ds[var].rio._cached_transform(),
                    )
                    for padded_size, original_size in zip(
                        padded_ds[var].shape, xdi[var].shape
                    ):
                        assert padded_size == original_size
            else:
&gt;               assert_almost_equal(
                    xdi.rio._cached_transform(), padded_ds.rio._cached_transform()
                )
E               ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

test/integration/test_integration_rioxarray.py:328: ValueError
]