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

Update :build_jaxlib flag to control whether we should add py_import dependencies to the test targets. #26945

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Mar 5, 2025

Update :build_jaxlib flag to control whether we should add py_import dependencies to the test targets.

This change enables testing the wheels produced by the build rules in the presubmit using one bazel test command only.

There are three options for running the tests:

  1. build_jaxlib=true: the tests depend on JAX targets.
  2. build_jaxlib=false: the tests depend on the wheel files located in the dist folder.
  3. build_jaxlib=wheel: the tests depend on the py_import targets.

@copybara-service copybara-service bot force-pushed the test_733777754 branch 4 times, most recently from 793b9fe to 394a337 Compare March 7, 2025 18:26
@copybara-service copybara-service bot changed the title Replace pypi wheel dependencies with py_import. Add :py_import flag that controls whether we should add py_import dependencies to the test targets. Mar 7, 2025
@copybara-service copybara-service bot changed the title Add :py_import flag that controls whether we should add py_import dependencies to the test targets. Update :build_jaxlib flag to control whether we should add py_import dependencies to the test targets. Mar 10, 2025
@copybara-service copybara-service bot force-pushed the test_733777754 branch 4 times, most recently from 6722ec0 to aa403e2 Compare March 11, 2025 15:03
…rt` dependencies to the test targets.

This change enables testing the wheels produced by the build rules in the presubmit using one `bazel test` command only.

There are three options for running the tests:

1) `build_jaxlib=true`: the tests depend on JAX targets.
2) `build_jaxlib=false`: the tests depend on the wheel files located in the `dist` folder.
3) `build_jaxlib=wheel`: the tests depend on the py_import targets.

PiperOrigin-RevId: 735765819
@copybara-service copybara-service bot merged commit 1aca76f into main Mar 11, 2025
@copybara-service copybara-service bot deleted the test_733777754 branch March 11, 2025 15:31
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