Small pupa on thyme

Small pupa on thyme

Observation - Small pupa on thyme. Description: I found this small pupa wrapped in the leaves of a thyme plant in my garden. I'm going to keep it to see what emerges but wondered if anyone can identify it from the photos. As you can see from one of the photos it's 8mm long.

I found this small pupa wrapped in the leaves of a thyme plant in my garden. I'm going to keep it to see what emerges but wondered if anyone can identify it from the photos. As you can see from one of the photos it's 8mm long.