fix: update version check for Airflow to use strict inequality

This commit is contained in:
2025-05-04 09:41:21 +00:00
parent c20539c39f
commit 9ec1cd2020
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "airflow-mcp-server"
version = "0.6.0"
version = "0.6.1"
description = "MCP Server for Airflow"
readme = "README.md"
requires-python = ">=3.11"

View File

@@ -56,7 +56,7 @@ async def get_airflow_tools(config: AirflowConfig, mode: str = "unsafe") -> list
airflow_version = version_result.get("version")
if airflow_version is None:
raise RuntimeError("Could not determine Airflow version from get_version tool.")
if parse_version(airflow_version) <= parse_version("3.1.0"):
if parse_version(airflow_version) < parse_version("3.1.0"):
raise RuntimeError(f"Airflow version {airflow_version} is not supported. Requires >= 3.1.0.")
tools = []

2
uv.lock generated
View File

@@ -112,7 +112,7 @@ wheels = [
[[package]]
name = "airflow-mcp-server"
version = "0.6.0"
version = "0.6.1"
source = { editable = "." }
dependencies = [
{ name = "aiofiles" },