Correct import for python 3.13 and above
diff --git a/python/datafusion/context.py b/python/datafusion/context.py
index c651f90..21955b6 100644
--- a/python/datafusion/context.py
+++ b/python/datafusion/context.py
@@ -22,7 +22,7 @@
 from typing import TYPE_CHECKING, Any, Protocol
 
 try:
-    from typing import deprecated  # Python 3.13+
+    from warnings import deprecated  # Python 3.13+
 except ImportError:
     from typing_extensions import deprecated  # Python 3.12
 
diff --git a/python/datafusion/dataframe.py b/python/datafusion/dataframe.py
index 21b82b1..23b5d63 100644
--- a/python/datafusion/dataframe.py
+++ b/python/datafusion/dataframe.py
@@ -34,7 +34,7 @@
 )
 
 try:
-    from typing import deprecated  # Python 3.13+
+    from warnings import deprecated  # Python 3.13+
 except ImportError:
     from typing_extensions import deprecated  # Python 3.12
 
diff --git a/python/datafusion/expr.py b/python/datafusion/expr.py
index dcafa42..e3d7158 100644
--- a/python/datafusion/expr.py
+++ b/python/datafusion/expr.py
@@ -27,7 +27,7 @@
 import pyarrow as pa
 
 try:
-    from typing import deprecated  # Python 3.13+
+    from warnings import deprecated  # Python 3.13+
 except ImportError:
     from typing_extensions import deprecated  # Python 3.12
 
diff --git a/python/datafusion/substrait.py b/python/datafusion/substrait.py
index 4553d23..06302fe 100644
--- a/python/datafusion/substrait.py
+++ b/python/datafusion/substrait.py
@@ -27,7 +27,7 @@
 from typing import TYPE_CHECKING
 
 try:
-    from typing import deprecated  # Python 3.13+
+    from warnings import deprecated  # Python 3.13+
 except ImportError:
     from typing_extensions import deprecated  # Python 3.12