Skip to content

Commit

Permalink
Pin kubernetes pip version to 31.0.0 to fix client authentication err…
Browse files Browse the repository at this point in the history
…or (apple#946)
  • Loading branch information
Ethanlm authored Jan 24, 2025
1 parent 076521a commit a6e0f4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ dev = [
gcp = [
"cloud-tpu-client", # for creating and managing TPUs.
"crcmod", # for file uploads.
"kubernetes",
# kubernetes==32.0.0 will cause "kube_config.py:520] Object of type ConfigNode is not JSON serializable" error
# when loading kube config, hence failing kubernetes client authentication.
"kubernetes==31.0.0",
"google-api-core==2.17.1",
"google-api-python-client==2.109.0",
"google-auth==2.29.0",
Expand Down

0 comments on commit a6e0f4a

Please sign in to comment.