<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate_arrangement_version(self):
 """Validate if the arrangement_version is supported This is for autorebuilds to fail early otherwise they may failed on workers because of osbs-client validation checks. Method should be called after self.adjust_build_kwargs Shows a warning when version is deprecated :raises ValueError: when version is not supported """

        arrangement_version = self.build_kwargs['arrangement_version']
        if arrangement_version is None:
            return

        if arrangement_version <= 5:
            # TODO: raise as ValueError in release 1.6.38+
            self.log.warning("arrangement_version <= 5 is deprecated and will be removed"
                             " in release 1.6.38")