Skip to content

Conversation

@braingram
Copy link
Collaborator

@braingram braingram commented Nov 6, 2024

This PR deprecates Step.__call__.

spacetelescope/romancal#1499 and spacetelescope/jwst#8945 removed all uses of Step.__call__ in romancal and 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 regression tests with this branch installed ("git+https://github.com/<fork>/stpipe@<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

@codecov
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 80.80%. Comparing base (fd68d87) to head (45d4cde).
Report is 24 commits behind head on main.

Files with missing lines Patch % Lines
src/stpipe/step.py 50.00% 2 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (fd68d87) and HEAD (45d4cde). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (fd68d87) HEAD (45d4cde)
3 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #204       +/-   ##
===========================================
- Coverage   94.57%   80.80%   -13.78%     
===========================================
  Files          37       37               
  Lines        3172     2849      -323     
===========================================
- Hits         3000     2302      -698     
- Misses        172      547      +375     

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

@braingram braingram force-pushed the deprecate_dunder_call branch from 4ebe756 to 45d4cde Compare November 13, 2024 18:54
@braingram braingram marked this pull request as ready for review November 19, 2024 14:53
@braingram braingram requested a review from a team as a code owner November 19, 2024 14:53
@braingram braingram merged commit 511ec29 into spacetelescope:main Nov 20, 2024
16 of 18 checks passed
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.

2 participants