Skip to content

Commit 4b2c6b6

Browse files
committed
edited python version to 3.11+.. good to go
1 parent 39cb867 commit 4b2c6b6

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

MCPForUnity/Editor/Dependencies/DependencyManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private static void GenerateRecommendations(DependencyCheckResult result, IPlatf
196196
{
197197
if (dep.Name == "Python")
198198
{
199-
result.RecommendedActions.Add($"Install Python 3.10+ from: {detector.GetPythonInstallUrl()}");
199+
result.RecommendedActions.Add($"Install python 3.11+ from: {detector.GetPythonInstallUrl()}");
200200
}
201201
else if (dep.Name == "uv Package Manager")
202202
{

MCPForUnity/Editor/Dependencies/PlatformDetectors/LinuxPlatformDetector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public override DependencyStatus DetectPython(string overridePath = null)
6868
}
6969

7070
status.ErrorMessage = "Python not found in PATH";
71-
status.Details = "Install Python 3.10+ and ensure it's added to PATH.";
71+
status.Details = "Install python 3.11+ and ensure it's added to PATH.";
7272
}
7373
catch (Exception ex)
7474
{
@@ -212,7 +212,7 @@ private bool TryValidatePython(string pythonPath, out string version, out string
212212
version = output.Substring(7); // Remove "Python " prefix
213213
fullPath = pythonPath;
214214

215-
// Validate minimum version (Python 4+ or Python 3.10+)
215+
// Validate minimum version (Python 4+ or python 3.11+)
216216
if (TryParseVersion(version, out var major, out var minor))
217217
{
218218
return major > 3 || (major >= 3 && minor >= 10);

MCPForUnity/Editor/Dependencies/PlatformDetectors/MacOSPlatformDetector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public override DependencyStatus DetectPython(string overridePath = null)
6868
}
6969

7070
status.ErrorMessage = "Python not found in PATH";
71-
status.Details = "Install Python 3.10+ and ensure it's added to PATH.";
71+
status.Details = "Install python 3.11+ and ensure it's added to PATH.";
7272
}
7373
catch (Exception ex)
7474
{
@@ -208,7 +208,7 @@ private bool TryValidatePython(string pythonPath, out string version, out string
208208
version = output.Substring(7); // Remove "Python " prefix
209209
fullPath = pythonPath;
210210

211-
// Validate minimum version (Python 4+ or Python 3.10+)
211+
// Validate minimum version (Python 4+ or python 3.11+)
212212
if (TryParseVersion(version, out var major, out var minor))
213213
{
214214
return major > 3 || (major >= 3 && minor >= 10);

MCPForUnity/Editor/Dependencies/PlatformDetectors/WindowsPlatformDetector.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public override DependencyStatus DetectPython(string overridePath = null)
6969
}
7070

7171
status.ErrorMessage = "Python not found in PATH";
72-
status.Details = "Install Python 3.10+ and ensure it's added to PATH.";
72+
status.Details = "Install python 3.11+ and ensure it's added to PATH.";
7373
}
7474
catch (Exception ex)
7575
{
@@ -215,7 +215,7 @@ public override string GetInstallationRecommendations()
215215
return @"Windows Installation Recommendations:
216216
217217
1. Python: Install from Microsoft Store or python.org
218-
- Microsoft Store: Search for 'Python 3.10' or higher
218+
- Microsoft Store: Search for 'python 3.11' or higher
219219
- Direct download: https://python.org/downloads/windows/
220220
221221
2. uv Package Manager: Install via PowerShell
@@ -253,7 +253,7 @@ private bool TryValidatePython(string pythonPath, out string version, out string
253253
version = output.Substring(7); // Remove "Python " prefix
254254
fullPath = pythonPath;
255255

256-
// Validate minimum version (Python 4+ or Python 3.10+)
256+
// Validate minimum version (Python 4+ or python 3.11+)
257257
if (TryParseVersion(version, out var major, out var minor))
258258
{
259259
return major > 3 || (major >= 3 && minor >= 10);

MCPForUnity/Editor/Setup/ServerEnvironmentSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static void InstallServerEnvironment()
6767
if (!CheckPython())
6868
{
6969
EditorUtility.ClearProgressBar();
70-
EditorUtility.DisplayDialog("Error", "Python 3.10+ not found in PATH.\nPlease install Python first.", "OK");
70+
EditorUtility.DisplayDialog("Error", "python 3.11+ not found in PATH.\nPlease install Python first.", "OK");
7171
return;
7272
}
7373

MCPForUnity/Editor/Windows/Components/Setup/McpSetupSection.uxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- Python Check -->
88
<ui:VisualElement name="python-check-container" class="dependency-row">
99
<ui:VisualElement class="dependency-info">
10-
<ui:Label text="Python 3.10+" class="dependency-label" />
10+
<ui:Label text="python 3.11+" class="dependency-label" />
1111
<ui:Label name="python-status" text="Checking..." class="dependency-status" />
1212
</ui:VisualElement>
1313
<ui:VisualElement class="dependency-actions">

MCPForUnity/Editor/Windows/MCPSetupWindow.uxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<ui:VisualElement class="section">
88
<ui:Label text="System Requirements" class="section-title" />
99
<ui:VisualElement class="section-content">
10-
<ui:Label text="MCP for Unity requires Python 3.10+ and UV package manager to function." class="help-text description-text" />
10+
<ui:Label text="MCP for Unity requires python 3.11+ and UV package manager to function." class="help-text description-text" />
1111

1212
<!-- Dependency Status -->
1313
<ui:VisualElement name="dependency-list">

0 commit comments

Comments
 (0)