[From nobody Wed Nov 18 07:11:06 2026
Received: (at submit) by bugs.debian.org; 9 Nov 2026 10:41:02 +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=-118.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,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, 30; hammy, 150; neutral, 59; 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;stefanor@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:43488)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;stefanor@debian.org&gt;) id 1xQMoA-008y6O-0b
 for submit@bugs.debian.org; Mon, 09 Nov 2026 10:41:02 +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=FqY1VJrz9kMIWP6GnjNAHc6F7hs7+DQaFwOibu5kTQk=; b=qb++bUdVx9Ieq77+Gj+cj648qW
 Qs/E8sb8cfmuFAsEnT73rNuALS/xUG6ESvz14FzfSEVidwq4iJf1Mre0hkoUZ/XV8i9H0iRSuEch/
 Hw4shUjfgn7YVv2ndXu6EYijoBRnaoXUXTMOFt+taFcU/EUrLMa4b7ZFn/8e+xCm0+B1YqBCIT6yF
 AHoxWFLAPwwkrfyYWZM30LYAH2kS3i37p+8PJeis575Wa8Z9iUjPNUV48lujXIcPpuSQpPCyEp1mi
 TshdON5ONOi9DNybSxnj5yDp2Py7Z6F+LPggldE4vkS3p99r51O99p6XDtp/V/ODO2PGsOxrSGBea
 7e0WJn8Q==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;stefanor@debian.org&gt;)
 id 1xQMo7-00BYTh-0c; Mon, 09 Nov 2026 10:40:59 +0000
Date: Mon, 9 Nov 2026 10:40:34 +0000
From: Stefano Rivera &lt;stefanor@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: FTBFS with platformdirs 4.14
Message-ID: &lt;avGiwsp__qHSkRhw@grieg.kardiogramm.net&gt;
X-Reportbug-Version: 13.2.0+nmu1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
User-Agent: NeoMutt/20260616
X-Debian-User: stefanor
Delivered-To: submit@bugs.debian.org

Package: python3-datacache
Version: 1.27.1-1
Severity: serious
Tags: ftbfs patch
Forwarded: https://github.com/openvax/datacache/issues/138

Sorry, I didn't spot this before uploading platfarmdirs 4.14, but it 
causes a (presumably consequential) test failure in datacache:

____ test_linux_caches_follow_an_absolute_xdg_cache_home[ {tmp}/xdg \t-xdg] ____

platform_home = &lt;function platform_home.&lt;locals&gt;.simulate at 0x7f5403644510&gt;
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_linux_caches_follow_an_ab5')
monkeypatch = &lt;_pytest.monkeypatch.MonkeyPatch object at 0x7f5403419da0&gt;
xdg = ' {tmp}/xdg \t', under = 'xdg'

    @pytest.mark.skipif(os.name != &quot;posix&quot;, reason=&quot;POSIX path separators&quot;)
    @pytest.mark.parametrize(&quot;xdg, under&quot;, [
        (None, &quot;.cache&quot;),
        (&quot;&quot;, &quot;.cache&quot;),
        (&quot;relative/cache&quot;, &quot;.cache&quot;),  # Never relative to the working directory.
        (&quot;~/cache&quot;, &quot;.cache&quot;),  # Not expanded: relative, as XDG specifies.
        (&quot;{tmp}/xdg&quot;, &quot;xdg&quot;),
        (&quot; {tmp}/xdg \t&quot;, &quot;xdg&quot;),  # Stripped, which platformdirs before 4.6 didn't do.
    ])
    def test_linux_caches_follow_an_absolute_xdg_cache_home(platform_home, tmp_path, monkeypatch, xdg, under):
        platform_home(platformdirs.unix.Unix)
        if xdg is not None:
            monkeypatch.setenv(&quot;XDG_CACHE_HOME&quot;, xdg.format(tmp=tmp_path))
&gt;       assert get_data_dir(&quot;example&quot;) == str(tmp_path / under / &quot;example&quot;)
E       AssertionError: assert '/tmp/pytest-...cache/example' == '/tmp/pytest-...5/xdg/example'
E         
E         Skipping 53 identical leading characters in diff, use -v to show
E         - ow_an_ab5/xdg/example
E         ?           ^^^
E         + ow_an_ab5/.cache/example
E         ?           ^^^^^^

tests/test_cache_paths.py:180: AssertionError
=========================== short test summary info ============================
FAILED tests/test_cache_paths.py::test_linux_caches_follow_an_absolute_xdg_cache_home[ {tmp}/xdg \t-xdg]

This should be resolved with:

https://github.com/openvax/datacache/pull/144

Stefano
]