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
API: deprecate warning for show_in_browser #16068
Conversation
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
@MridulS - there is a merge conflict that needs to be resolved. Otherwise this looks good to me. |
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.
Looks good!
I set this for auto-merge, but it looks like the milestone_checker is stuck. hmm. |
@taldcroft setting a milestone should retrigger and fix it (🤞🏻) |
@neutrinoceros - do'oh!! thanx. |
@@ -1841,6 +1841,13 @@ def show_in_notebook( | |||
html += jsv.ipynb(tableid, css=css, sort_columns=sortable_columns) | |||
return HTML(html) | |||
|
|||
@deprecated( | |||
"6.1", | |||
pending=True, |
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.
Why is this not a proper deprecation?
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.
I think the idea was to take this one a bit slower to gather user inputs.
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.
I don't think most user would see pending=True
warning. Could you please open a follow-up issue on when you think we can remove pending=True
here? Thanks!
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.
Might also want to post to astropy-dev once you have this follow-up issue. Any further discussions on a merged PR would be easily overlooked.
Follow up from #15905
Being a bit bold here, let's add a pending deprecation warning to
show_in_browser
. By removingshow_in_browser
we can get rid of the JS code in astropy.We can use #16067 to solicit feedback.