docs: Update Python bindings docs regarding incompatibility with ARM-based Macs

This commit is contained in:
Gabriel Ferreira
2023-09-11 18:53:11 -03:00
parent 269a630910
commit acef927f99
3 changed files with 5 additions and 5 deletions

View File

@@ -38,6 +38,8 @@ of Python, please keep the possibility of a virtualenv in mind if you run into P
For a short guide on virtual environments, please see
`this link <https://www.dataquest.io/blog/a-complete-guide-to-python-virtual-environments/>`_.
Due to an `upstream limitation with Cppyy <https://github.com/wlav/cppyy/issues/150>`_, Python bindings do not work on macOS machines with Apple silicon (M1 and M2 processors).
Requirements
************

View File

@@ -143,6 +143,8 @@ Python bindings (ns-3.37 and newer)
|ns3| Python support now uses `cppyy <https://cppyy.readthedocs.io/en/latest/>`_. Version 2.4.2
is the most recent supported cppyy release; version 3.0.0 is not currently supported.
Due to an `upstream limitation with cppyy <https://github.com/wlav/cppyy/issues/150>`_, Python bindings do not work on macOS machines with Apple silicon (M1 and M2 processors).
Using Python bindings (release 3.30 to ns-3.36)
===============================================

View File

@@ -38,11 +38,7 @@ If a user is not interested in Python, no action is needed; the Python bindings
are only built on-demand by Cppyy, and only if the user enables them in the
configuration of |ns3|.
It is also important to note that the current capability is provided on a
lightly maintained basis and not officially supported by the project
(in other words, we are currently looking for a Python bindings maintainer).
The Cppyy framework could be replaced if it becomes too burdensome to
maintain as we are presently doing.
Due to an `upstream limitation with Cppyy <https://github.com/wlav/cppyy/issues/150>`_, Python bindings do not work on macOS machines with Apple silicon (M1 and M2 processors).
Prior to ns-3.37, the previous Python bindings framework was based on
`Pybindgen <https://github.com/gjcarneiro/pybindgen>`_.