I’m no expert but this is how I solved the same issue.
I had the same issue on my JD, which I think is a ventless tank…I couldn’t find one anyway! I installed a fuel shut off before the carb, problem solved. This issue only happened during hot weather.
I had pulled my carb apart, cleaned, inspected…it was fine …till the next hot spell, heat/expansion, gas has to go somewhere. It wasn’t my float. So the shut off was installed last summer, no problems since…
BIRDDOG