From Latin comprōmittere, likely a borrowing reshaped by analogy with meter. The sense of putting something at risk comes from French compromettre.
Practica parlar i memoritzar " comprometer " i moltes altres paraules i frases a portuguès .