Debian Bug report logs - #1120069
python-requests-cache: please make the build reproducible

version graph

Package: src:python-requests-cache; Maintainer for src:python-requests-cache is Sandro Tosi <morph@debian.org>;

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Tue, 4 Nov 2025 19:07:01 UTC

Severity: wishlist

Tags: patch

Found in version python-requests-cache/1.2.1-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org (additional cc recipient for {1120069}), Sandro Tosi <morph@debian.org> (src:python-requests-cache for {1120069}):
Bug#1120069; Package src:python-requests-cache. (Tue, 04 Nov 2025 19:07:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, morph@debian.org. (Tue, 04 Nov 2025 19:07:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: python-requests-cache: please make the build reproducible
Date: Tue, 04 Nov 2025 11:05:16 -0800
[Message part 1 (text/plain, inline)]
Source: python-requests-cache
Version: 1.2.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
python-requests-cache could not be built reproducibly.

This is because it leaves files after running the tests, and it also
installs files directly under Python's dist-packages/ directory:

   /usr/lib/python3/dist-packages/http_cache.sqlite

Patch attached that adds:

    export PYBUILD_AFTER_TEST=rm -v {build_dir}/http_cache.sqlite


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[python-requests-cache.diff.txt (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 2 08:01:57 2026; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.