提交 f123525c authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Make sure Python build is CPython

This change prevents Python build changes (e.g. CPython -> PyPY) during dependency installations.
上级 69f38702
...@@ -116,8 +116,8 @@ jobs: ...@@ -116,8 +116,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
shell: bash -l {0} shell: bash -l {0}
run: | run: |
mamba install --yes -q mkl numpy scipy pip mkl-service graphviz cython libgpuarray pygpu mamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl numpy scipy pip mkl-service graphviz cython libgpuarray pygpu
if [[ "$PYTHON_VERSION" != "3.6" ]]; then mamba install --yes -q -c conda-forge jax jaxlib; fi if [[ "$PYTHON_VERSION" != "3.6" ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" jax jaxlib; fi
pip install -q -r requirements.txt pip install -q -r requirements.txt
mamba list && pip freeze mamba list && pip freeze
python -c 'import theano; print(theano.config.__str__(print_doc=False))' python -c 'import theano; print(theano.config.__str__(print_doc=False))'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论