Merge pull request #1938 from mejrs/issues

Update issue templates
This commit is contained in:
David Hewitt 2021-10-21 18:17:37 +01:00 committed by GitHub
commit fd9b0cab1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 110 additions and 18 deletions

4
.github/ISSUE_TEMPLATE/blank_issue.md vendored Normal file
View File

@ -0,0 +1,4 @@
---
name: 📝 Blank Issue
about: Create a blank issue.
---

81
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@ -0,0 +1,81 @@
name: 🐛 Bug Report
description: Create a bug report
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this bug report!
Please fill out the form below...
- type: textarea
id: description
attributes:
label: Bug Description
description: Please provide a clear and concise description of what the bug is.
placeholder: The bug is...
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to Reproduce
description: Provide steps to reproduce this bug.
placeholder: |
1.
2.
3.
validations:
required: true
- type: textarea
id: debug
attributes:
label: Backtrace
description: If your bug produces a backtrace, please include it here.
render: shell
- type: input
id: os_version
attributes:
label: Your operating system and version
validations:
required: true
- type: input
id: py_version
attributes:
label: Your Python version (`python --version`)
placeholder: ex. Python 3.10.0
validations:
required: true
- type: input
id: rust_version
attributes:
label: Your Rust version (`rustc --version`)
placeholder: ex. rustc 1.55.0 (c8dfcfe04 2021-09-06)
validations:
required: true
- type: input
id: pyo3_version
attributes:
label: Your PyO3 version
placeholder: ex. 0.14.0
validations:
required: true
- type: textarea
id: install_method
attributes:
label: How did you install python? Did you use a virtualenv?
placeholder: |
apt
pyenv
pacman
brew
python.org installer
microsoft store
etc...
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: Additional Info
description: Any additional info that you think might be useful or relevant to this bug

11
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: ❓ Question
url: https://github.com/PyO3/pyo3/discussions
about: Ask and answer questions about PyO3 on Discussions
- name: 🔧 Troubleshooting
url: https://github.com/PyO3/pyo3/discussions
about: For troubleshooting help, see the Discussions
- name: 👋 Chat
url: https://gitter.im/PyO3/Lobby
about: Engage with PyO3's users and developers on Gitter

View File

@ -0,0 +1,14 @@
---
name: 💡 Feature request
about: Suggest an idea for this project
labels: [enhancement]
---
<!--
Thank you for sharing your idea!
Please describe your idea in depth. If you're not sure what to write, imagine the following:
- How is this important to you? How would you use it?
- Can you think of any alternatives?
- Do you have any ideas about how it can be implemented? Are you willing/able to implement it? Do you need mentoring?
-->

View File

@ -1,18 +0,0 @@
## 🐛 Bug Reports
When reporting a bug, please provide the following information. If this is not a bug report you can just discard this template.
### 🌍 Environment
- Your operating system and version:
- Your python version:
- How did you install python (e.g. apt or pyenv)? Did you use a virtualenv?:
- Your Rust version (`rustc --version`):
- Your PyO3 version:
- Have you tried using latest PyO3 main (replace `version = "0.x.y"` with `git = "https://github.com/PyO3/pyo3")?`:
### 💥 Reproducing
Please provide a [minimal working example](https://stackoverflow.com/help/mcve). This means both the Rust code and the Python.
Please also write what exact flags are required to reproduce your results.