Skip to content

Manual backport for #11108 (Don't re-verify invalid FITS cards after their values have been replaced) - #11415

Merged
saimn merged 2 commits into
astropy:v4.2.xfrom
pllim:backport-pr11108
Mar 27, 2021
Merged

saimn merged 2 commits into
astropy:v4.2.xfrom
pllim:backport-pr11108

Conversation

@pllim

@pllim pllim commented Mar 24, 2021

Copy link
Copy Markdown
Member

Description

This pull request is to manually backport #11108 to v4.2.x

@pllim pllim added this to the v4.2.1 milestone Mar 24, 2021
@pllim

pllim commented Mar 24, 2021

Copy link
Copy Markdown
Member Author

I am not 100% sure about this, please review carefully.

@pllim
pllim requested review from astrofrog, embray, eteq and saimn March 24, 2021 20:38
Comment thread CHANGES.rst
astropy.io.fits
^^^^^^^^^^^^^^^

- Fix bug where manual fixes to invalid header cards were not preserved when

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is still listed under 4.0.5. Do I have to move it as part of the manual backport?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No, it should stay here just as you've done.

@pllim
pllim marked this pull request as ready for review March 24, 2021 20:43
embray and others added 2 commits March 25, 2021 17:49
[astropy#5408] Don't re-verify invalid FITS cards after their values have been replaced
@pllim
pllim force-pushed the backport-pr11108 branch from 332c50c to 984ca28 Compare March 25, 2021 21:50

@eteq eteq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks right to me assuming the tests pass... but I admit I'm not following all the logic, so @saimn or @embray might want to weigh in...

@pllim

pllim commented Mar 25, 2021

Copy link
Copy Markdown
Member Author

I think the tests will fail with pyerfa thingy in coordinates, so hard to tell...

@saimn saimn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The io.fits failure was fixed by #11438 so I think it's all good for this one, the remaining failures are unrelated.

@saimn
saimn merged commit 22c73bd into astropy:v4.2.x Mar 27, 2021
@pllim
pllim deleted the backport-pr11108 branch March 29, 2021 15:42
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.

4 participants