Skip to content

Commit

Permalink
Don't install outdated kubernetes lib on Windows/macOS
Browse files Browse the repository at this point in the history
... because for some reason the installation of one of its dependencies
fails there:

Collecting websocket-client<=0.40.0,>=0.32.0 (from kubernetes==3.0.0->saltext.kubernetes==0.1.dev3+gb38d4fd)
  Downloading websocket_client-0.40.0.tar.gz (196 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.
  • Loading branch information
lkubb committed Sep 25, 2024
1 parent a65be77 commit 8209e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ classifiers = [
requires-python = ">= 3.8"
dynamic = ["version"]
dependencies = [
"kubernetes==3.0.0",
"kubernetes==3.0.0; platform_system == 'Linux'",
"salt>=3005",
]

Expand Down

0 comments on commit 8209e05

Please sign in to comment.