@VisibleForTesting
  static String getMatchingStablePythonSDKVersion(String javaSDKVersion) {
    if (javaSDKVersion == null) {
      return "latest";
    } else if (javaSDKVersion.endsWith(".dev")) {
      return "latest";
    } else {
      return javaSDKVersion;
    }
  }
@Test
  public void getMatchingStablePythonSDKVersionTest() {
    assertEquals("2.41.0", PythonService.getMatchingStablePythonSDKVersion("2.41.0"));
    assertEquals("2.40.1", PythonService.getMatchingStablePythonSDKVersion("2.40.1"));
    assertEquals("3.0.0", PythonService.getMatchingStablePythonSDKVersion("3.0.0"));

    assertEquals("latest", PythonService.getMatchingStablePythonSDKVersion("2.42.0.dev"));
    assertEquals("latest", PythonService.getMatchingStablePythonSDKVersion("3.0.0.dev"));

    assertEquals("latest", PythonService.getMatchingStablePythonSDKVersion(null));
  }