Skip to content

Fix shutdown regression with BinaryFormatter - #2750

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

filmor merged 1 commit into
masterfrom
fix/shutdown-regression

Conversation

@filmor

@filmor filmor commented Oct 6, 2026 •

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

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
filmor merged commit 5aa8111 into master Oct 6, 2026
39 checks passed
@filmor
filmor deleted the fix/shutdown-regression branch October 6, 2026 11:56
CurtHagenlocher pushed a commit to apache/arrow-dotnet that referenced this pull request Oct 12, 2026
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>
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.

1 participant