GeezerVison is showing github.com — clib: Rename the virtualfile_from_data method to virtualfile_in by seisman · Pull Request #3068 · GenericMappingTools/pygmt
Conversation
Rename virtualfile_from_data to virtualfile_in. The old name is still supported but will be removed in the future.
Address #3057 (comment)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
seisman
changed the title
Rename API function virtualfile_from_data to virtualfile_in
clib.session: Rename the virtualfile_from_data method to virtualfile_in
Feb 26, 2024
seisman
changed the title
clib.session: Rename the virtualfile_from_data method to virtualfile_in
clib: Rename the virtualfile_from_data method to virtualfile_in
Feb 27, 2024
Comment on lines
+1612
to
+1613
|
|
# virtualfile_from_data was renamed to virtualfile_in since v0.12.0.
|
|
|
virtualfile_from_data = virtualfile_in
|
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.
Originally posted by @yvonnefroehlich in #3180 (comment)
Regarding the point
* clib: Rename the "virtualfile_from_data" method to "virtualfile_in" ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068))
I was / am a bit unsure, as there ins no FutureWarning added and not version stated when virtualfile_from_data is removed.
@seisman, did you want to keep this virtualfile_from_data alias around, or remove it at some point? If removing, should we start to raise a FutureWarning in v0.13.0, and remove it completely in v0.15.0?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
yvonnefroehlich reacted with thumbs up emoji
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.
If removing, should we start to raise a FutureWarning in v0.13.0, and remove it completely in v0.15.0?
Sounds good
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
This is also fine with me.
I have added this to the changelog for v0.12.0; feel free to remove it if you think it is better not to state it before we have implemented it.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
weiji14
weiji14 left review comments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|