Skip to content

Commit e85d260

Browse files
committed
[ci skip] Add python to host requirements
Add python to host requirements, to ensure that the test package is built (and therefore tested) for all Python versions. Fixes #426 Signed-off-by: Michał Górny <[email protected]>
1 parent 00ed498 commit e85d260

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipe/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ outputs:
358358
string: cpu_{{ blas_impl }}_py{{ CONDA_PY }}_h{{ PKG_HASH }}_{{ build }} # [cuda_compiler_version == "None"]
359359
detect_binary_files_with_prefix: false
360360
requirements:
361+
host:
362+
- python
361363
run:
362364
- pytorch {{ version }} cuda*_{{ blas_impl }}_py{{ CONDA_PY }}*{{ build }} # [cuda_compiler_version != "None"]
363365
- pytorch {{ version }} cpu_{{ blas_impl }}_py{{ CONDA_PY }}*{{ build }} # [cuda_compiler_version == "None"]

0 commit comments

Comments
 (0)