Commercial aviation’s profitability hinges on being able to carry only as much fuel as strictly[1] required.
How can batteries compete with that constraint?
Also, commercial aviation aircraft aren’t time-restricted by refuelling requirements. How are batteries going to compete with that? Realistically, a busy airport would need something like a closely located gigawatt scale power plant with multi-gigawatt peaking capacity to recharge multiple 737 / A320 type aircraft simultaneously.
I don’t believe energy density parity with jet fuel is sufficient. My back of the neocortex estimate is that battery energy density would need to 10x jet fuel to be of much practical use in the case of narrow-body-and-up airliner usefulness.