-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
Summary
I've found PEP-723 metadata (e.g., enabling uv run script.py) to be very helpful in debugging issues. In the past couple months ,I've added this to both zarr-python and xarray issue trackers zarr-developers/zarr-python#3087 and pydata/xarray#10707
you can see it in action here: https://github.com/pydata/xarray/issues/new?template=bugreport.yml
Anecdotally not everyone uses it, but several people have, which makes it fairly nice to debug things, and make sure that a minimal example is actually broken on the latest release, not an older one.
FWIW I also wrote a small tool that will automatically extract code snippets from an issue, repair or add script metadata, and then automatically bisect an arbirartary library using that metadata which might be helpful here https://github.com/ianhi/script-bisect#script-bisect
Proposed fix
Add pep-723 metadata as a suggestion in the bug report reproducer field