From c9105dc58c362a80875ae5c9bf51dae47230d83d Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Sun, 21 Jun 2026 19:49:48 -0500 Subject: [PATCH 1/5] address pytest warning about instance attributes with a classmethod --- tests/test_index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_index.py b/tests/test_index.py index 080c6d5a..9bcc9549 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -293,6 +293,7 @@ def test_intersection_v(self) -> None: class TestIndexIntersectionUnion: @pytest.fixture(scope="class") + @classmethod def index_a_interleaved(self) -> index.Index: idx = index.Index(interleaved=True) idx.insert(1, (3, 3, 5, 5), "a_1") @@ -300,6 +301,7 @@ def index_a_interleaved(self) -> index.Index: return idx @pytest.fixture(scope="class") + @classmethod def index_a_uninterleaved(self) -> index.Index: idx = index.Index(interleaved=False) idx.insert(1, (3, 5, 3, 5), "a_1") @@ -307,6 +309,7 @@ def index_a_uninterleaved(self) -> index.Index: return idx @pytest.fixture(scope="class") + @classmethod def index_b_interleaved(self) -> index.Index: idx = index.Index(interleaved=True) idx.insert(3, (2, 1, 7, 6), "b_3") @@ -314,6 +317,7 @@ def index_b_interleaved(self) -> index.Index: return idx @pytest.fixture(scope="class") + @classmethod def index_b_uninterleaved(self) -> index.Index: idx = index.Index(interleaved=False) idx.insert(3, (2, 7, 1, 6), "b_3") From 8e759106f52657199642629ef7baeb38e50be3ff Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Sun, 21 Jun 2026 19:58:42 -0500 Subject: [PATCH 2/5] good bye python 3.9 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b171aa1..fcca40cb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] # test oldest and newest versions of python and libspatialindex - python-version: ['3.9', '3.14'] +r python-version: ['3.10', '3.14'] sidx-version: ['1.8.5', '2.1.0'] exclude: - os: 'macos-latest' @@ -59,7 +59,7 @@ jobs: fail-fast: false matrix: # test all supported minor versions of python - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v6 From 77f44e026e1436d87c12ba250e277079dc7d3dd3 Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Sun, 21 Jun 2026 20:00:34 -0500 Subject: [PATCH 3/5] typo --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcca40cb..63a0957a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] # test oldest and newest versions of python and libspatialindex -r python-version: ['3.10', '3.14'] + python-version: ['3.10', '3.14'] sidx-version: ['1.8.5', '2.1.0'] exclude: - os: 'macos-latest' From 0408363d0c85a9e21fb1c5beedbc514485172d66 Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Mon, 22 Jun 2026 06:56:10 -0500 Subject: [PATCH 4/5] undo python 3.9 stuff --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b171aa1..63a0957a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] # test oldest and newest versions of python and libspatialindex - python-version: ['3.9', '3.14'] + python-version: ['3.10', '3.14'] sidx-version: ['1.8.5', '2.1.0'] exclude: - os: 'macos-latest' @@ -59,7 +59,7 @@ jobs: fail-fast: false matrix: # test all supported minor versions of python - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v6 From 33eb1485d52cef7f5bdc6757744fbacba97694ad Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Mon, 22 Jun 2026 07:23:08 -0500 Subject: [PATCH 5/5] put back 3.9 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63a0957a..9b171aa1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] # test oldest and newest versions of python and libspatialindex - python-version: ['3.10', '3.14'] + python-version: ['3.9', '3.14'] sidx-version: ['1.8.5', '2.1.0'] exclude: - os: 'macos-latest' @@ -59,7 +59,7 @@ jobs: fail-fast: false matrix: # test all supported minor versions of python - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v6