Skip to content

Conversation

@Liam-Sturge
Copy link
Contributor

Cython 3.0.0 was recently released, but it is incompatible with the current .pxi definitions in python/tvm/_ffi/_cpython.

Cython has been pinned for TVM in PR: 15353 until a working fix is created. This patch replicates the changes for tlcpack installation, as we are seeing the same Cython errors when trying to use tlcpack Ubuntu Docker images.

cc @leandron @areusch @konturn @Mousius @lhutton1 @tqchen

@Liam-Sturge Liam-Sturge changed the title Pin Cython version to fix Cython compilation [CI] Pin Cython version to fix Cython compilation Jul 26, 2023
Liam-Sturge and others added 9 commits August 1, 2023 13:28
Cython 3.0.0 was recently released, but it is incompatible with the
current .pxi definitions in python/tvm/_ffi/_cpython.
Adding pins to Centos script and Conda environment as well, because the
first revision of this patch fails CI.
Due to failing CI, removing the pin from the conda recipe.
Removing the pin from the Conda build-environment, but reinstating the
pin in the Conda recipe.
Now specifying the minimum version that should be used, to keep it in
line with the other changes, but allow Conda to find the latest working
version.
Pin the version of Cython used during standard Python pip install and
bump the version of MacOS used for the build compilation.
@Liam-Sturge Liam-Sturge force-pushed the Pin_Cython_version_to_fix_Ubuntu_Cython_compilation branch from c6c3066 to 43a209a Compare August 1, 2023 14:51
@Liam-Sturge
Copy link
Contributor Author

Closing this PR as another has been raised in its place that doesn't exceed the scope of the patch and try to fix other CI issues too.

@Liam-Sturge Liam-Sturge closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants