Skip to content

Add [gke] and [test] optional dependencies with kubernetes#288

Merged
copybara-service[bot] merged 1 commit into
mainfrom
add-gke-test-extras-dependencies
Jul 23, 2026
Merged

Add [gke] and [test] optional dependencies with kubernetes#288
copybara-service[bot] merged 1 commit into
mainfrom
add-gke-test-extras-dependencies

Conversation

@lukebaumann

Copy link
Copy Markdown
Collaborator

Motivation (Why)

Pathways on Cloud GKE utilities and unit tests require kubernetes and pyyaml. Declaring optional dependency extras [gke] and [test] in pyproject.toml and updating requirements.txt allows users to install GKE extras (pip install 'pathwaysutils[gke]') and CI runners to install test dependencies (pip install 'pathwaysutils[test]').

Implementation (How)

  • Update pyproject.toml to add gke (kubernetes, pyyaml) and test (kubernetes, pyyaml, pytest) to [project.optional-dependencies].
  • Update requirements.txt to include kubernetes and pyyaml.

Impact (What)

  • Enables pip install 'pathwaysutils[gke]' and pip install 'pathwaysutils[test]'.
  • Prepares dependency configuration for the upcoming PathwaysJobSet GKE headless refactor.

Why:
Pathways on Cloud GKE utilities and unit tests require kubernetes and pyyaml. Declaring optional dependency extras [gke] and [test] in pyproject.toml and updating requirements.txt enables installation of GKE and test dependencies.

How:
- Add gke and test extras to pyproject.toml under [project.optional-dependencies].
- Add kubernetes and pyyaml to requirements.txt.

What:
- Enables pip install 'pathwaysutils[gke]' and pip install 'pathwaysutils[test]'.
@lukebaumann
lukebaumann requested a review from wstcliyu July 17, 2026 22:56
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

wstcliyu pushed a commit that referenced this pull request Jul 23, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#288 from AI-Hypercomputer:add-gke-test-extras-dependencies 672c861
PiperOrigin-RevId: 952228081
copybara-service Bot pushed a commit that referenced this pull request Jul 23, 2026
FUTURE_COPYBARA_INTEGRATE_REVIEW=#288 from AI-Hypercomputer:add-gke-test-extras-dependencies 672c861
PiperOrigin-RevId: 952228081
copybara-service Bot pushed a commit that referenced this pull request Jul 23, 2026
This change configures the max_slice_restarts parameter to 1000000 when deploying the shared Pathways service. Using a very high backOffLimit for the worker pods keeps the jobset from failing on multiple client reconnections.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#288 from AI-Hypercomputer:add-gke-test-extras-dependencies 672c861
PiperOrigin-RevId: 952331464
@copybara-service
copybara-service Bot merged commit cfac217 into main Jul 23, 2026
38 checks passed
@copybara-service
copybara-service Bot deleted the add-gke-test-extras-dependencies branch July 23, 2026 22:51
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