-
-
Notifications
You must be signed in to change notification settings - Fork 26k
DOC: add show_versions() in .md files after 0.20 release #11631
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
Conversation
import numpy; print("NumPy", numpy.__version__) | ||
import scipy; print("SciPy", scipy.__version__) | ||
import sklearn; print("Scikit-Learn", sklearn.__version__) | ||
import sklearn; sklearn.show_versions() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would need to have separate paragraphs in the documentation for scikit-learn >=0.20 and <0.20, otherwise users with older versions will not report relevant system information at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be the proper way to do that in markdown ?
In the .rst docs I have used a .. note::
paragraph to notify it but markdown is less rich and I could not find any other example.
import numpy; print("NumPy", numpy.__version__) | ||
import scipy; print("SciPy", scipy.__version__) | ||
import sklearn; print("Scikit-Learn", sklearn.__version__) | ||
import sklearn; sklearn.show_versions() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also 2 paragraphs here, depending on the scikit-learn version..
ping @aboucaud Please take some time to finish this one ASAP, thanks (It's not recommended to split your work in multiple PRs) |
This is intentionally separate.
8000
It's not appropriate to include this in the
README until the latest release includes show_versions.
…On 1 August 2018 at 10:14, Hanmin Qin ***@***.***> wrote:
ping @aboucaud <https://github.com/aboucaud> Please take some time to
finish this one ASAP, thanks (It's not recommended to split your work in
multiple PRs)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11631 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEz62QwzI-44yPujI7FT37VoY3H8pDAks5uMPLQgaJpZM4VWIYu>
.
|
Oops, sorry. |
Following comments on #11522, this PR updates both
CONTRIBUTING.md
andISSUE_TEMPLATE.md
by replacing the version information request with the output ofsklearn.show_versions()
that will be implemented in release 0.20.Reference Issues/PRs
Fixes #11522, follows up on #11596.