aio-libs / aio-libs/frozenlist

PEP517 backend is non-deterministic

Ouverte
#577 27 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
126
Forks
43
Merge moyen
1 h 52 min
PR mergées (30 j)
13

Description

## 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.