Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propcache is not reproducible #68

Open
4 of 5 tasks
bbhtt opened this issue Oct 30, 2024 · 2 comments
Open
4 of 5 tasks

Propcache is not reproducible #68

bbhtt opened this issue Oct 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bbhtt
Copy link

bbhtt commented Oct 30, 2024

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

@bbhtt bbhtt added the bug Something isn't working label Oct 30, 2024
@webknjaz
Copy link
Member

Yes, thiw is the same as with yarl et al. I don't remember if I settled on the way to address this yet. Need to dig into the old issues. I think some downstreams just patch it out for now.

@webknjaz
Copy link
Member

Oh, I think I wanted to implement a PEP517 config setting with the flag..

@webknjaz webknjaz self-assigned this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants