Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1038583

Bug#969352: dh-python: pybuild flit: build path included in RECORD file (makes build non reproducible)

From Philip Rinn <rinni@inventati.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#969352: dh-python: pybuild flit: build path included in RECORD file (makes build non reproducible)
Date 2020-12-21 15:00 +0100
Message-ID <BotTb-89A-11@gated-at.bofh.it> (permalink)
References <AJZxf-2B9-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I investigated a little ;-).

 From what I understand flit tries to use a relative path in the RECORD file [1] 
but that doesn't seem to work always. So my idea would be to strip the build path 
from the resulting RECORD file directly in the install_directly() function at [2]. 
Not entirely sure how to get the path of the file, but you probably have am idea 
;-) BTW: This is how flit does it [3].

Best regards
Philip



[1] https://github.com/takluyver/flit/blob/master/flit/install.py#L404

[2] 
https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/dhpython/build/plugin_flit.py#L78

[3] https://github.com/takluyver/flit/blob/master/flit/install.py#L356-L359

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#969352: dh-python: pybuild flit: build path included in RECORD file (makes build non reproducible) Philip Rinn <rinni@inventati.org> - 2020-12-21 15:00 +0100

csiph-web