Oil prices weakened yesterday amid hopes that the US and Iran will find a diplomatic solution to their standoff.