[MacPorts] #71163: VTK +python[version] does not provide `.dist-info`

MacPorts noreply at macports.org
Sat Nov 2 17:01:53 UTC 2024


#71163: VTK +python[version] does not provide `.dist-info`
------------------------+--------------------
  Reporter:  jjstickel  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.2
Resolution:             |   Keywords:  python
      Port:  vtk        |
------------------------+--------------------

Comment (by jjstickel):

 I now know that a standard build, even with python wrappers, is
 incompatible with a wheels build. I discovered this empirically before I
 found this report:

 https://gitlab.kitware.com/vtk/vtk/-/issues/18685

 I did ask on vtk's discourse, but I doubt there will be an easy
 resolution:

 https://discourse.vtk.org/t/create-python-dist-info-folder-without-wheel-
 build/14814

 So, it doesn't look there is a good option. What comes to my mind is to
 strip the python variants out of the vtk port and instead have them reside
 in a separate port (`py-vtk`) built via the wheels infrastructure. From
 what I can tell, this would duplicate the c++ vtk libraries, one set in
 `/opt/local/lib` via the `vtk` port, and another set in
 `/opt/local/Library/Frameworks/Python.framework/...` via `py-vtk`. `py-
 vtk` need not depend on `vtk`, and they should not conflict. Another
 thought is to just drop py-mayavi from macports entirely since it can now
 be installed reliably via pip. What do others think?

-- 
Ticket URL: <https://trac.macports.org/ticket/71163#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list