Skip to content

Commit 2ff9df0

Browse files
committed
Avoid shutdown exception due to deprecated API
PythonEngine shutdown currently relies on BinaryFormatter which has been deprecated with .NET 8. This is a known issue documented at: pythonnet/pythonnet#2282
1 parent a80e254 commit 2ff9df0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/Bonsai.ML.LinearDynamicalSystems.Tests/Bonsai.ML.LinearDynamicalSystems.Tests.csproj‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
34
<TargetFramework>net8.0</TargetFramework>
45
<ImplicitUsings>enable</ImplicitUsings>
56
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)