Bump Pythonnet version to 2.0.21 (#7367)

* Add security dynamic properties unit and regression tests.

These assert that dynamic properties that are instances of python classes that inherit c# classes keep their python object references.

* Minor change

* Bump pythonnet version to 2.0.21

* Fix security dynamic properties cast from PyObject

* Minor change
This commit is contained in:
Jhonathan Abreu
2023-07-11 19:43:49 -04:00
committed by GitHub
parent 1ea0cd9d82
commit 72e7dca7af
15 changed files with 194 additions and 16 deletions
@@ -39,7 +39,7 @@
<Compile Include="..\Common\Properties\SharedAssemblyInfo.cs" Link="Properties\SharedAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.20" />
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.21" />
</ItemGroup>
<ItemGroup>
<Content Include="AccumulativeInsightPortfolioRegressionAlgorithm.py" />