FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: make plain zipapp work with bootstrap=script by rickeylev · Pull Request #2598 · bazel-contrib/rules_python · GitHub

fix: make plain zipapp work with bootstrap=script - #2598

Merged
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:fix.bootstrap.script.zip.filegroup
Feb 2, 2025
Merged

fix: make plain zipapp work with bootstrap=script#2598
rickeylev merged 2 commits into
bazel-contrib:mainfrom
rickeylev:fix.bootstrap.script.zip.filegroup

Conversation

Copy link
Copy Markdown
Collaborator

The __main__.py template (zip_main_template.py) was using the wrong path when creating
the interpreter symlinks. It as computing it correctly, just the wrong variable was used
in the symlink() call.

To fix, pass the correct variable.

Also adds a test to check that it's runnable.

Fixes #2596

rickeylev requested a review from aignas as a code owner February 1, 2025 04:20
rickeylev force-pushed the fix.bootstrap.script.zip.filegroup branch from 182ebbe to 9629d7a Compare February 1, 2025 04:21

aignas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for the test.

The only thing left is a Changelog note about the fixed issue.

Copy link
Copy Markdown
Collaborator Author

Changelog updated

rickeylev enabled auto-merge February 2, 2025 01:42
rickeylev added this pull request to the merge queue Feb 2, 2025
Merged via the queue into bazel-contrib:main with commit 33cb431 Feb 2, 2025
rickeylev deleted the fix.bootstrap.script.zip.filegroup branch May 16, 2025 03:03
This file contains hidden or 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
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.

--bootstrap_impl=script breaks python_zip_file files

2 participants


Back | FazBrowse Home | New Git URL