Skip to content
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

Improving bug report template #9099

Closed
SultanOrazbayev opened this issue May 18, 2022 · 4 comments · Fixed by #9144
Closed

Improving bug report template #9099

SultanOrazbayev opened this issue May 18, 2022 · 4 comments · Fixed by #9144
Labels
enhancement Improve existing functionality or make things work better good first issue Clearly described and easy to accomplish. Good for beginners to the project.

Comments

@SultanOrazbayev
Copy link
Contributor

This is a suggestion to simplify reporting the dask version in the issue template by providing a suggested code snippet to run (in the Environment section of the issue template):

import dask; print("- Dask version:", dask.__version__)
import sys; print("- Python version:", sys.version)
@jrbourbeau
Copy link
Member

Thanks for the suggestion @SultanOrazbayev. I'd go a step further and follow the lead from other projects like pandas / xarray and add a dask.show_versions() method which outputs all the version/system-related information we want included when users open an issue. That would let us replace that section in the template with something like "Include the output of dask.show_versions()".

Is this something you're interested in working on? (no obligation though)

@jrbourbeau jrbourbeau added good first issue Clearly described and easy to accomplish. Good for beginners to the project. enhancement Improve existing functionality or make things work better and removed needs triage Needs a response from a contributor labels May 18, 2022
@SultanOrazbayev
Copy link
Contributor Author

SultanOrazbayev commented May 18, 2022 via email

@mrocklin
Copy link
Member

mrocklin commented May 18, 2022 via email

@jrbourbeau
Copy link
Member

I am interested in this!

Great, getting a bit more specific it would be nice to have output like the following:

>>> import dask
>>> dask.show_versions()
Python: 3.9.6
Platform: darwin
Versions:
- dask: X.Y.Z
- distributed: X.Y.Z
- numpy: X.Y.Z
- pandas: X.Y.Z
- cloudpickle: X.Y.Z
- fsspec: X.Y.Z
- bokeh: X.Y.Z
- fastparquet: X.Y.Z
- pyarrow: X.Y.Z
- zarr: X.Y.Z

Should we reconsider asking folks to provide this?

I find myself asking questions like "What version of dask are you using? Have you tried the latest release yet?" / "What version of pandas / numpy / pyarrow / ... are you using?" often. I think something like dask.show_versions() would allow us to answer several of those questions proactively without users needing to do much. That said, we don't require any of this information when opening an issue, so folks can still feel free to not include it, but it streamlines the process for those that do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality or make things work better good first issue Clearly described and easy to accomplish. Good for beginners to the project.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants