Debian Patches

Status for pyraf/2.2.2-4~deb13u1

Patch Description Author Forwarded Bugs Origin Last update
Use-system-provided-iraf-by-default.patch Use system provided iraf by default Ole Streicher <olebole@debian.org> no 2017-12-19
Update-test_compmixin.py-for-Python-3.13.patch Update test_compmixin.py for Python 3.13
* Upstream URL: https://github.com/iraf-community/pyraf/pull/177
* Origin: https://github.com/spacetelescope/stsci.tools/pull/164
"P. L. Lim" <2090236+pllim@users.noreply.github.com> no 2024-09-16
Mark-test-that-failed-on-i386-as-xfail.patch Mark test that failed on i386 as xfail

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.
Ole Streicher <olebole@debian.org> no 2025-05-02
Fix-graphical-init-for-work-with-Python-3.13.patch 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.
Ole Streicher <olebole@debian.org> no 2025-08-10

All known versions for source package 'pyraf'

Links