Update constraint_lib.py

revert