[From nobody Mon Jun  1 12:25:12 2026
Received: (at submit) by bugs.debian.org; 1 Jun 2026 09:45:44 +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=-112.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,
 FROMDEVELOPER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 33; hammy, 150; neutral, 81; spammy,
 0. spammytokens:
 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;mckinstry@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:60812)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;mckinstry@debian.org&gt;)
 id 1wTzDM-006wyE-0J for submit@bugs.debian.org;
 Mon, 01 Jun 2026 09:45:44 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Date:Message-ID:Subject:To:From:
 Content-Transfer-Encoding:MIME-Version:Content-Type:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=/eYcbFneHLZkUQzh2sHjP2vwactAwbDvb3mHLnNfkwo=; b=uaFLCsMCXq8N0kww+pUGhRwp8d
 1nZl2QERIwSRfNtWchgLLjmJFWZ6XoG4vqFm0R3VxImNDvzQnY2bIWbMNmt3lpWgWA5qtglBvvTUq
 HGogQxs5L80i91mvZ/wHbBEhOCGl3bK4rTSMX7xqMwPXDD+VIXqztnF30bdkEiWTmIk7mKZriJXyM
 5JAoeFb68dG6xTY+NJGqeW+HmTk3EvqkqvcNdX9doKvvSYGdpFeHHqPGQF72vBnegFwZ+ogi+hY0m
 feLQHUGYKCr0oWuc5q2EvdKWWTmBIID+qUbWeao8lQvQ2wcRuPXw8xka/NJGrvghOcyWAxp3nM81G
 viMj/f0Q==;
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;mckinstry@debian.org&gt;)
 id 1wTzDK-0025OY-0U; Mon, 01 Jun 2026 09:45:42 +0000
Received: from localhost (localhost [127.0.0.1])
 by mail.mckinstry.ie (Postfix) with ESMTP id 22E88F07634;
 Mon, 01 Jun 2026 10:45:31 +0100 (IST)
Received: from mail.mckinstry.ie ([127.0.0.1])
 by localhost (mckinstry.ie [127.0.0.1]) (amavis, port 10024) with ESMTP
 id zzWf88MKy9mY; Mon,  1 Jun 2026 10:45:31 +0100 (IST)
Received: by mail.mckinstry.ie (Postfix, from userid 1000)
 id 0C597F07635; Mon, 01 Jun 2026 10:45:31 +0100 (IST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alastair McKinstry &lt;mckinstry@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: xarray-sentinel: Fix for broken test that blocks xarray 2026.04.0
 transition
Message-ID: &lt;178030713102.3854472.6935339168968993090.reportbug@mail.mckinstry.ie&gt;
X-Mailer: reportbug 13.2.0
Date: Mon, 01 Jun 2026 10:45:31 +0100
X-Debian-User: mckinstry
Delivered-To: submit@bugs.debian.org

Source: xarray-sentinel
Version: 0.9.6~rc1+ds-1
Severity: serious
Tags: patch
Justification: Blocks other packages from transitioning
X-Debbugs-Cc: debian-python@lists.debian.org

The return exception for a missing dataset is now FileNotFoundError not ValueError:

https://github.com/pydata/xarray/commit/160a85c04f58dafabd63169a9c2c401a5888b39a

Patch:

--- tests/test_30_xarray_backends.py.orig	2026-06-01 10:44:46.164041261 +0100
+++ tests/test_30_xarray_backends.py	2026-06-01 10:39:47.221210900 +0100
@@ -76,7 +76,7 @@

     assert isinstance(res, xr.Dataset)

-    with pytest.raises(ValueError):
+    with pytest.raises(FileNotFoundError):
         xr.open_dataset(&quot;&quot;)

Thanks
Alastair McKinstry


-- System Information:
Debian Release: 13.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.86+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8), LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
]