Skip to content

Tweak issue templates #9754

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

Merged
merged 2 commits into from
Apr 1, 2021
Merged
Show file tree
Hide file tree
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
123 changes: 52 additions & 71 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,81 +1,62 @@
---
name: Bug report
about: Something is not working correctly.
title: ""
labels: "S: needs triage, type: bug"
issue_body: true # default: true, adds a classic WSYWIG textarea, if on
body:
- type: markdown
attributes:
value: |
If you're reporting an issue for `--use-feature=2020-resolver`,
use the "Dependency resolver failures / errors" template instead.
- type: markdown
attributes:
value: "**Environment**"
- type: input
attributes:
label: pip version
validations:
required: true
- type: input
attributes:
label: Python version
validations:
required: true
- type: input
attributes:
label: OS
validations:
required: true
- type: textarea
attributes:
label: Additional information
description: >-
Feel free to add more information about your environment here.

- type: textarea
attributes:
label: Description
description: >-
A clear and concise description of what the bug is.

- type: textarea
attributes:
label: Expected behavior
description: >-
A clear and concise description of what you expected to happen.
body:
- type: textarea
attributes:
label: Description
description: >-
A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
attributes:
label: How to Reproduce
description: >-
Describe the steps to reproduce this bug.
value: |
1. Get package from '...'
2. Then run '...'
3. An error occurs.
- type: textarea
attributes:
label: Expected behavior
description: >-
A clear and concise description of what you expected to happen.

- type: textarea
attributes:
label: Output
description: >-
Paste the output of the steps above, including the commands
themselves and pip's output/traceback etc.
value: |
```console
- type: input
attributes:
label: pip version
validations:
required: true
- type: input
attributes:
label: Python version
validations:
required: true
- type: input
attributes:
label: OS
validations:
required: true

```
- type: textarea
attributes:
label: How to Reproduce
description: Please provide steps to reproduce this bug.
value: |
1. Get package from '...'
2. Then run '...'
3. An error occurs.
validations:
required: true

- type: checkboxes
attributes:
label: Code of Conduct
description: |
Read the [PSF Code of Conduct][CoC] first.
- type: textarea
attributes:
label: Output
description: >-
Provide the output of the steps above, including the commands
themselves and pip's output/traceback etc.
render: sh-session

[CoC]: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
options:
- label: I agree to follow the PSF Code of Conduct
required: true
...
- type: checkboxes
attributes:
label: Code of Conduct
options:
- label: >-
I agree to follow the [PSF Code of Conduct](https://www.python.org/psf/conduct/).
required: true
34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/resolver-failure.md

This file was deleted.