private static int readGeneratorVersion() {
    File versionFile = PythonHelpersLocator.findFileInHelpers("generator3/version.txt");
    try (Reader reader = new InputStreamReader(new FileInputStream(versionFile), StandardCharsets.UTF_8)) {
      return PySkeletonHeader.fromVersionString(StreamUtil.readText(reader).trim());
    }
    catch (IOException e) {
      throw new AssertionError("Failed to read generator version from " + versionFile);
    }
  }
private static int readGeneratorVersion()