Package: pyraf / 2.2.2-4

Metadata

Package Version Patches format
pyraf 2.2.2-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Use system provided iraf by default.patch | (download)

pyraf/clcache.py | 4 2 + 2 - 0 !
pyraf/fill_clcache.py | 3 2 + 1 - 0 !
pyraf/iraffunctions.py | 13 1 + 12 - 0 !
3 files changed, 5 insertions(+), 15 deletions(-)

 use system provided iraf by default


Update test_compmixin.py for Python 3.13.patch | (download)

pyraf/tools/tests/test_compmixin.py | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 update test_compmixin.py for python 3.13

* Upstream URL: https://github.com/iraf-community/pyraf/pull/177
Mark test that failed on i386 as xfail.patch | (download)

pyraf/tests/test_invocation.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 mark test that failed on i386 as xfail

Closes: #1103060

However, it is unclear why this test failed. The failure is not
reproducible, and the request for more info failed. I'd assume it was
a one-time glitch, but we do the marking anyway to be sure.

Fix graphical init for work with Python 3.13.patch | (download)

pyraf/gkitkbase.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 fix graphical init for work with python 3.13

As pointed out in https://github.com/iraf-community/pyraf/issues/182,
version 2.2.2-3 fails to work properly with Python 3.13:

    $ pyraf -c 'onedspec; splot dev$pix 34'
    [...]
      File "/usr/lib/python3/dist-packages/pyraf/gki.py", line 1423, in
__init__
        p[0:4] = [0x92, 0x49, 0x24, 0x92]
    OverflowError: Python integer 146 out of bounds for int8

    PANIC in `/usr/lib/iraf/noao/bin/x_onedspec.e': Write to IPC with
no reader

The proper solution is to apply
https://github.com/iraf-community/pyraf/pull/176; however for a minimal
fix one can just remove the line 208 from   pyraf/pyraf/gkitkbase.py.

Closes: #1110708