Merge branch 'develop' into documentation

This commit is contained in:
fjosw 2023-03-11 21:31:51 +00:00
commit 854102ec1d
2 changed files with 48 additions and 1 deletions

46
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View file

@ -0,0 +1,46 @@
name: Bug report
description: Report a bug.
title: "BUG:"
labels: [bug]
body:
- type: markdown
attributes:
value: >
Thank you for taking the time to file a bug report.
- type: textarea
attributes:
label: "Describe the issue:"
validations:
required: true
- type: textarea
attributes:
label: "Code example:"
description: >
A short, self-contained code example that reproduces the problem.
placeholder: |
import pyerrors as pe
<< your code here >>
render: python
validations:
required: true
- type: textarea
attributes:
label: "Error message:"
description: >
Please include full error message, if any.
placeholder: |
<< Full traceback starting from `Traceback: ...` >>
render: shell
- type: textarea
attributes:
label: "Runtime information:"
description: >
Output of `pe.print_config()` (available from pyerrors 2.7).
For earlier versions please provide the python and pyerrors version.
validations:
required: true

View file

@ -11,7 +11,8 @@ from .version import __version__
def print_config(): def print_config():
"""Print information about version of python, pyerrors and dependencies.""" """Print information about version of python, pyerrors and dependencies."""
config = {"python": platform.python_version(), config = {"system": platform.system(),
"python": platform.python_version(),
"pyerrors": __version__, "pyerrors": __version__,
"numpy": np.__version__, "numpy": np.__version__,
"scipy": scipy.__version__, "scipy": scipy.__version__,