Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,28 @@ body:
attributes:
label: Report
description: |
Describe the bug you encountered, and what you were trying to do. Please use [github markdown][] features for readability.
Describe the bug you encountered, and what you were trying to do.
Executable example must list dependencies in [inline script metadata][].
When put in a file named `issue.py` using [uv run][] i.e., `uv run issue.py`, should show the issue.

Please use [github markdown][] features for readability.

[uv run]: https://docs.astral.sh/uv/guides/scripts/#running-a-script-with-dependencies
[inline script metadata]: https://packaging.python.org/en/latest/specifications/inline-script-metadata/#example
[github markdown]: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
value: |
Code:

```python
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "anndata@git+https://github.com/scverse/anndata.git",
# ]
# ///

import anndata
# your reproducer code
```

Traceback:
Expand All @@ -57,15 +71,14 @@ body:
click the “Copy as Markdown” button,
then paste the results into the text box below.

```python
```pycon
In[1]: import anndata, session_info2; session_info2.session_info(dependencies=True)
```

Alternatively, run this in a console:
Alternatively, run this in your virtual environment:

```python
>>> import session_info2; print(session_info2.session_info(dependencies=True)._repr_mimebundle_()["text/markdown"])
```shell
session-info2 -f markdown # do *not* use `uvx` for this
```
render: python
validations:
required: true
Loading