Non-breaking workaround for BinaryFormatter deprecation, issue #2469 by Legion-ale · Pull Request #2621 · pythonnet/pythonnet
Repository navigation
Non-breaking workaround for BinaryFormatter deprecation, issue #2469 - #2621
Closed
Legion-ale wants to merge 2 commits into pythonnet:master from Legion-ale:patch-issue-#2469
Closed
Non-breaking workaround for BinaryFormatter deprecation, issue #2469 #2621 Legion-ale wants to merge 2 commits into pythonnet:master from Legion-ale:patch-issue-#2469
Conversation
Legion-ale commented Sep 23, 2025
Copy link Copy Markdown
What does this implement/fix? Explain your changes.
non-breaking change that fix BinaryFormatter deprecation on .Net9.0 and higher
Does this close any currently open issues?
yes #2469
Any other comments?
Considering that NoopFormatter exists in the code you're probably working on it, that are my 2 cents.
Legion-ale added 2 commits September 23, 2025 15:53
Non-breaking workaround for BinaryFormatter deprecation, issue python...
50752e8
...net#2469
Update RuntimeData.cs
f144d37
Missing ;Legion-ale commented Sep 30, 2025
View reviewed changes
Legion-ale left a comment · edited Loading
Copy link Copy Markdown
Author
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
; wrongly deleted when celaning function. Now build correctly
Legion-ale commented Sep 30, 2025 · edited Loading
Copy link Copy Markdown
Author
|
I see that the errors are:
Is not something I Implemented... so i didn't commit my changes at the .csproj, but i think is enought to edit
to latest .NET LTS:
Link to MS versioning: https://dotnet.microsoft.com/en-us/platform/support/policy Am I missing something? Can i commit the project edit? |
filmor commented Oct 1, 2025
Copy link Copy Markdown
Member
|
Sorry for the mess with the build. It's not quite as simple, I'm looking into updating our CI to use .NET 8 and uv, see #2612 and #2520 . Once these are through, I'll revisit your PR. |
filmor commented Oct 21, 2025
Copy link Copy Markdown
Member
|
#2639 should do this without trying to parse the version. Thank you for your effort! |
Legion-ale commented Oct 22, 2025
Copy link Copy Markdown
Author
|
Ok, i see the #2639 commit and it should work. |
filmor commented Oct 22, 2025
Copy link Copy Markdown
Member
|
Thanks, I'll change it accordingly. For |