SCOTTSDALE, Ariz. — Former Red Sox general manager Ben Cherington and Brewers assistant GM Matt Arnold have emerged as two of three finalists in the competition to become Pirates GM, The Post has learned.

With the Giants on Sunday naming Cubs assistant GM Scott Harris as their general manager, the Pirates have the last GM opening this offseason.

Pittsburgh did not even fire its GM, Neal Huntington, until Oct. 28 after earlier dismissing manager Clint Hurdle and having team president Frank Coonelly resign.

Cherington is currently the VP of baseball operations for the Blue Jays. He was named the Red Sox GM before the 2012 season and was instrumental in constructing the championship roster in 2013, but left late in the 2015 season after the Red Sox hired Dave Dombrowski to serve as the head of baseball operations over him.

Arnold had worked with the Rays before joining the Brewers following the 2015 season.