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

feat(whl_library): set target_compatible_with based on whl name #1564

Closed
wants to merge 1 commit into from

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Nov 16, 2023

This adds a pure starlark function to further parse the platform_tag from the
wheel and set the correct attributes for the target generated by the whl_library
rule. This should make errors much more easy to understand when users try to
build a docker image using incompatible libraries.

This is currently hidden under an experimental flag described in the changelog.

Related #735, #260

This adds a pure starlark function to further parse the platform_tag
from the wheel and set the correct attributes for the
target generated by the whl_library rule. This should make errors
much more easy to understand when users try to build a docker image
using incompatible libraries.

This is currently hidden under an experimental flag described in the
changelog.
@aignas aignas force-pushed the exp/pypi-library-target-compatible-with branch from ce22c48 to f068380 Compare November 16, 2023 01:11
@aignas
Copy link
Collaborator Author

aignas commented Dec 21, 2023

This is not the direction we want to follow in the future, because target_compatible_with does not help with toolchain resolution and we would be looking to something like #1625 instead.

@aignas aignas closed this Dec 21, 2023
@aignas aignas deleted the exp/pypi-library-target-compatible-with branch January 14, 2024 10:21
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.

1 participant