From f2b419b82e6d8e5f4c296af0e8bc11da947598bc Mon Sep 17 00:00:00 2001 From: Victor Skvortsov Date: Wed, 6 May 2026 12:00:47 +0500 Subject: [PATCH] Raise ImportError on Python 3.14 or later --- src/dstack/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dstack/__init__.py b/src/dstack/__init__.py index e69de29bb2..a90955ea78 100644 --- a/src/dstack/__init__.py +++ b/src/dstack/__init__.py @@ -0,0 +1,4 @@ +import sys + +if sys.version_info >= (3, 14): + raise ImportError("dstack does not support Python 3.14 or later. Please use Python 3.10–3.13.")