Python3.framework linking regression
The attached example illustrates a possible regression with computing RPATHS from Frameworks on macOS. It looks like 5772ca0a tries to fix this for CMake 3.20, but maybe it wasn't fixed in the right place. See also #21293 (closed).
This example also illustrates difficulties with FindPython3 on macOS when finding the Python3 included with Xcode.