Join GitHub today
stpyfits incompatible with Astropy 3.2 #98
This is most probably caused by astropy/astropy#8502 . In
I think the fix here is to force the header to not lazy load (diligent load?) first before doing the copy.
Example failure log: https://travis-ci.org/spacetelescope/stsci.tools/jobs/543835788
With the new version in Astropy the header is not supposed to be modified at this stage. Because when instantiating the HDU object, the full header has not yet been parsed, only a minimal header has been parsed for the HDUs creation.