dev: Ensure latest setuptools used in CI - #229
Conversation
|
Well, the MacOS CI failure persists. The error message is confusing, as the logs show that setuptools v82 is being used, which is newer than the suggested v70.1, more investigation required. |
|
No luck on newer macos runner either. I don't think we want it to build llvmlite anyway should ideally just download a pre-built one? Might need to pin llmvlite version |
|
Sorry, I cannot manage to make it work either... |
|
No worries I'll consider either pinning llvmlite (in pyproject.toml, kinda ugly as it then affects other platforms) or play around with adding |
|
So it looks like llmvlite don't officially support MacOS intel architecture: https://numba.discourse.group/t/resolved-llvmlite-wheels-on-pypi-for-macos-x86/3146. We switched to using MacOS intel rather than ARM in #225 because the CI was failing on ARM for some other reason (logs expired). I will try switching back to see if the other issue is easier to handle than building llvmlite. |
b501715 to
aa13df2
Compare
|
Lessons from these new failures:
|
|
Learning more things as I go. Apparently meshio doesn't support reading VTU in raw format, which is how our VTU was created. The error should be coming from meshio I think, so I opened nschloe/meshio#1571. We will have to somehow regenerate the VTU in a format which meshio accepts (maybe there is a toggle in ParaView) or convert the existing one using VTK API or pyvista. It's a bit curious why we didn't hit some error with the VTU earlier though, if it is an unsupported format for meshio. |
It seems like the Python setup action in CI doesn't respect☹️ This ensures that the latest setuptools is being used in CI. I made the matching change to the virtual environment setup script.
[build-system]inpyproject.tomlMaybe this will resolve the failures to install llmvlite in the MacOS runner.