aio-libs / aio-libs/frozenlist

PEP517 backend is non-deterministic

Open
#577 27 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
126
Forks
43
Avg merge
1h 52m
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.