@Override
  protected AnAction @NotNull [] getExtraActions() {
    AnAction useCondaButton = new DumbAwareToggleAction(
      PyBundle.messagePointer("action.AnActionButton.text.use.conda.package.manager"),
      Presentation.NULL_STRING, PythonIcons.Python.Anaconda) {
      @Override
      public boolean isSelected(@NotNull AnActionEvent e) {
        final Sdk sdk = getSelectedSdk();
        if (myPackageManagementService instanceof PythonPackageManagementServiceBridge bridge) {
          return sdk != null && bridge.isConda() && bridge.getUseConda();
        }
        return false;
      }

      @Override
      public void setSelected(AnActionEvent e, boolean state) {
        final Sdk sdk = getSelectedSdk();
        if (sdk == null || !(myPackageManagementService instanceof PythonPackageManagementServiceBridge bridge)) return;
        if (bridge.isConda()) {
          bridge.setUseConda(state);
        }
        updatePackages(myPackageManagementService);
      }

      @Override
      public void update(@NotNull AnActionEvent e) {
        super.update(e);
        Sdk sdk = getSelectedSdk();
        e.getPresentation().setVisible(
          sdk != null && myPackageManagementService instanceof PythonPackageManagementServiceBridge bridge &&
          bridge.isConda());
      }

      @Override
      public @NotNull ActionUpdateThread getActionUpdateThread() {
        return ActionUpdateThread.BGT;
      }
    };

    AnAction showEarlyReleasesButton = new DumbAwareToggleAction(
      PyBundle.messagePointer("action.AnActionButton.text.show.early.releases"),
      Presentation.NULL_STRING, AllIcons.Actions.Show) {
      @Override
      public boolean isSelected(@NotNull AnActionEvent e) {
        return PyPackagingSettings.getInstance(myProject).earlyReleasesAsUpgrades;
      }

      @Override
      public void setSelected(@NotNull AnActionEvent e, boolean state) {
        PyPackagingSettings.getInstance(myProject).earlyReleasesAsUpgrades = state;
        updatePackages(myPackageManagementService);
      }

      @Override
      public @NotNull ActionUpdateThread getActionUpdateThread() {
        return ActionUpdateThread.BGT;
      }
    };

    return new AnAction[]{useCondaButton, showEarlyReleasesButton};
  }
@Override
  protected AnAction @NotNull [] getExtraActions()