-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Including ocp wheels in the release #86
Comments
I am a conda guy, not a wheels guy, so sorry if these are stupid questions:
|
I am new to VTK and this bundling approach so hopefully these answers are helpful:
There is a cryptic message, and the generated xml (VTKFile PolyData?) contains zero points, verts, lines, etc. This is on Linux; I have not been able to check on MacOS and Windows. I found no solution except to bundle If there is a better solution, please let me know. It would be great not to have to bundle
|
@fpq473 thanks for the details. When you tried this with the official For what it's worth, this is exactly the type of issue that I do see the value in |
@whophil I tried with VTK 9.1.0 wheel, and I just tried again with VTK 9.0.2 wheels. Both give the same bad behavior described above. There is no VTK 9.0.1 wheel in PyPI. Do you suspect a version mismatch as the cause -- do you know where I can find a 9.0.1 wheel? Happy to dig in further with your guidance. Point taken about conda. |
@fpq473 Do these work? Python 3.6 through 3.8. |
@whophil Ah thanks, I was on 3.9. Using 3.8, I made an ocp-only wheel (which still bundles
Anything else worth trying? |
@whophil Just wanted to note a seemingly successful attempt at an ocp-only wheel on Linux. I start with Things almost work in 3.9 + 9.0.2. |
@fpq473 and I worked on building and publishing ocp wheels in the CI these last days, based on a first draft published here: CadQuery/cadquery#1048.
Publishing ocp wheels will really facilitate the project installation (CadQuery/cadquery#153).
We don't have an Azure account so we used Github Actions, but the syntax seems to be identical, so I believe that it should not be too difficult to integrate this in the current CI.
Here is the release published by Github Actions on my fork: https://github.com/roipoussiere/OCP/releases/tag/7.5.3
As you can see it includes wheels for Linux, macOS and Windows, and for Python 3.8, 3.9 and 3.10 (each is tested in the CI).
This allows a user to install cadquery with pip, for now with:
But of course, when this will be integrated in the OCP CI, it will be trivial to update the
setup.py
/pyproject.toml
on the cadquery repo in order to facilitate the installation process.Relevant links:
Let me know if there is something I can do to facilitate the integration of this work on the current CI, and if you think it's relevant to start a PR here.
The text was updated successfully, but these errors were encountered: