diff --git a/swh/objstorage/factory.py b/swh/objstorage/factory.py --- a/swh/objstorage/factory.py +++ b/swh/objstorage/factory.py @@ -31,7 +31,6 @@ } _STORAGE_CLASSES_MISSING = {} -_STORAGE_CLASSES_DEPRECATED = {"weed": "seaweedfs"} try: from swh.objstorage.backends.azure import ( @@ -80,13 +79,6 @@ ValueError: if the given storage class is not a valid objstorage key. """ - if cls in _STORAGE_CLASSES_DEPRECATED: - warnings.warn( - f"{cls} objstorage class is deprecated, " - f"use {_STORAGE_CLASSES_DEPRECATED[cls]} class instead.", - DeprecationWarning, - ) - cls = _STORAGE_CLASSES_DEPRECATED[cls] if cls in _STORAGE_CLASSES: if args is not None: warnings.warn(