Added fix as a patch (versions > 3.8.1 require a much newer setuptools and cannot be submitted as update to Leap). MR accepted, closing this. Thanks for the report.