def __verify_server_version(self):
if compare_versions('<STR_LIT:.>'.join([_lib_major_version, _lib_minor_version]), self.product_version) > <NUM_LIT:0>:<EOL><INDENT>logger.warning('<STR_LIT>'.format(<EOL>_lib_full_version,<EOL>self.product_version<EOL>))<EOL><DEDENT>if compare_versions(_lib_major_version, self.product_version) != <NUM_LIT:0>:<EOL><INDENT>raise InvalidSwimlaneProductVersion(<EOL>self,<EOL>'<STR_LIT>'.format(_lib_major_version),<EOL>'<STR_LIT>'.format(str(int(_lib_major_version) + <NUM_LIT:1>))<EOL>)<EOL><DEDENT>
Verify connected to supported server product version

        Notes:
            Logs warning if connecting to a newer minor server version

        Raises:
            swimlane.exceptions.InvalidServerVersion: If server major version is higher than package major version