Skip to content

"Cross compilation" of py_binary/py_image/py_library targets #260

Open
4 of 12 issues completed
Open
Feature
4 of 12 issues completed
@nimish

Description

@nimish

Hi,

I have a py_binary that depends on a python pip library (grpcio) that has a native extension bundled in. This means that to create a linux container i'd need to have the pip_import rule download the manylinux wheel, not the host one (macos in my case).

Is there a way to force this? Otherwise py_image will happily just bundle up wheels with darwin native libs. py_binary will also only make host-runnable things.

Sub-issues

Metadata

Metadata

Assignees

Labels

type: pippip/pypi integration

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions