Single process support may be possible with proxy MPI import -
import repast4py_mpi_proxy as mpi4py
where the proxy doesn't do anything but provides enough so a single process model runs without mpi.
C++ side will be harder but may be possible through conditional includes and some proxy C++ code.