Title: Avoid parallel execution of the recursion-limit nesting test on free-threaded builds by Copilot · Pull Request #729 · msgpack/msgpack-python · GitHub
Open Graph Title: Avoid parallel execution of the recursion-limit nesting test on free-threaded builds by Copilot · Pull Request #729 · msgpack/msgpack-python
X Title: Avoid parallel execution of the recursion-limit nesting test on free-threaded builds by Copilot · Pull Request #729 · msgpack/msgpack-python
Description: The Windows Python 3.15t Actions job was failing in the pure-Python fallback test phase under pytest-run-parallel. The failure came from test_nest_limit_1024, which mutates the process-wide recursion limit and can race when multiple iterations run concurrently. Root cause test_nest_limit_1024 temporarily raises and restores sys.setrecursionlimit(...). In free-threaded parallel runs, concurrent executions can observe or restore the wrong recursion limit, surfacing as intermittent StackError failures during unpacking. Change Mark test_nest_limit_1024 as thread_unsafe so pytest-run-parallel runs it single-threaded while leaving the rest of the free-threaded suite parallelized. Scope No production code changes. No workflow changes. Test still runs in normal serial execution; only threaded-parallel scheduling changes. @pytest.mark.skipif(IS_FREE_THREADED_BUILD, reason="Skipped on free-threaded build") @pytest.mark.thread_unsafe def test_nest_limit_1024(): ...
Open Graph Description: The Windows Python 3.15t Actions job was failing in the pure-Python fallback test phase under pytest-run-parallel. The failure came from test_nest_limit_1024, which mutates the process-wide recursi...
X Description: The Windows Python 3.15t Actions job was failing in the pure-Python fallback test phase under pytest-run-parallel. The failure came from test_nest_limit_1024, which mutates the process-wide recursi...
Opengraph URL: https://github.com/msgpack/msgpack-python/pull/729
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2dd849fb-a5ac-0273-2afb-8bdfdf0c7816 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E12:30D752:2F313C:3F1A67:6B0750F4 |
| html-safe-nonce | dd1ca5a35d8a9b74ca553e96a4face741b7bdb314c308eb11978725687e005cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTEyOjMwRDc1MjoyRjMxM0M6M0YxQTY3OjZCMDc1MEY0IiwidmlzaXRvcl9pZCI6IjgwNDI0MDM1MTI4Mzc0Mjc0NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b68aa053b2337f954651ef6ce166e90a4d8e582b028d40f19265851a822d5391 |
| hovercard-subject-tag | pull_request:4366513825 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/msgpack/msgpack-python/pull/729/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | The Windows Python 3.15t Actions job was failing in the pure-Python fallback test phase under pytest-run-parallel. The failure came from test_nest_limit_1024, which mutates the process-wide recursi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 663b1a69a41309856ffd9403fa5b764f6c0f78a39a0a8f75fb2c205c96a947be |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/msgpack/msgpack-python git https://github.com/msgpack/msgpack-python.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2242705 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2242705 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | effa2c0a160a75bd95d9ffcc6320197d7aea0d83 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width