@@ -2,10 +2,11 @@ use std::collections::HashMap;
22
33use indexmap:: { IndexMap , IndexSet } ;
44use miette:: IntoDiagnostic ;
5- use pixi_core:: workspace:: { UpdateDeps , WorkspaceMut } ;
5+ use pixi_core:: workspace:: { PypiDeps , UpdateDeps , WorkspaceMut } ;
66use pixi_core:: { Workspace , environment:: LockFileUsage } ;
77use pixi_manifest:: {
8- EnvironmentName , Feature , FeatureName , PrioritizedChannel , TargetSelector , Task , TaskName ,
8+ EnvironmentName , Feature , FeatureName , PrioritizedChannel , SpecType , TargetSelector , Task ,
9+ TaskName ,
910} ;
1011use pixi_pypi_spec:: { PixiPypiSpec , PypiPackageName } ;
1112use pixi_spec:: PixiSpec ;
@@ -143,8 +144,8 @@ impl<I: Interface> WorkspaceContext<I> {
143144
144145 pub async fn add_conda_deps (
145146 & self ,
146- specs : IndexMap < PackageName , rattler_conda_types :: MatchSpec > ,
147- spec_type : pixi_manifest :: SpecType ,
147+ specs : IndexMap < PackageName , MatchSpec > ,
148+ spec_type : SpecType ,
148149 dep_options : DependencyOptions ,
149150 git_options : GitOptions ,
150151 ) -> miette:: Result < Option < UpdateDeps > > {
@@ -161,7 +162,7 @@ impl<I: Interface> WorkspaceContext<I> {
161162
162163 pub async fn add_pypi_deps (
163164 & self ,
164- pypi_deps : pixi_core :: workspace :: PypiDeps ,
165+ pypi_deps : PypiDeps ,
165166 editable : bool ,
166167 options : DependencyOptions ,
167168 ) -> miette:: Result < Option < UpdateDeps > > {
@@ -177,8 +178,8 @@ impl<I: Interface> WorkspaceContext<I> {
177178
178179 pub async fn remove_conda_deps (
179180 & self ,
180- specs : IndexMap < PackageName , rattler_conda_types :: MatchSpec > ,
181- spec_type : pixi_manifest :: SpecType ,
181+ specs : IndexMap < PackageName , MatchSpec > ,
182+ spec_type : SpecType ,
182183 dep_options : DependencyOptions ,
183184 ) -> miette:: Result < ( ) > {
184185 crate :: workspace:: remove:: remove_conda_deps (
@@ -193,7 +194,7 @@ impl<I: Interface> WorkspaceContext<I> {
193194
194195 pub async fn remove_pypi_deps (
195196 & self ,
196- pypi_deps : pixi_core :: workspace :: PypiDeps ,
197+ pypi_deps : PypiDeps ,
197198 options : DependencyOptions ,
198199 ) -> miette:: Result < ( ) > {
199200 crate :: workspace:: remove:: remove_pypi_deps (
0 commit comments