Add upper bounds to dependencies

3 jobs for libs_refactor