Skip to content

Commit

Permalink
[Conda] Specify python version in build-environment (apache#13047)
Browse files Browse the repository at this point in the history
The current [build-environment.yaml](https://github.com/apache/tvm/blob/main/conda/build-environment.yaml) doesn't specify the python version for `tvm-build` conda environment and as a result, any python version might be selected depending on the available base conda. In my case, the base conda is 3.10 so tvm won't work given [tvm is unsupported for python >= 3.9](apache#8577).

To validate run on `tvm-build` env 

```
conda env update -f conda/build-environment.yaml
```
  • Loading branch information
ehsanmok authored Oct 12, 2022
1 parent cc235f8 commit a752b74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conda/build-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ channels:

# The packages to install to the environment
dependencies:
- python=3.7 # or 3.8. See https://github.com/apache/tvm/issues/8577 for more details on >= 3.9
- conda-build
- git
- llvmdev >=11
Expand Down

0 comments on commit a752b74

Please sign in to comment.