Skip to content

Commit

Permalink
Build wheel for python 3.7 in onnx dev test (#5183)
Browse files Browse the repository at this point in the history
* Build wheel for python 3.7 in onnx dev test

Signed-off-by: harupy <hkawamura0130@gmail.com>

* use installed python version

Signed-off-by: harupy <hkawamura0130@gmail.com>
  • Loading branch information
harupy committed Dec 20, 2021
1 parent 2b67fc1 commit bf63c5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mlflow/ml-package-versions.yml
Expand Up @@ -220,8 +220,9 @@ onnx:
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
# Build wheel
python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
docker run --rm -v $(pwd):/github/workspace --workdir /github/workspace --entrypoint bash \
quay.io/pypa/manylinux2010_x86_64 .github/workflows/manylinux/entrypoint.sh 3.6 manylinux2010_x86_64 pull_request
quay.io/pypa/manylinux2010_x86_64 .github/workflows/manylinux/entrypoint.sh $python_version manylinux2010_x86_64 pull_request
# Install wheel
pip install dist/*manylinux2010_x86_64.whl
Expand Down

0 comments on commit bf63c5d

Please sign in to comment.