Skip to content

Commit 08000ae

Browse files
authored
Merge pull request #5 from msabramo/support-python-3.10-or-newer
Support Python 3.10 or newer
2 parents 85e9c84 + 3c57d8e commit 08000ae

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
14+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -64,8 +64,8 @@ jobs:
6464
with:
6565
version: "latest"
6666

67-
- name: Set up Python 3.9
68-
run: uv python install 3.9
67+
- name: Set up Python 3.10
68+
run: uv python install 3.10
6969

7070
- name: Install minimal dependencies
7171
run: |

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2121
]
2222
keywords = ["langchain", "llm", "ai", "chat", "providers"]
23-
requires-python = ">=3.9"
23+
requires-python = ">=3.10"
2424
dependencies = [
2525
"langchain-core>=0.1.0",
2626
"langchain-ollama>=0.1.0",
@@ -68,7 +68,7 @@ addopts = "--cov=src --cov-report=term-missing --cov-report=html"
6868

6969
[tool.black]
7070
line-length = 88
71-
target-version = ["py39"]
71+
target-version = ["py310"]
7272
include = '\.pyi?$'
7373
extend-exclude = '''
7474
/(
@@ -107,7 +107,7 @@ exclude = [
107107

108108
[tool.mypy]
109109
files = ["src"]
110-
python_version = "3.9"
110+
python_version = "3.10"
111111
warn_return_any = true
112112
warn_unused_configs = true
113113
disallow_untyped_defs = true
@@ -134,7 +134,7 @@ ignore_missing_imports = true
134134

135135
[tool.pyright]
136136
include = ["src"]
137-
pythonVersion = "3.9"
137+
pythonVersion = "3.10"
138138
typeCheckingMode = "strict"
139139
reportMissingImports = true
140140
reportMissingTypeStubs = false

0 commit comments

Comments
 (0)