DOC: Updating documentation of new required pytest version
Follow up of #29678

@jreback I think `show_versions` gets the version by importing the module. Correct me if I'm wrong, but I didn't see anything to update there.