cleanup [python]: remove deprecated symbols.

If you need venv, use `createVenv(sdk.asBinToExecute()`.

GitOrigin-RevId: d2a2bd6df749ad22bf13496bd11595504a9da5cd
This commit is contained in:
Ilya.Kazakevich
2026-02-04 06:51:26 +00:00
committed by intellij-monorepo-bot
parent 6170b77faf
commit 13045f4379
8 changed files with 2 additions and 507 deletions
@@ -17,7 +17,6 @@ import java.util.List;
@Deprecated(forRemoval = true)
public abstract class PyPackageManager implements Disposable {
public static final String USE_USER_SITE = "--user";
@Topic.AppLevel
public static final Topic<Listener> PACKAGE_MANAGER_TOPIC = new Topic<>(Listener.class, Topic.BroadcastDirection.TO_DIRECT_CHILDREN);
@@ -55,16 +54,8 @@ public abstract class PyPackageManager implements Disposable {
return manager.getSdk();
}
public abstract void installManagement() throws ExecutionException;
public abstract boolean hasManagement() throws ExecutionException;
public abstract void install(@Nullable List<PyRequirement> requirements, @NotNull List<String> extraArgs) throws ExecutionException;
public abstract void refresh();
public abstract @NotNull String createVirtualEnv(@NotNull String destinationDir, boolean useGlobalSite) throws ExecutionException;
public abstract @Nullable List<PyPackage> getPackages();
public abstract @NotNull List<PyPackage> refreshAndGetPackages(boolean alwaysRefresh) throws ExecutionException;