Skip to content

Commit 672c861

Browse files
committed
Add [gke] and [test] optional dependencies with kubernetes
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]'.
1 parent 1089127 commit 672c861

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ dev = [
3838
"pylint>=2.6.0",
3939
"pyink",
4040
]
41+
gke = [
42+
"kubernetes",
43+
"pyyaml",
44+
]
45+
test = [
46+
"kubernetes",
47+
"pyyaml",
48+
"pytest",
49+
]
4150

4251
[tool.pyink]
4352
# Formatting configuration to follow Google style-guide

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ orbax-checkpoint
55
uvicorn
66
requests
77
packaging
8+
kubernetes
9+
pyyaml

0 commit comments

Comments
 (0)