answered 2 years ago
Running
./configure --with-system-python3=no
should force Sage to build its own Python (3.11.1 in Sage 9.8.rc1).