AL-1042: Use roman-specific tweakwcs corrector#2219
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2219 +/- ##
=======================================
Coverage 80.99% 80.99%
=======================================
Files 159 159
Lines 9502 9503 +1
=======================================
+ Hits 7696 7697 +1
Misses 1806 1806 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Although regression tests fail, it is actually just one unit test that is failing and, based on the line numbers in the traceback, it looks like unit tests (when run as part of the entire regression test) do not use install overrides and so they do not use required package versions by |
|
Last commit (only temporary, to illustrate the last point) sets dependency to spacetelescope/stcal#529 and the regression tests with this commit are: https://github.com/spacetelescope/RegressionTests/actions/runs/22793185624 |
|
Tests are going to fail until the |
|
If you want, I can make a temporary commit to make them pass (it will need to be dropped before merging) |
|
I'm okay with either a temporary commit or a link to passing regression tests. The approach you're taking here looks reasonable to me and I'm happy to move forward with it, pending your deciding which of the various options is the best. Thanks! |
mairanteodoro
left a comment
There was a problem hiding this comment.
Looks good to me! Thanks, Mihai!
I can approve once all the tests are passing.
03401d0 to
15f46ca
Compare
f759609 to
8f931b7
Compare
schlafly
left a comment
There was a problem hiding this comment.
One minor comment inline. In general I'm happy to approve this conditionally upon the dependencies getting merged.
If I understood correctly, the stcal release (that will pull in the tweakwcs release) is still compatible with the old code, so that release can happen without needing to bump stcal's major version number, and then this PR can go in?
Yes, |
da02dbc to
ed74415
Compare
mairanteodoro
left a comment
There was a problem hiding this comment.
I see that all the other PRs connected with this one have been merged. Thanks, @mcara!
|
Do not merge this PR until there is a new release of |
|
JWST PR does not need |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Co-authored-by: Brett Graham <brettgraham@gmail.com>
for more information, see https://pre-commit.ci
ed74415 to
19e0909
Compare
|
Since the stcal PR is in, normally we were point pyproject.toml to point to stcal github main now, and then this could be merged? |
Oh, if you are OK to pointing to |
3467023 to
76b8889
Compare
76b8889 to
139fdc6
Compare
|
ready to merge |
|
Started a new run of regression tests: https://github.com/spacetelescope/RegressionTests/actions/runs/26597890960 |
|
Don't know what happened with CI but regression tests pass. |
183bb4a to
c66b625
Compare
|
Oh, I see, it's spacetelescope/crds#1207 that prevents CI from starting. Anyway, regression tests pass so it should be OK to merge this. |
Resolves AL-1042
This PR switches correctors used in tweakreg from a jwst corrector to a dedicated roman-specific corrector. This PR depends on spacetelescope/tweakwcs#243 and spacetelescope/stcal#529 being merged and
teakwcsversion0.9.0be released. Unit tests will not pass unless we modifypyproject.tomlto use those branches ofstcalandtweakwcs.Tasks
24Q4_B15(use the latest build if not sure)no-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see changelog readme for instructions)changes/<PR#>.breaking.rstnews fragmentdocs/pageokify_regteststo update the truth files