code: def validate_arrangement_version(self):
          
          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")
docs: 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