GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — pygmt.show_versions: Warn about incompatible ghostscript versions by seisman · Pull Request #3244 · GenericMappingTools/pygmt Conversation
|
| from packaging.requirements import Requirement | ||
| from packaging.version import Version | ||
|
|
||
| def _get_clib_info() -> dict: |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The pygmt.print_clib_info function was initially added in #176 but has been replaced by pygmt.show_versions in #466 (first appear in v0.1.2).
In this PR, a new private function _get_clib_info is added which returns a dictionary instead of printing a long string.
It's time to retire the print_clib_info function. Since it's rarely used, I think we can just remove it without a deprecation warning. Of course, we should do it in a separate PR so that at least we have a deprecation entry in the v0.13.0 changelog.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
bfeea0c to
1e4b338
Compare
There was an error while loading. Please reload this page.
Co-authored-by: Yvonne Fröhlich <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.