Skip to content

Commit dc592c5

Browse files
authored
feat: Drop support for python 3.9 (#114)
feat!: Bump minimum LangChain version to 1.0.0
1 parent 4fab18f commit dc592c5

5 files changed

Lines changed: 18 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
18+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -39,7 +39,7 @@ jobs:
3939

4040
strategy:
4141
matrix:
42-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
42+
python-version: ["3.10", "3.11", "3.12", "3.13"]
4343

4444
steps:
4545
- uses: actions/checkout@v4
@@ -59,7 +59,7 @@ jobs:
5959
runs-on: ubuntu-latest
6060
strategy:
6161
matrix:
62-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
62+
python-version: ["3.10", "3.11", "3.12", "3.13"]
6363

6464
steps:
6565
- uses: actions/checkout@v4
@@ -81,7 +81,7 @@ jobs:
8181

8282
strategy:
8383
matrix:
84-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
84+
python-version: ["3.10", "3.11", "3.12", "3.13"]
8585

8686
steps:
8787
- uses: actions/checkout@v4
@@ -101,7 +101,7 @@ jobs:
101101
runs-on: ubuntu-latest
102102
strategy:
103103
matrix:
104-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
104+
python-version: ["3.10", "3.11", "3.12", "3.13"]
105105

106106
steps:
107107
- uses: actions/checkout@v4
@@ -123,7 +123,7 @@ jobs:
123123

124124
strategy:
125125
matrix:
126-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
126+
python-version: ["3.10", "3.11", "3.12", "3.13"]
127127

128128
steps:
129129
- uses: actions/checkout@v4
@@ -143,7 +143,7 @@ jobs:
143143
runs-on: ubuntu-latest
144144
strategy:
145145
matrix:
146-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
146+
python-version: ["3.10", "3.11", "3.12", "3.13"]
147147

148148
steps:
149149
- uses: actions/checkout@v4
@@ -165,7 +165,7 @@ jobs:
165165

166166
strategy:
167167
matrix:
168-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
168+
python-version: ["3.10", "3.11", "3.12", "3.13"]
169169

170170
steps:
171171
- uses: actions/checkout@v4

packages/ai-providers/server-ai-langchain/pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ description = "LaunchDarkly AI SDK LangChain Provider"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
77
readme = "README.md"
8-
requires-python = ">=3.9,<4"
8+
requires-python = ">=3.10,<4"
99
classifiers = [
1010
"Intended Audience :: Developers",
1111
"License :: OSI Approved :: Apache Software License",
1212
"Operating System :: OS Independent",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
@@ -21,8 +20,8 @@ classifiers = [
2120
]
2221
dependencies = [
2322
"launchdarkly-server-sdk-ai>=0.16.0",
24-
"langchain-core>=0.2.0",
25-
"langchain>=0.2.0",
23+
"langchain-core>=1.0.0",
24+
"langchain>=1.0.0",
2625
]
2726

2827
[project.urls]
@@ -47,7 +46,7 @@ build-backend = "hatchling.build"
4746
packages = ["src/ldai_langchain"]
4847

4948
[tool.mypy]
50-
python_version = "3.9"
49+
python_version = "3.10"
5150
ignore_missing_imports = true
5251
install_types = true
5352
non_interactive = true

packages/ai-providers/server-ai-openai/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ description = "LaunchDarkly AI SDK OpenAI Provider"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
77
readme = "README.md"
8-
requires-python = ">=3.9,<4"
8+
requires-python = ">=3.10,<4"
99
classifiers = [
1010
"Intended Audience :: Developers",
1111
"License :: OSI Approved :: Apache Software License",
1212
"Operating System :: OS Independent",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
@@ -46,7 +45,7 @@ build-backend = "hatchling.build"
4645
packages = ["src/ldai_openai"]
4746

4847
[tool.mypy]
49-
python_version = "3.9"
48+
python_version = "3.10"
5049
ignore_missing_imports = true
5150
install_types = true
5251
non_interactive = true

packages/optimization/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ description = "LaunchDarkly AI SDK optimization helpers"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
77
readme = "README.md"
8-
requires-python = ">=3.9,<4"
8+
requires-python = ">=3.10,<4"
99
classifiers = [
1010
"Intended Audience :: Developers",
1111
"License :: OSI Approved :: Apache Software License",
1212
"Operating System :: OS Independent",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
@@ -45,7 +44,7 @@ build-backend = "hatchling.build"
4544
packages = ["src/ldai_optimization"]
4645

4746
[tool.mypy]
48-
python_version = "3.9"
47+
python_version = "3.10"
4948
ignore_missing_imports = true
5049
install_types = true
5150
non_interactive = true

packages/sdk/server-ai/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ description = "LaunchDarkly SDK for AI"
55
authors = [{name = "LaunchDarkly", email = "dev@launchdarkly.com"}]
66
license = {text = "Apache-2.0"}
77
readme = "README.md"
8-
requires-python = ">=3.9,<4"
8+
requires-python = ">=3.10,<4"
99
classifiers = [
1010
"Intended Audience :: Developers",
1111
"License :: OSI Approved :: Apache Software License",
1212
"Operating System :: OS Independent",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
@@ -59,7 +58,7 @@ build-backend = "hatchling.build"
5958
packages = ["src/ldai"]
6059

6160
[tool.mypy]
62-
python_version = "3.9"
61+
python_version = "3.10"
6362
ignore_missing_imports = true
6463
install_types = true
6564
non_interactive = true

0 commit comments

Comments
 (0)