BAGHDAD  Late July and early August is date harvesting season in Iraq, when within the span of a few weeks the desert sun turns hard green spheres into tender, golden brown fruit prized for its sweetness.

But here in Iraq, one of the places where agriculture was developed more than 7,000 years ago, there are increasing doubts about whether it makes much sense to grow dates  or much of anything for that matter.

As recently as the 1980s, Iraq was self-sufficient in producing wheat, rice, fruits, vegetables, and sheep and poultry products. Its industrial sector exported textiles and leather goods, including purses and shoes, as well as steel and cement. But wars, sanctions, poor management, international competition and disinvestment have left each industry a shadow of its former self.

Slowly, Iraq’s economy has become based almost entirely on imports and a single commodity.

“Ninety-five percent of the government’s revenues come from oil,” said Ghazi al-Kenan, an Iraqi economist. “And while they are trying to attract investment in the private sector, Iraq finds itself in very difficult circumstances  without sufficient electricity, machinery and a drought.”