And not, hence, getting rid of the warnings? Because F-droid is going to have even more warnings now.
Instead, as I pointed out in my original comment, we need to complain about the upcoming "advanced flow" for unknown source app installation. It should not but does require enabling developer mode. It should and does save the user's preferences for unknown source installation across device updates.