Skip to content
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

Multi-platform solution for python single executables #310

Closed
sitaktif opened this issue May 13, 2020 · 6 comments
Closed

Multi-platform solution for python single executables #310

sitaktif opened this issue May 13, 2020 · 6 comments
Labels
Can Close? Will close in 30 days if there is no new activity

Comments

@sitaktif
Copy link
Contributor

Bazel currently has good support for creating single executable python binary outputs (e.g python zip and previously, par), however these formats don't support producing a single file that is compatible with multiple platforms (e.g. Linux and MacOS) when dependencies include platform-specific dependencies.

Some solutions exist for this problem (e.g. the pex format supports that use case by including all the various wheels in the output file and doing some magic with sys.path at runtime) but no such thing is currently supported by rules_python.

It would be great to have a solution to support the multi-platform case for python binaries.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_python!

@github-actions github-actions bot added the Can Close? Will close in 30 days if there is no new activity label Apr 14, 2021
@thundergolfer thundergolfer removed the Can Close? Will close in 30 days if there is no new activity label Apr 28, 2021
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_python!

@github-actions github-actions bot added the Can Close? Will close in 30 days if there is no new activity label Oct 25, 2021
@github-actions
Copy link

This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?"

@njlr
Copy link

njlr commented Aug 17, 2024

Perhaps this should be reopened?

  • Google subpar is now archived
  • Existing PEX rules seem to be abandoned

@aignas
Copy link
Collaborator

aignas commented Aug 21, 2024

This should be implemented as a separate ruleset if needed, keeping rules_python small and focused.

@njlr
Copy link

njlr commented Aug 21, 2024

Understood. It looks like progress is being made on PEX for rules_py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Can Close? Will close in 30 days if there is no new activity
Projects
None yet
Development

No branches or pull requests

4 participants