-
Notifications
You must be signed in to change notification settings - Fork 24
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
[FEATURE REQUEST] Create a function to print out version numbers of GCPy dependent packages #36
Comments
This feature was implemented in d434905. If you type this: import gcpy
gcpy.show_versions() You will get this printout:
Or if you do this import gcpy
a = gcpy.show_versions(as_json=True)
print(a) you get a JSON object back, which prints out as this:
NOTE: Not all packages have a version number, so those will show up as "None". This is a nice way of asking people to send us version numbers for support requests. |
My fault -- I forgot to define |
In commit b059bd2, gcpy.show_versions() now prints out the platform information, as shown below. Also, we suppress printing of packages for which no version information is available:
|
Description:
The xarray package contains a function xr.show_versions(), which lists the version numbers of all dependent packages. This can be useful for debugging.
I propose that we make a similar function gcpy.show_versions(). We can ask GCPy users to cut-n-paste us the output of show_versions when they open issues.
The text was updated successfully, but these errors were encountered: