Lopez agreed to a minor-league contract with the Brewers on Thursday.

Lopez was released by the Rangers earlier in the month after posting a combined 6.27 ERA and 2.25 WHIP across 18.2 innings with Triple-A Round Rock and High-A Down East. The southpaw will report to High-A Carolina, where he will look to work his way up the Brewers' minor-league ranks.