Skip to content

Commit

Permalink
Workaround splunk-sdk CI runner installation issues
Browse files Browse the repository at this point in the history
on Windows and macOS:

Collecting splunk-sdk (from saltext.splunk==0.1.dev2+g0f68982)
  Downloading splunk-sdk-2.0.2.tar.gz (107 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

This should be revisited in the future since it means the dependency is
only correctly declared on Linux!
  • Loading branch information
lkubb committed Sep 26, 2024
1 parent 0f68982 commit 7779f38
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 @@ -39,7 +39,7 @@ dynamic = ["version"]
dependencies = [
"salt>=3006",
"requests",
"splunk-sdk",
"splunk-sdk; platform_system == 'Linux'",
]

[project.readme]
Expand Down

0 comments on commit 7779f38

Please sign in to comment.