Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pixi/projectManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class PixiPackageManager implements PackageManager, Disposable {
}

const projectPath = path.dirname(environment.pixiInfo.project_info.manifest_path);
const pixiPackages = await listPixiPackages(environment.name, projectPath);
const pixiPackages = await listPixiPackages(environment.pixiEnvName, projectPath);

const before = environment.packages;
const after = pixiPkgsToPackages(pixiPackages, environment.envId.id);
Expand Down
1 change: 1 addition & 0 deletions src/pixi/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ export interface PixiPackage {
export interface PixiEnvironment extends PythonEnvironment {
pixiInfo: PixiInfo;
packages: Package[];
pixiEnvName: string;
}
1 change: 1 addition & 0 deletions src/pixi/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export async function refreshPixi(projectPath: string): Promise<PixiEnvironment[
},
pixiInfo,
packages: pixiPkgsToPackages(pixiPackages, pixiEnv.prefix),
pixiEnvName: pixiEnv.name,
} as PixiEnvironment;
}),
);
Expand Down