Index: /issm/trunk-jpl/externalpackages/petsc/install-3.14-mac.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.14-mac.sh	(revision 27543)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.14-mac.sh	(revision 27544)
@@ -23,4 +23,10 @@
 mv petsc-${VER}/* ${PETSC_DIR}
 rm -rf petsc-${VER}
+
+# Modify source so that Python 3 can be used to compile PETSc
+sed -i '' 's|#!/usr/bin/env python|#!/usr/bin/env python3|g' ${PETSC_DIR}/config/configure.py
+
+# Modify source so that Python >= 3.9 can be used to compile PETSc
+sed -i '' 's|thread.isAlive|thread.is_alive|g' ${PETSC_DIR}/config/BuildSystem/script.py
 
 # Configure
Index: /issm/trunk-jpl/jenkins/mac-intel-basic
===================================================================
--- /issm/trunk-jpl/jenkins/mac-intel-basic	(revision 27543)
+++ /issm/trunk-jpl/jenkins/mac-intel-basic	(revision 27544)
@@ -35,5 +35,5 @@
 	autotools	install-mac.sh
 	cmake		install.sh
-	petsc		install-3.12-mac.sh
+	petsc		install-3.14-mac.sh
 	triangle	install-mac.sh
 	chaco		install-mac.sh
