From 00214c1defcd1ed6556eb278f338234e6f5ba672 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Wed, 12 Mar 2025 21:53:13 +0100 Subject: [PATCH] Remove `python_2_comp.py` (we do not support Py2 for quite some time now) --- client/ayon_core/lib/python_2_comp.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 client/ayon_core/lib/python_2_comp.py diff --git a/client/ayon_core/lib/python_2_comp.py b/client/ayon_core/lib/python_2_comp.py deleted file mode 100644 index 900db59062..0000000000 --- a/client/ayon_core/lib/python_2_comp.py +++ /dev/null @@ -1,17 +0,0 @@ -# Deprecated file -# - the file container 'WeakMethod' implementation for Python 2 which is not -# needed anymore. -import warnings -import weakref - - -WeakMethod = weakref.WeakMethod - -warnings.warn( - ( - "'ayon_core.lib.python_2_comp' is deprecated." - "Please use 'weakref.WeakMethod'." - ), - DeprecationWarning, - stacklevel=2 -)