Trouble Proportionally Scaling with Python
In the comments, @batFINGER pointed out that I could achieve what I was looking for by multiplying the object's "scale" parameter by the ratio required to give me the correct height: e.g., obj.scale *= ratio. This worked perfectly for me. See the comments for a slightly more in-depth discussion.