private static void removeCachedManager(@NotNull Map<String, PyPackageManager> cache, @NotNull String key) {
    PyPackageManager removed = cache.remove(key);
    if (removed != null) {
      Disposer.dispose(removed);
    }
  }
private static void removeCachedManager(@NotNull Map<String, PyPackageManager> cache, @NotNull String key)