HyperQueue 0.23.0 added new special values unlimited and never-restart for the --crash-limit CLI option, but in the Python API the crash_limit parameter is still annotated as Optional[int]:
https://it4innovations.github.io/hyperqueue/stable/python/apidoc/hyperqueue.job.Job.html#f_function
I did not try if the new values work if passed from Python but at least the type annotation should be updated.