Even after a deal is struck , both parties say it would take weeks to form a new government .