Raise the python recursion limit

the autohinter is currently hitting the default Python stack limit; we should
try raising it, this is the intended britney behavior and the system is here
primarily to run proposed-migration so we should not be constrained by the
default
This commit is contained in:
Steve Langasek 2024-01-08 08:19:16 -08:00
parent 008fc3c065
commit c60b67d182

View File

@ -236,6 +236,8 @@ from britney2.utils import (log_and_format_old_libraries,
__author__ = 'Fabio Tranchitella and the Debian Release Team'
__version__ = '2.0'
# "temporarily" raise recursion limit for the auto hinter
sys.setrecursionlimit(2000)
class Britney(object):
"""Britney, the Debian testing updater script