Skip to content

Update QuantConnect.pythonnet to 2.0.69 - #10069

Merged
jhonabreul merged 1 commit into
QuantConnect:masterfrom
jhonabreul:feature-update-pythonnet-2.0.69
Nov 11, 2026
Merged

jhonabreul merged 1 commit into
QuantConnect:masterfrom
jhonabreul:feature-update-pythonnet-2.0.69

Conversation

@jhonabreul

@jhonabreul jhonabreul commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Updates the QuantConnect.pythonnet package reference to 2.0.69 in the 11 csproj files that consume it.

2.0.69 ships one pythonnet change, QuantConnect/pythonnet#159: a Python error set with a type but no value (PyErr_SetNone, e.g. the builtin next() raising StopIteration on Python 3.11) is now converted into a PythonException instead of crashing with a NullReferenceException, so the algorithm's own error and stack trace are reported.

Draft until 2.0.69 is published to nuget.org.

Related Issue

N/A

Motivation and Context

Keeps LEAN on the latest QuantConnect.pythonnet.

Requires Documentation Change

No

How Has This Been Tested?

Version bump only. The change is covered by tests in its pythonnet PR.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Refactor (non-breaking change which improves implementation)
  • Performance (non-breaking change which improves performance. Please add associated performance test and results)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Non-functional change (xml comments/documentation/etc)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

@jhonabreul
jhonabreul marked this pull request as ready for review November 11, 2026 15:12
@jhonabreul
jhonabreul merged commit 1cf18fa into QuantConnect:master Nov 11, 2026
8 of 18 checks passed
@jhonabreul
jhonabreul deleted the feature-update-pythonnet-2.0.69 branch November 11, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants