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


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

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

Started byPhilip Rinn <rinni@inventati.org>
First post2020-12-21 15:00 +0100
Last post2020-12-21 15:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromPhilip Rinn <rinni@inventati.org>
Date2020-12-21 15:00 +0100
SubjectBug#969352: dh-python: pybuild flit: build path included in RECORD file (makes build non reproducible)
Message-ID<BotTb-89A-11@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web