GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — clib: Rename the virtualfile_from_data method to virtualfile_in by seisman · Pull Request #3068 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Feb 26, 2024

Copy link
Copy Markdown
Member

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.

All reactions
@seisman
Rename API function virtualfile_from_data to virtualfile_in
464a3d3
@seisman seisman mentioned this pull request Feb 26, 2024
clib: Add the virtualfile_out method for creating output virtualfile #3057
Merged
4 of 7 tasks
@seisman seisman added deprecation Deprecating a feature needs review This PR has higher priority and needs review. labels Feb 26, 2024
@seisman seisman added this to the 0.12.0 milestone Feb 26, 2024
@seisman 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
Merge branch 'main' into virtualfile_in
4fad611
@seisman 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
seisman added 2 commits February 28, 2024 12:35
@seisman
Merge branch 'main' into virtualfile_in
6bda03b
@seisman
Merge branch 'main' into virtualfile_in
ff153aa
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. labels Feb 29, 2024
@seisman
Merge branch 'main' into virtualfile_in
94d8b1e
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Mar 1, 2024
@seisman
seisman merged commit e8dc8d4 into main Mar 1, 2024
@seisman
seisman deleted the virtualfile_in branch March 1, 2024 02:14
@seisman seisman mentioned this pull request Mar 11, 2024
clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset #3083
Merged
weiji14
weiji14 reviewed May 2, 2024
View reviewed changes
Comment thread pygmt/clib/session.py
Comment on lines +1612 to +1613
# virtualfile_from_data was renamed to virtualfile_in since v0.12.0.
virtualfile_from_data = virtualfile_in

@weiji14 weiji14 May 2, 2024

Copy link
Copy Markdown
Member

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
All reactions
  • 👍 1 reaction

@seisman seisman May 2, 2024

Copy link
Copy Markdown
Member Author

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.

All reactions

@yvonnefroehlich yvonnefroehlich May 2, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

All reactions
@seisman seisman mentioned this pull request May 5, 2024
clib: Deprecate API function 'Session.virtualfile_from_data', use 'Session.virtualfile_in' instead (will be removed in v0.15.0) #3225
Merged
@seisman seisman mentioned this pull request Aug 4, 2024
Release PyGMT v0.13.0 #3361
Closed
35 of 39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@weiji14 weiji14 weiji14 left review comments
@yvonnefroehlich yvonnefroehlich yvonnefroehlich left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

deprecation Deprecating a feature

Projects

None yet

Milestone

0.12.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@seisman @weiji14 @yvonnefroehlich
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.