Skip to content

[MNT]: Add PEP-723 metadata to bug report template #30584

@ianhi

Description

@ianhi

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions