File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,12 @@ def build_user_venv(args: argparse.Namespace) -> None:
166
166
with open (user_req_path , 'w' ) as f :
167
167
for k , uvs in sorted (user_versions .items ()):
168
168
mvs = mono_versions .get (k )
169
- # Only warn exclusions if base and user layers have different versions
170
- if mvs is not None and mvs != uvs :
171
- log .warning (f'excluding { k } from user venv: mono=={ mvs } , user=={ uvs } ' )
169
+ if mvs is not None :
170
+ # Only warn exclusions if base and user layers have different versions
171
+ if mvs != uvs :
172
+ log .warning (
173
+ f'excluding { k } from user venv: mono=={ mvs } , user=={ uvs } '
174
+ )
172
175
continue
173
176
if k == uvs and type (uvs ) is str and os .path .exists (uvs ):
174
177
# Local path, always include, even if it might conflict with monobase, e.g. ./torch-2.6.0.dev*.whl
You can’t perform that action at this time.
0 commit comments