[MacPorts] #67090: boost171 @1.71.0_6: doesn't build against python3.11

MacPorts noreply at macports.org
Sun Jun 9 04:27:19 UTC 2024


#67090: boost171 @1.71.0_6: doesn't build against python3.11
-----------------------+-----------------------
  Reporter:  kencu     |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  boost171  |
-----------------------+-----------------------

Comment (by ar-an-ribe):

 Replying to [comment:3 ar-an-ribe]:
 > The same problem occurs with `boost171 @1.71.0_8` with the `+python312`
 variant.

 For use in `make_instance.hpp` with Python 3.11 or newer, it looks like
 [https://docs.python.org/3/c-api/structures.html#c.Py_SET_SIZE
 Py_SET_SIZE] would be a suitable replacement for `Py_SIZE`. A comparison
 of the changes in `make_instance.hpp` between
 [https://www.boost.org/doc/libs/1_71_0/boost/python/object/make_instance.hpp
 Boost 1.71.0] and
 [https://www.boost.org/doc/libs/1_85_0/boost/python/object/make_instance.hpp
 Boost 1.85.0] could be the basis of an appropriate patch for Boost 1.71.0
 with Python 3.11 or newer.

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


More information about the macports-tickets mailing list