I think a 2-parter would work fine, although it’s a hard sell to studios. WB might be amenable to it, as the Matrix sequels did fairly well.
It will be more worrying if Rowling can’t produce the next two books before the kid playing Harry Potter is 30. 😉