Skip to content

Commit 0327667

Browse files
committed
Back down to Python 3.9
1 parent 5a0abef commit 0327667

File tree

3 files changed

+148
-1628
lines changed

3 files changed

+148
-1628
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ jobs:
1111
python-version: [3.9]
1212
splunk-version: [9.4, latest]
1313
include:
14-
# Oldest possible configuration
15-
# Last Ubuntu version with Python 3.7 binaries available
16-
- os: ubuntu-22.04
17-
python-version: 3.7
18-
splunk-version: 9.1
1914
# Latest possible configuration
2015
- os: ubuntu-latest
2116
python-version: 3.13
@@ -29,11 +24,7 @@ jobs:
2924
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
3025
with:
3126
python-version: ${{ matrix.python-version }}
32-
- name: (Python 3.7) Install dependencies
33-
if: ${{ matrix.python-version == '3.7' }}
34-
run: python -m pip install python-dotenv pytest
35-
- name: (Python >= 3.9) Install dependencies
36-
if: ${{ matrix.python-version != '3.7' }}
27+
- name: Install dependencies
3728
run: python -m pip install . --group test
3829
- name: Run entire test suite
3930
run: python -m pytest ./tests

pyproject.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ name = "splunk-sdk"
1111
dynamic = ["version"]
1212
description = "Splunk Software Development Kit for Python"
1313
readme = "README.md"
14-
requires-python = ">=3.7"
14+
requires-python = ">=3.9"
1515
license = "Apache-2.0"
1616
authors = [{ name = "Splunk, Inc.", email = "devinfo@splunk.com" }]
1717
keywords = ["splunk", "sdk"]
1818
classifiers = [
1919
"Programming Language :: Python :: 3",
2020
"Programming Language :: Python :: 3 :: Only",
21-
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.13",
2423
"Development Status :: 6 - Mature",
@@ -38,11 +37,7 @@ compat = ["six>=1.17.0"]
3837
# Treat the same as package.json `devDependencies`
3938
[dependency-groups]
4039
test = ["pytest>=7.4.4", "pytest-cov>=4.1.0", "python-dotenv==0.21.1"]
41-
lint = [
42-
"pyright; python_version < '3.9'",
43-
"basedpyright; python_version >= '3.9'",
44-
"ruff>=0.14.13",
45-
]
40+
lint = ["basedpyright>=1.37.2", "ruff>=0.14.13"]
4641
release = ["build>=1.1.1", "twine>=4.0.2", "sphinx>=5.3.0", "jinja2>=3.1.6"]
4742
dev = [
4843
{ include-group = "test" },

0 commit comments

Comments
 (0)