Skip to content

Propcache is not reproducible #68

@bbhtt

Description

@bbhtt

Please confirm the following

  • I understand this is open source software provided for free and that I might not receive a timely response.
  • I am positive I am NOT reporting a (potential) security
    vulnerability, to the best of my knowledge. (These must be shared by
    submitting this report form instead, if
    any hesitation exists.)
  • I am willing to submit a pull request with reporoducers as xfailing test cases or even entire fix. (Assign this issue to me.)

Describe the bug

See diffoscope result https://freedesktop-sdk.gitlab.io/-/freedesktop-sdk/-/jobs/8191608665/artifacts/result_folder/components/python3-propcache.bst/index.html

diffoscope.txt (change to .HTML)

Seems to be from here

def _in_temporary_directory(src_dir: Path) -> t.Iterator[None]:
with TemporaryDirectory(prefix='.tmp-propcache-pep517-') as tmp_dir:
tmp_dir_path = Path(tmp_dir)
root_tmp_dir_path = tmp_dir_path.parent
_exclude_tmpdir_parent = partial(_exclude_dir_path, root_tmp_dir_path)

To Reproduce

Build it in freedesktop sdk https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/blob/master/CONTRIBUTING.md?ref_type=heads#testing-locally and compare reproducibility.

Expected behavior

It should be reproducible

Logs/tracebacks

N/A

Python Version

3.13

propcache Version

v0.2.0

OS

Linux (Freedesktop SDK)

Additional context

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions