It is deprecated but otherwise wrapPython adds everything that is propagated, including dev outputs, to program_PATH, which ends up in the wrapper.
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.