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 get_fileext() method #400

Merged
merged 2 commits into from
Feb 12, 2025
Merged

Conversation

emolter
Copy link
Contributor

@emolter emolter commented Feb 12, 2025

Closes #16

This PR removes the previously-deprecated DataModel.get_fileext() method. The method is unused by JWST.

Tasks

  • update or add relevant tests
  • update relevant docstrings and / or docs/ page
  • Does this PR change any API used downstream? (if not, label with no-changelog-entry-needed)
    • write news fragment(s) in changes/: echo "changed something" > changes/<PR#>.<changetype>.rst (see below for change types)
    • run jwst regression tests with this branch installed ("git+https://github.com/<fork>/stdatamodels@<branch>")
news fragment change types...
  • changes/<PR#>.feature.rst: new feature
  • changes/<PR#>.bugfix.rst: fixes an issue
  • changes/<PR#>.doc.rst: documentation change
  • changes/<PR#>.removal.rst: deprecation or removal of public API
  • changes/<PR#>.misc.rst: infrastructure or miscellaneous change

@emolter emolter marked this pull request as ready for review February 12, 2025 18:49
@emolter emolter requested a review from a team as a code owner February 12, 2025 18:49
@emolter emolter requested a review from braingram February 12, 2025 18:51
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.20%. Comparing base (4e83608) to head (3cd8546).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #400      +/-   ##
==========================================
+ Coverage   78.16%   78.20%   +0.03%     
==========================================
  Files         115      115              
  Lines        5144     5152       +8     
==========================================
+ Hits         4021     4029       +8     
  Misses       1123     1123              

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

@braingram
Copy link
Collaborator

Would you run regtests (to be extra sure there's not some silent usage)?

We should also keep track that this triggers 3.0.0 for the next stdatamodels release.

@emolter emolter added this to the 3.0.0 milestone Feb 12, 2025
@emolter
Copy link
Contributor Author

emolter commented Feb 12, 2025

regression tests here https://github.com/spacetelescope/RegressionTests/actions/runs/13293022887

edit: all passing

Copy link
Collaborator

@braingram braingram left a comment

Choose a reason for hiding this comment

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

LGTM.

@emolter emolter merged commit 8c2f588 into spacetelescope:main Feb 12, 2025
19 checks passed
@emolter emolter deleted the issue-16 branch February 12, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove get_fileext() method
2 participants