Skip to content

Preserve legacy API options in multiprocessing workers#2031

Closed
Mirochill wants to merge 1 commit into
PyCQA:mainfrom
Mirochill:fix-2011-legacy-api-parallel-options
Closed

Preserve legacy API options in multiprocessing workers#2031
Mirochill wants to merge 1 commit into
PyCQA:mainfrom
Mirochill:fix-2011-legacy-api-parallel-options

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • preserve the already-configured options namespace when multiprocessing workers need to initialize without inherited _mp state
  • keep reparsing argv for plugin discovery, but avoid discarding programmatic legacy-API overrides such as max_line_length
  • add coverage for the worker-init fallback path and update the process-pool expectations

References

Validation

  • local validation not run for the current revision because this collaboration workspace is intentionally coordination-only
  • relying on the repository's GitHub Actions checks for remote validation

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.

Max Line Length in style guide ignored with python 3.14 when checking multiple files

2 participants