From e7ab98d14c2045f2213821da05886774eb8a33cf Mon Sep 17 00:00:00 2001 From: Mohamed Firas <62911996+Fir121@users.noreply.github.com> Date: Sat, 21 Feb 2026 23:26:42 +0400 Subject: [PATCH 1/3] fix attempt --- .github/workflows/test.yml | 2 +- src/llm_classifier/classifier.py | 2 ++ src/llm_classifier/cluster.py | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85b03be..65f487a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/src/llm_classifier/classifier.py b/src/llm_classifier/classifier.py index 429cee8..ad54865 100644 --- a/src/llm_classifier/classifier.py +++ b/src/llm_classifier/classifier.py @@ -1,5 +1,7 @@ """Core LLMClassifier implementation.""" +from __future__ import annotations + import hashlib import json import threading diff --git a/src/llm_classifier/cluster.py b/src/llm_classifier/cluster.py index cfe46ce..9954494 100644 --- a/src/llm_classifier/cluster.py +++ b/src/llm_classifier/cluster.py @@ -1,5 +1,7 @@ """Core LLMCluster implementation.""" +from __future__ import annotations + import json from dataclasses import dataclass from typing import Any, Generic, Type, TypeVar From 4ecd88548f7c489c54ae27d3e6506eb57ba7e9b9 Mon Sep 17 00:00:00 2001 From: Mohamed Firas <62911996+Fir121@users.noreply.github.com> Date: Sat, 21 Feb 2026 23:28:59 +0400 Subject: [PATCH 2/3] drop 3.9 support --- .github/workflows/test.yml | 2 +- pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65f487a..51abd32 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 852fd95..8ae1cd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ version = "0.1.1" description = "Structured LLM based classification, clustering and extraction framework that works with all major API providers" readme = "README.md" license = { file = "LICENSE" } -requires-python = ">=3.9" +requires-python = ">=3.10" authors = [{ name = "Fir121", email = "" }] keywords = ["llm", "classification", "clustering", "pydantic", "machine-learning", "ai"] classifiers = [ @@ -16,7 +16,6 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", From 016aac764f05444cd842f9eb0f3f950de4f669fb Mon Sep 17 00:00:00 2001 From: Mohamed Firas <62911996+Fir121@users.noreply.github.com> Date: Sat, 21 Feb 2026 23:29:48 +0400 Subject: [PATCH 3/3] increase coverage --- .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 51abd32..c05aad3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4