Provide upgrade warning for pending behaviour change.

Includes a backport of `skip` to assist with upgrading.
Deprecate show_failures_in_pending_blocks.