Skip to content

Commit 02ebbff

Browse files
authored
Merge pull request #2266 from Flow-Launcher/update_python_3_11
Update Python to v3.11.4
2 parents 03983b9 + 190fd24 commit 02ebbff

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/actions/spelling/expect.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,4 @@ Português
103103
Português (Brasil)
104104
Italiano
105105
Slovenský
106+
Droplex

Flow.Launcher.Core/ExternalPlugins/Environments/PythonEnvironment.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal class PythonEnvironment : AbstractPluginEnvironment
1616

1717
internal override string EnvPath => Path.Combine(DataLocation.PluginEnvironmentsPath, EnvName);
1818

19-
internal override string InstallPath => Path.Combine(EnvPath, "PythonEmbeddable-v3.8.9");
19+
internal override string InstallPath => Path.Combine(EnvPath, "PythonEmbeddable-v3.11.4");
2020

2121
internal override string ExecutablePath => Path.Combine(InstallPath, "pythonw.exe");
2222

@@ -30,8 +30,9 @@ internal override void InstallEnvironment()
3030
{
3131
FilesFolders.RemoveFolderIfExists(InstallPath);
3232

33-
// Python 3.8.9 is used for Windows 7 compatibility
34-
DroplexPackage.Drop(App.python_3_8_9_embeddable, InstallPath).Wait();
33+
// Python 3.11.4 is no longer Windows 7 compatible. If user is on Win 7 and
34+
// uses Python plugin they need to custom install and use v3.8.9
35+
DroplexPackage.Drop(App.python_3_11_4_embeddable, InstallPath).Wait();
3536

3637
PluginsSettingsFilePath = ExecutablePath;
3738
}

Flow.Launcher.Core/Flow.Launcher.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
</ItemGroup>
5454

5555
<ItemGroup>
56-
<PackageReference Include="Droplex" Version="1.6.0" />
56+
<PackageReference Include="Droplex" Version="1.7.0" />
5757
<PackageReference Include="FSharp.Core" Version="7.0.300" />
5858
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.3.2" />
5959
<PackageReference Include="squirrel.windows" Version="1.5.2" NoWarn="NU1701" />

0 commit comments

Comments
 (0)