What plant is that?

Click on photo below to view larger image

Buffalo Bur NightshadeBuffalo Bur Nightshade -- flower
Buffalo Bur Nightshade--fruit Buffalo Bur Nightshade--spines
Top left photo: © Francis R. Underwood 2020
Top right and lower photos: © Katy Chayka, via Minnesota Wildflowers,
https://www.minnesotawildflowers.inf

The mystery plant for June 2021 is an annual 1-2.5 feet tall. The stems are pubescent and have spines which are 3-9mm long.  The leaves are alternate and pinnnate, 2-3” long and 1-2.5” wide.  The margins of the leaves are not toothed and the flowers are yellow in color.  The leaf petioles are 1- 3” long and the leaves are irregularly lobed. The fruit is a spine-covered berry. 

It’s. . .

Botanical Name:
 
Solanum rostratum
Common Name:
  Buffalo Bur Nightshade
Family:
  Solanaceae  (Nightshade Family)
Habitat:
  Sunny, dry waste places, fields