I am a happy user of OS X 10.10.5 Yosemite and have used my nice AirPods for about one and a half years. Then I purchased the Sony WH-1000XM3 headphones that are spectacular, but since then my AirPods won't connect any more to my Mac.
I have to force my Mac to forget the AirPods, then pair again...