-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exp: multi-arch whl_library in bzlmod #1625
Closed
Closed
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
e97a75b
add some thoughts
aignas ea0f2ba
wip
aignas bc41145
continue to spike
aignas e29ae54
continue experimenting, the group libraries do not work but I think i…
aignas 393446b
hack through visibility to get tests almost passing
aignas 3aa23a2
document analysis of the current approach and a new approach
aignas 1e9f6fd
start implementing a new approach
aignas d78f282
wip
aignas ff2d000
work out the visibility and cleanup
aignas b82ac46
wip
aignas 75be4c7
fix visibility of the group
aignas c01e65a
use constants instead of strings for labels
aignas 5b637cb
do not symlink the whl and just pass along the label
aignas 42f916d
implement patching in minihub
aignas 825d28d
wip
aignas 1b91882
Merge branch 'main' into exp/whl-minihub
aignas 0401d77
remove TODOs
aignas f65d6ad
wip: move the downloading of all of the wheels outside whl_library macro
aignas 0751ad8
wip: reorder code
aignas 764d453
add index parsing
aignas 484a061
continue refining
aignas 242d960
wip
aignas 6eb77fd
Merge remote-tracking branch 'upstream/main' into exp/whl-minihub
aignas 1c0d38b
wip: use bazel 7.1 non-blocking download to get the filenames
aignas 89b9a79
wip: remove the os_arch_dependence on extensions
aignas 5ba4606
wip
aignas 0db226f
cleanup
aignas c1eba5e
simplify and prep to support 6.2
aignas 2871a7c
move the parsing of all req files collectively
aignas aff93fa
wip
aignas f698068
wip
aignas ccf6154
Ignore the MODULE.bazel.lock
aignas 8300db1
add notes
aignas f8dabc1
add docs
aignas d484d61
Merge branch 'main' into exp/whl-minihub
aignas 574aff6
fixup tests
aignas 32b8d7d
tidyup
aignas a54873e
make it more modular
aignas 8e4ac60
Add a feature toggle for this feature
aignas c4e9524
fixup! Add a feature toggle for this feature
aignas 3cb70b2
chore: use bazel-features for non-blocking downloading feature
aignas ccd5d79
cleanup downloading logic
aignas 1bd46fb
cleanup pypi_archive code
aignas 6ad2035
move 'get_auth' to a separate file
aignas 5fb780d
fixup the feature flag usage
aignas cb91638
fixup! move 'get_auth' to a separate file
aignas a3d6078
Merge branch 'main' into exp/whl-minihub
aignas b272578
revert the bazel version to the one that we can actually support
aignas 6ce5d11
fix(whl_library): correctly handle osx universal2 wheel platform_tag …
aignas 2b9c686
fix(whl_library): actually apply patches if specified
aignas 241f93a
fixup! fix(whl_library): correctly handle osx universal2 wheel platfo…
aignas 9b24bd9
fix: demote the RECORD mismatch during patching to a warning
aignas ea160ce
chore: re-implement the wheel platforms in starlark
aignas 350d006
chore: hook the platform handling in starlark
aignas 44b995e
rename the function name
aignas 02a00bc
remove the python implementation of target_platform
aignas 1af04ea
chore: add the bzl_library for the new code
aignas 2dd0791
Merge branch 'fix/universal2-mac-wheel-parsing' into exp/whl-minihub
aignas eda65d4
Merge branch 'fix/fix-patch-application' into exp/whl-minihub
aignas 86747f7
fix stuff
aignas b19e9dd
Merge branch 'main' into exp/whl-minihub
aignas 655e400
resolve merge conflicts and improve
aignas 1d71aae
Use stuff form #1636
aignas 7e60f55
add more todos and test with last_green
aignas 28d5b9d
exp: create a symlink for the host interpreter
aignas a82d3d7
feat(toolchain, pip.parse): introduce a new '_host' toolchain repo
aignas 5f65e16
updated the vendored requirements example
aignas 0afe5b3
Merge branch 'feat/setup-a-host-interpreter-for-external-repo-usage' …
aignas a759cf6
remove os,arch_dep
aignas 4daddcf
wip
aignas 636806b
Merge branch 'main' into exp/whl-minihub
aignas 3d6e8bd
feat(toolchain, pip.parse): introduce a new '_host' toolchain repo
aignas 4840d42
updated the vendored requirements example
aignas 1a97810
do the interpreter symlink resolution everywhere
aignas 169a4c1
Merge branch 'feat/setup-a-host-interpreter-for-external-repo-usage' …
aignas a4af2bb
disable the print
aignas a923fdb
Add more text about pypi_file usage
aignas b7e31db
rework slightly to avoid the _label helper
aignas 2aeda3b
more cleanup
aignas e778402
fixup
aignas 12a428e
Remove a TODO note
aignas 844913a
continue experimenting with smaller requirement lines
aignas f8319c3
more cleanup
aignas 79cf3a5
wip
aignas dd201b0
Add a trailing slash when fetching metadata
aignas 7392dcd
Merge branch 'main' into exp/whl-minihub
aignas 333f35f
ignore MODULE lock files
aignas abf60c1
revert some of the accidental changes
aignas 5fa7077
rebase conflicts
aignas 6fad811
Merge branch 'main' into exp/whl-minihub
aignas 9dca6aa
more conflicts
aignas 91a73b8
Add a note
aignas e32cb68
Merge branch 'main' into exp/whl-minihub
aignas d66b27b
use workspace_name instead of repo_name for Label
aignas 51474e4
Merge branch 'main' into exp/whl-minihub
aignas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
bazel-* | ||
MODULE.bazel.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first thought: this looks like more than just configuring platforms? Looks like more general pip overrides.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'll finalize the naming later.