From a74fdccaa259027118d0773a823a8bb21057479b Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Thu, 3 Aug 2023 21:16:58 +1000 Subject: [PATCH 1/3] Update Python to v3.11.4 --- .../ExternalPlugins/Environments/PythonEnvironment.cs | 2 +- Flow.Launcher.Core/Flow.Launcher.Core.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs b/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs index 55b3b60bd..86d4717f4 100644 --- a/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs +++ b/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs @@ -31,7 +31,7 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments FilesFolders.RemoveFolderIfExists(InstallPath); // Python 3.8.9 is used for Windows 7 compatibility - DroplexPackage.Drop(App.python_3_8_9_embeddable, InstallPath).Wait(); + DroplexPackage.Drop(App.python_3_11_4_embeddable, InstallPath).Wait(); PluginsSettingsFilePath = ExecutablePath; } diff --git a/Flow.Launcher.Core/Flow.Launcher.Core.csproj b/Flow.Launcher.Core/Flow.Launcher.Core.csproj index 8d06e71c5..927ba5aba 100644 --- a/Flow.Launcher.Core/Flow.Launcher.Core.csproj +++ b/Flow.Launcher.Core/Flow.Launcher.Core.csproj @@ -53,7 +53,7 @@ - + From 0b95277aa41e1e10b554302c58dd9a5f8b86448c Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Thu, 3 Aug 2023 21:41:35 +1000 Subject: [PATCH 2/3] update install folder name --- .../ExternalPlugins/Environments/PythonEnvironment.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs b/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs index 86d4717f4..5676e12f5 100644 --- a/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs +++ b/Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs @@ -16,7 +16,7 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments internal override string EnvPath => Path.Combine(DataLocation.PluginEnvironmentsPath, EnvName); - internal override string InstallPath => Path.Combine(EnvPath, "PythonEmbeddable-v3.8.9"); + internal override string InstallPath => Path.Combine(EnvPath, "PythonEmbeddable-v3.11.4"); internal override string ExecutablePath => Path.Combine(InstallPath, "pythonw.exe"); @@ -30,7 +30,8 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments { FilesFolders.RemoveFolderIfExists(InstallPath); - // Python 3.8.9 is used for Windows 7 compatibility + // Python 3.11.4 is no longer Windows 7 compatible. If user is on Win 7 and + // uses Python plugin they need to custom install and use v3.8.9 DroplexPackage.Drop(App.python_3_11_4_embeddable, InstallPath).Wait(); PluginsSettingsFilePath = ExecutablePath; From 190fd246617c5201abdf2d4bd274bd1dabaaac0d Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Thu, 3 Aug 2023 21:54:50 +1000 Subject: [PATCH 3/3] ignore spell check on Droplex --- .github/actions/spelling/expect.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index e2c13e25f..4c768649e 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -103,3 +103,4 @@ Português Português (Brasil) Italiano Slovenský +Droplex