Update QuantConnect.pythonnet to 2.0.64#9623
Merged
jhonabreul merged 1 commit intoJul 16, 2026
Merged
Conversation
jhonabreul
marked this pull request as ready for review
July 16, 2026 14:40
Martin-Molinero
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the QuantConnect.pythonnet package reference to 2.0.64 in the 11 csproj that consume it.
Related Issue
N/A — routine dependency update. Brings in QuantConnect/pythonnet#141.
Motivation and Context
pythonnet 2.0.64 fixes a property-assignment bug surfaced by a user algorithm report: failed Python-to-CLR conversions at silent
Converter.ToManagedValueexits now raise a properTypeError: '<type>' value cannot be converted to <T>instead of leaving the error indicator unset, which manifested in Lean as the opaqueSystemError: error return without exception setduring algorithm initialization (e.g.self.universe_manager = ...assigning a pure-Python object ontoQCAlgorithm.UniverseManager).Requires Documentation Change
No.
How Has This Been Tested?
Python.Runtime.dll: a Python algorithm assigning a non-convertible object toself.universe_managernow fails with a clearTypeError: '<type>' value cannot be converted to QuantConnect.Securities.UniverseManagerat the offending line instead oferror return without exception set.Types of changes
Checklist:
bug-<issue#>-<description>orfeature-<issue#>-<description>