You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by mo...@apache.org on 2023/07/19 12:14:39 UTC

[tvm] branch main updated: [CI] Pin cython version to fix cython compilation (#15353)

This is an automated email from the ASF dual-hosted git repository.

mousius pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 991163c86c [CI] Pin cython version to fix cython compilation (#15353)
991163c86c is described below

commit 991163c86c5f52a879eb11cdcb19d8bab952f209
Author: Luke Hutton <lu...@arm.com>
AuthorDate: Wed Jul 19 13:14:32 2023 +0100

    [CI] Pin cython version to fix cython compilation (#15353)
    
    Cython 3.0.0 was recently released, but it is incompatible with the
    current .pxi definitions in python/tvm/_ffi/_python. Pinning
    the cython version until a working fix is created.
---
 docker/install/ubuntu_install_python_package.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/install/ubuntu_install_python_package.sh b/docker/install/ubuntu_install_python_package.sh
index 41c8697f42..ba5d47bfcc 100755
--- a/docker/install/ubuntu_install_python_package.sh
+++ b/docker/install/ubuntu_install_python_package.sh
@@ -25,7 +25,7 @@ pip3 install --upgrade \
     "Pygments>=2.4.0" \
     attrs \
     cloudpickle \
-    cython \
+    cython==0.29.34 \
     decorator \
     mypy \
     numpy==1.21.* \