Properly handle unhashable values in YAML

Bug #1791187 reported by Kyle Fazzari
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Status tracked in Trunk
Fix Committed
Kyle Fazzari
Fix Released
Kyle Fazzari

Bug Description

Typically yaml raises a yaml.constructor.ConstructorError, but we're using a custom dict loader that doesn't. Start raising a yaml.constructor.ConstructorError, and handle it properly when loading the yaml.

See Sentry SNAPCRAFT-2R ( for more details.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Changed in snapcraft:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Kyle Fazzari (kyrofa)
Changed in snapcraft:
milestone: none → 2.44
Kyle Fazzari (kyrofa)
description: updated
Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.