← Winnitude! Search  ·  Reader Mode (1305 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 51 LINKS

Fix shutdown regression with BinaryFormatter by filmor · Pull Request #2750 · pythonnet/pythonnet

Repository navigation

Fix shutdown regression with BinaryFormatter - #2750


Merged
filmor merged 1 commit into master from fix/shutdown-regression Oct 6, 2026
Merged

Fix shutdown regression with BinaryFormatter #2750 filmor merged 1 commit into master from fix/shutdown-regression

Conversation

filmor commented Oct 6, 2026 · edited Loading



Copy link Copy Markdown
Member

What does this implement/fix? Explain your changes.

The ConcurrentDictionary fields that were introduced to support
free-threaded Python builds are not serializable and thus need to be
rebuilt when the runtime data is unstashed.

Does this close any currently open issues?

#2748

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Ensure you have signed the .NET Foundation CLA
  • Add yourself to AUTHORS
  • Updated the CHANGELOG
Fix shutdown regression with BinaryFormatter 83e4b0d
The `ConcurrentDictionary` fields that were introduced to support
free-threaded Python builds are not serializable and thus need to be
rebuilt when the runtime data is unstashed.
filmor merged commit 5aa8111 into master Oct 6, 2026 39 checks passed filmor deleted the fix/shutdown-regression branch October 6, 2026 11:56 This was referenced Oct 10, 2026 Bump pythonnet from 3.0.5 to 3.2.1 baleti/revit-ballet#3 Open Bump pythonnet from 3.1.0 to 3.2.1 zcsizmadia/PyDotNet#133 Merged chore: Bump pythonnet from 3.2.0 to 3.2.1 apache/arrow-dotnet#460 Merged CurtHagenlocher pushed a commit to apache/arrow-dotnet that referenced this pull request Oct 12, 2026 chore: Bump pythonnet from 3.2.0 to 3.2.1 (#460) 8051b1a
Updated [pythonnet](https://github.com/pythonnet/pythonnet) from 3.2.0
to 3.2.1.

<details>
<summary>Release notes</summary>

_Sourced from [pythonnet's
releases](https://github.com/pythonnet/pythonnet/releases)._

## 3.2.1

## What's Changed
* Document MONO_THREADS_SUSPEND and use throughout CI by @​filmor in
pythonnet/pythonnet#2747
* Fix shutdown regression with BinaryFormatter by @​filmor in
pythonnet/pythonnet#2750
* Bump urllib3 from 2.7.0 to 2.8.0 in the uv group across 1 directory by
@​dependabot[bot] in pythonnet/pythonnet#2751

**Full Changelog**:
pythonnet/pythonnet@v3.2.0...v3.2.1

Commits viewable in [compare
view](pythonnet/pythonnet@v3.2.0...v3.2.1).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pythonnet&package-manager=nuget&previous-version=3.2.0&new-version=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot
Bot
mentioned this pull request Oct 14, 2026 deps: Bump pythonnet from 3.1.0 to 3.2.1 aj-geddes/revitpy#31 Open dependabot
Bot
mentioned this pull request Oct 28, 2026 build: Bump pythonnet from 3.0.5 to 3.2.1 akuro17/StockAnalyzer-OSS#89 Open eirannejad mentioned this pull request Nov 9, 2026 Ein/9.x/pythonnet 3.2.1 mcneel/pythonnet#6 Merged dependabot
Bot
mentioned this pull request Nov 10, 2026 MINOR: [C#] Bump pythonnet from 3.0.4 to 3.2.1 sg-scale/arrow--apache-arrow-18.1.0#10 Open Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

1 participant