Skip to content

docs: rewrite multi-version dependency track guide using custom platforms#3751

Merged
rickeylev merged 2 commits intobazel-contrib:mainfrom
rickeylev:update-pypi-deps-docs-20260501
May 3, 2026
Merged

docs: rewrite multi-version dependency track guide using custom platforms#3751
rickeylev merged 2 commits intobazel-contrib:mainfrom
rickeylev:update-pypi-deps-docs-20260501

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

Updated the monorepo multi-version dependency sharing documentation to
reflect bzlmod extension capabilities, migrating from manual Starlark
select() routing on library targets to single-hub configurations
utilizing custom platform settings.

Work towards #3671.

@rickeylev rickeylev requested a review from aignas as a code owner May 1, 2026 06:19
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the ability to dynamically populate Python toolchain versions from a python-build-standalone manifest file via a new manifest_url attribute in the dev_python.override extension. It also updates the documentation for handling multiple PyPI versions to reflect modern rules_python patterns using custom platforms and unified hubs. A significant issue was identified in the manifest parsing logic where platform matching is fragile and could lead to incorrect toolchain registrations, particularly for freethreaded builds. Additionally, the hardcoded strip_prefix and lack of flavor prioritization in the manifest parser may result in suboptimal or broken toolchain configurations.

Comment thread python/private/python.bzl Outdated
…orms

Updated the monorepo multi-version dependency sharing documentation to
reflect bzlmod extension capabilities, migrating from manual Starlark
select() routing on library targets to single-hub configurations
utilizing custom platform settings.

Work towards bazel-contrib#3671.
@rickeylev rickeylev force-pushed the update-pypi-deps-docs-20260501 branch from 388e1d8 to ba1ae58 Compare May 1, 2026 06:35
@rickeylev rickeylev enabled auto-merge May 1, 2026 06:40
@rickeylev rickeylev added this pull request to the merge queue May 2, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 2, 2026
@rickeylev rickeylev added this pull request to the merge queue May 3, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 3, 2026
@rickeylev rickeylev merged commit e784fc2 into bazel-contrib:main May 3, 2026
4 checks passed
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.

2 participants