<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I've been holding off 8.2.0.final to get a better handle on wheel building.</div><div><br></div><div>Please review the potential fix in: <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/5021" target="_blank">https://gitlab.kitware.com/vtk/vtk/merge_requests/5021</a></div><div><br></div><div><a class="gmail_plusreply" id="m_2043365497077083757gmail-m_5661928462520479405plusReplyChip-3" href="mailto:prabhu@aero.iitb.ac.in" target="_blank">@Prabhu Ramachandran</a>, <a class="gmail_plusreply" id="m_2043365497077083757gmail-m_5661928462520479405plusReplyChip-4" href="mailto:jcfr@kitware.com" target="_blank">@Jean-Christophe Fillion-Robin</a> building the wheels seem to be OK off of this on my desktop. How do I locally test their validity?<br></div><div><br></div><div><div><div dir="ltr" class="m_2043365497077083757gmail-m_5661928462520479405gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>David E DeMarle<br>Kitware, Inc.<br>Principal Engineer</div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 6, 2018 at 11:48 AM David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I think the dependency comes in for the sake of VTK's python tests, as those call vtkpython.<div>Prabu can you try this and see if you get a pip worthy build out of it?<br></div><div><a href="https://gitlab.kitware.com/demarle/vtk/commits/WIP-break-wrappings-vtkpythoninterpreter-dependency" target="_blank">https://gitlab.kitware.com/demarle/vtk/commits/WIP-break-wrappings-vtkpythoninterpreter-dependency</a><br></div><div>Note you must set these two configure flags to get it to compile.<br></div><div>BUILD_TESTING:BOOL=OFF<br><div><div>VTK_ENABLE_VTKPYTHON:BOOL=OFF</div><div>Longer term we should do a clean break by trying to move the bits of VTKPYTHON that remain in Wrapping/PythonCore to Utilities/PythonInterpretter and making sure the python tests agree.<br></div><div><br></div><div>Regarding matplotlib, for the moment just leave it off in the wheels. Ben's point of wrapping everything and the corrolary that VTK's modules should be atomic (options don't change the library internals) is an important goal that we won't fix in 8.2. We made strides in VTK 6.0 and will get much closer in 9.0, hopefully packagers and all consumers of VTK will have a better time of it after 9.</div><div><br></div><div><div dir="ltr" class="m_2043365497077083757gmail-m_5661928462520479405gmail-m_-3997545371341714482gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>David E DeMarle<br>Kitware, Inc.<br>Principal Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div></div></div></div></div><br><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 28, 2018 at 3:44 PM Ben Boeckel via vtk-developers <<a href="mailto:vtk-developers@public.kitware.com" target="_blank">vtk-developers@public.kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Nov 28, 2018 at 15:06:43 -0500, Prabhu Ramachandran wrote:<br>
> Does vtkWrappingPythonCore depend on vtkPythonInterpreter? <br>
> vtkWrappingPythonCore does not link to libpython or to vtkPythonInterpreter. <br>
<br>
My bad, it's a COMPILE_DEPENDS. Though why that is isn't obvious.<br>
Removing that dependency and then disabling the module should work.<br>
<br>
> The wheels by default do not seem to enable vtkRenderingMatplotlib although I am<br>
> not sure if it should be added by default in the future, in which case this is a<br>
> more serious issue.<br>
<br>
IMO, distribution builds should try to enable *everything* so there<br>
isn't a question of "what do I have today?" when doing `import vtk`.<br>
Keeping it disabled for 8.2 sounds fine, but 9.x will make it easier to<br>
not have the linking problem.<br>
<br>
--Ben<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div>
</blockquote></div></div></div>