aio-libs / aio-libs/frozenlist

PEP517 backend is non-deterministic

未关闭
#577 27 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
126
派生
43
平均合并
1 小时 52 分钟
30 天内合并 PR
13

描述

## Long story short

We noticed in repro test that this package does not result in deterministic output. The problem is creation of temporary directory here https://github.com/aio-libs/frozenlist/blob/8c15ec9/packaging/pep517_backend/_backend.py#L199. It leaks into debuginfo (we spotted this through analysing _frozenlist.cpython-312-aarch64-linux-gnu.so.debug)

## Expected behaviour

Debuginfo is deterministic

## Actual behaviour

Debuginfo is not deterministic

## Steps to reproduce

Build twice, extract debuginfo, run diffoscope on data.

## Your environment

freedesktop-sdk.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。