Skip to content

Commit

Permalink
MNT: update bug report template
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Apr 27, 2024
1 parent 2af18a4 commit 8326880
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,28 @@ body:
- type: textarea
attributes:
label: Versions
description: Version of relevant packages.
description: Please run the following script and paste the output
value: |
```python
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import astropy; print("astropy", astropy.__version__)
import numpy; print("Numpy", numpy.__version__)
import erfa; print("pyerfa", erfa.__version__)
try:
import scipy
print("Scipy", scipy.__version__)
from astropy.utils.report_info import main; main()
except ImportError:
print("Scipy not installed")
try:
import matplotlib
print("Matplotlib", matplotlib.__version__)
except ImportError:
print("Matplotlib not installed")
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import astropy; print("astropy", astropy.__version__)
import numpy; print("Numpy", numpy.__version__)
import erfa; print("pyerfa", erfa.__version__)
try:
import scipy
print("Scipy", scipy.__version__)
except ImportError:
print("Scipy not installed")
try:
import matplotlib
print("Matplotlib", matplotlib.__version__)
except ImportError:
print("Matplotlib not installed")
```
```
# Copy the result here
# Paste the result here
```

0 comments on commit 8326880

Please sign in to comment.