Skip to content

Commit 9295bd2

Browse files
danielbentesclaude
andcommitted
chore: bump minimum Python version to 3.12
- Update requires-python to >=3.12 - Update CI matrix to test Python 3.12 and 3.13 - Update pyright pythonVersion to 3.12 - Remove Python 3.10 and 3.11 from classifiers Python 3.12+ provides consistent enum string representation and modern language features used throughout the codebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent cc28cd0 commit 9295bd2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.10", "3.11", "3.12"]
15+
python-version: ["3.12", "3.13"]
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Upload coverage
4343
uses: codecov/codecov-action@v4
44-
if: matrix.python-version == '3.11'
44+
if: matrix.python-version == '3.12'
4545
with:
4646
files: ./coverage.xml
4747
fail_ci_if_error: false
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up Python
5757
uses: actions/setup-python@v5
5858
with:
59-
python-version: "3.11"
59+
python-version: "3.12"
6060

6161
- name: Install build dependencies
6262
run: |

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
license = {file = "LICENSE"}
1111
authors = [{name = "Daniel Bentes", email = "[email protected]"}]
1212
maintainers = [{name = "Daniel Bentes", email = "[email protected]"}]
13-
requires-python = ">=3.10"
13+
requires-python = ">=3.12"
1414
keywords = [
1515
"rag",
1616
"retrieval-augmented-generation",
@@ -29,9 +29,8 @@ classifiers = [
2929
"License :: OSI Approved :: MIT License",
3030
"Operating System :: OS Independent",
3131
"Programming Language :: Python :: 3",
32-
"Programming Language :: Python :: 3.10",
33-
"Programming Language :: Python :: 3.11",
3432
"Programming Language :: Python :: 3.12",
33+
"Programming Language :: Python :: 3.13",
3534
"Topic :: Scientific/Engineering :: Artificial Intelligence",
3635
"Topic :: Software Development :: Libraries :: Python Modules",
3736
"Typing :: Typed",
@@ -171,7 +170,7 @@ exclude = [
171170
"siare/adapters/vector_search.py", # Optional: qdrant, pinecone, chromadb
172171
"siare/adapters/web_search.py", # Optional: duckduckgo_search
173172
]
174-
pythonVersion = "3.10"
173+
pythonVersion = "3.12"
175174
typeCheckingMode = "strict"
176175
reportMissingTypeStubs = false
177176
# Relax for external library types (chromadb, sentence-transformers, etc.)

0 commit comments

Comments
 (0)