import sys
try:
    import librabbitmq
except Exception:
    pass
else:
    version = getattr(librabbitmq, '__version__', None)
    if version == '1.0.3':
        sys.modules['librabbitmq'] = None
---------------------