The agreement came after more than three months of stop-start negotiations and bouts of fighting since late February, roiling global energy and commodities markets.
The Iran war has drawn the world's focus, but the G7 is also likely to address Russia's war against Ukraine, which continues to rage in eastern Europe.