From 1f17529f9849be485803868fef34c7180c2ec85e Mon Sep 17 00:00:00 2001 From: "P. L. Lim" Date: Tue, 23 May 2017 10:58:13 -0400 Subject: Add stpyfits to compatiblity page (#60) --- source/compat.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source') diff --git a/source/compat.rst b/source/compat.rst index a8861d1..2a078da 100644 --- a/source/compat.rst +++ b/source/compat.rst @@ -35,6 +35,22 @@ If you spot a compatibility problem not listed here please let us know by sendin **You may be affected by an issue if you have updated your AstroConda environment on or after the dates listed in each section below.** +2017-05-19 +========== + +Astropy removed yet another deprecated function in v2.0; namely ``io.fits.NumCode``. +This function was called by ``stpyfits``, which gets used by in the HST pipeline +as called by the ``drizzlepac`` to transparently handle ``_raw.fits`` HST data. +The deprecation is addressed in order to allow the next release to work in the +operational HST calibration pipeline build, HSTDP 2017.2 +(see https://github.com/spacetelescope/stsci.tools/pull/36). + +.. code-block:: python + + >>> sdq = stpyfits.getdata("j9ot10icq_raw.fits", extname="DQ", extver=1) + WARNING: AstropyDeprecationWarning: The NumCode class attribute is deprecated and may be removed in a future version. + Use the module level constant BITPIX2DTYPE instead. [astropy.utils.decorators] + 2017-05-02 ========== -- cgit