aio-libs / aio-libs/frozenlist

PEP517 backend is non-deterministic

Abierto
#577 27 comentarios 1 reacción 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
126
Forks
43
Merge medio
1 h 52 min
PR fusionados (30 d)
13

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.