Skip to content
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

Remove deprecated methods and arguments. #2578

Merged
merged 5 commits into from
Nov 28, 2023

Conversation

rosteen
Copy link
Collaborator

@rosteen rosteen commented Nov 27, 2023

This removes some stuff that was deprecated in 3.6, as well as something that's been hanging around deprecated since 3.1, in preparation for the 3.8 release.

@pllim pllim added this to the 3.8 milestone Nov 27, 2023
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (be28971) 90.82% compared to head (c382234) 91.22%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2578      +/-   ##
==========================================
+ Coverage   90.82%   91.22%   +0.39%     
==========================================
  Files         160      160              
  Lines       19526    19434      -92     
==========================================
- Hits        17735    17729       -6     
+ Misses       1791     1705      -86     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rosteen rosteen marked this pull request as ready for review November 27, 2023 23:22
CHANGES.rst Outdated
@@ -53,6 +53,8 @@ Specviz2d
API Changes
-----------

- Removed some previously deprecated methods and arguments. [#2578]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be more specific. User reading this change log entry needs to know exactly what was removed without having to read the diff here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There can even be multiple entries pointing to the same PR, as you see fit. For example, the wording can be something like this for one of them:

- Deprecated ``app.get_data_from_viewer`` is removed. Use ``viz_helper.get_data`` method instead. [#2578]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done - I left out the show_continuum_marks deprecation, since I think that was solely an internal thing, but I can add it for completeness if anyone thinks we need to.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, no need to mention things users are not using directly. Thanks!

Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the clean-up. Thanks!

@pllim pllim merged commit db7c9f1 into spacetelescope:main Nov 28, 2023
18 of 19 checks passed
rosteen added a commit to rosteen/jdaviz that referenced this pull request Nov 29, 2023
* Remove deprecated methods from app.py

* Remove more deprecations

* Also remove this from user_api

* Add changelog

* More detailed changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants