Skip to content

Commit 4a8bb2d

Browse files
committed
Try using an older Splunk version to determine cause of CI failures
1 parent 8855231 commit 4a8bb2d

File tree

3 files changed

+681
-15
lines changed

3 files changed

+681
-15
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
matrix:
1010
os: [ubuntu-latest]
1111
python-version: [3.9, 3.13]
12-
splunk-version: ["9.3", "9.4", "latest"]
12+
splunk-version: ["8.2", "9.4", "latest"]
1313
fail-fast: false
1414
steps:
1515
- name: Checkout repo
@@ -23,9 +23,9 @@ jobs:
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install dependencies
26-
run: pip install . --group test
26+
run: where python && python --version && python -m pip install . --group dev
2727
- name: Run test suite
28-
run: python -m tox -e py
28+
run: where python && python --version && python -m tox -e py
2929
# [BJ] I'll uncomment this step after I finish fiddling
3030
# fossa-scan:
3131
# uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
4-
5-
[tool.setuptools.dynamic]
6-
version = { attr = "splunklib.__version__" }
7-
81
[project.urls]
92
HOMEPAGE = "https://pypi.org/project/splunk-sdk"
103
DOCS = "https://docs.splunk.com/Documentation/PythonSDK/2.1.0"
@@ -31,7 +24,7 @@ classifiers = [
3124
dependencies = ["deprecation", "python-dotenv"]
3225

3326
[dependency-groups]
34-
test = ["tox"]
27+
test = ["tox", "pytest"]
3528
lint = ["mypy", "ruff"]
3629
build = ["build", "setuptools", { include-group = "test" }]
3730
dev = [
@@ -40,6 +33,13 @@ dev = [
4033
{ include-group = "build" },
4134
]
4235

36+
[build-system]
37+
requires = ["setuptools"]
38+
build-backend = "setuptools.build_meta"
39+
40+
[tool.setuptools.dynamic]
41+
version = { attr = "splunklib.__version__" }
42+
4343
# https://docs.astral.sh/ruff/configuration/
4444
[tool.ruff]
4545
line-length = 120
@@ -61,8 +61,8 @@ select = [
6161
"RUF", # ruff-specific rules
6262
]
6363

64-
[tool.tox]
6564
# https://tox.wiki/en/latest/config.html#pyproject-toml-ini
65+
[tool.tox]
6666
legacy_tox_ini = """
6767
[tox]
6868
envlist = clean,docs,py39,313

0 commit comments

Comments
 (0)