[Core] Raise an exception on Ray version mismatch (#20179)
[Core] Raise an exception on Ray version mismatch (#20179)

Add unit tests that verify Ray version mismatches

ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray,ray-project/ray