This patch has been merged upstream. Drop next update.
Commit: 636365fd4a30e017c76ef6a44cf045e77ec5e632

Index: src/Gui/PythonWrapper.cpp
--- src/Gui/PythonWrapper.cpp.orig
+++ src/Gui/PythonWrapper.cpp
@@ -121,6 +121,9 @@
 
 #ifdef HAVE_PYSIDE
 # include <signalmanager.h>
+# if __has_include(<pyobjectwrapper.h>)
+#  include <pyobjectwrapper.h>
+# endif
 #endif  // HAVE_PYSIDE
 
 //-----------------------------------------------------------------------------
