packaging/os/snap.py