Skip to content

Commit fa31c3f

Browse files
committed
don't pin libtorch exactly for non-megabuilds
1 parent 6757593 commit fa31c3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

recipe/meta.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ outputs:
291291
- typing_extensions
292292
- {{ pin_subpackage('libtorch', exact=True) }}
293293
run:
294-
- {{ pin_subpackage('libtorch', exact=True) }}
294+
- {{ pin_subpackage('libtorch', exact=True) }} # [megabuild]
295+
# for non-megabuild, allow libtorch from any python version
296+
- libtorch {{ version }}.* *_{{ build }} # [not megabuild]
295297
- llvm-openmp # [osx]
296298
- intel-openmp {{ mkl }} # [win]
297299
- libblas * *{{ blas_impl }} # [blas_impl == "mkl"]

0 commit comments

Comments
 (0)