@@ -6,12 +6,13 @@ authors = ["Zhipu AI"]
66readme = " README.md"
77
88[tool .poetry .dependencies ]
9- python = " >=3.8 .1,<3.12,!=3.9.7"
9+ python = " >=3.7 .1,<3.12,!=3.9.7 "
1010httpx = " >=0.23.0"
1111pydantic = " >=1.9.0,<3.0"
1212cachetools = " >=4.2.2"
1313pyjwt = " ~=2.8.0"
1414
15+
1516[tool .poetry .group .test .dependencies ]
1617# The only dependencies that should be added are
1718# dependencies used for running tests (e.g., pytest, freezegun, response).
@@ -23,12 +24,12 @@ duckdb-engine = "^0.9.2"
2324pytest-watcher = " ^0.2.6"
2425freezegun = " ^1.2.2"
2526responses = " ^0.22.0"
26- pytest-asyncio = " ^0.23.2"
27+ pytest-asyncio = { version = " ^0.23.2" , python = " ^3.8 " }
2728lark = " ^1.1.5"
28- pandas = " ^2.0.0"
29- pytest-mock = " ^3.10.0"
29+ pandas = { version = " ^2.0.0" , python = " ^3.8 " }
30+ pytest-mock = " ^3.10.0"
3031pytest-socket = " ^0.6.0"
31- syrupy = " ^4.0.2"
32+ syrupy = { version = " ^4.0.2" , python = " >=3.8.1,<3.9.7 || >3.9.7,<3.12 " }
3233requests-mock = " ^1.11.0"
3334
3435[tool .poetry .group .test_langchain .dependencies ]
@@ -39,14 +40,14 @@ duckdb-engine = "^0.9.2"
3940pytest-watcher = " ^0.2.6"
4041freezegun = " ^1.2.2"
4142responses = " ^0.22.0"
42- pytest-asyncio = " ^0.23.2"
43+ pytest-asyncio = { version = " ^0.23.2" , python = " ^3.8 " }
4344lark = " ^1.1.5"
44- pandas = " ^2.0.0"
45- pytest-mock = " ^3.10.0"
45+ pandas = { version = " ^2.0.0" , python = " ^3.8 " }
46+ pytest-mock = " ^3.10.0"
4647pytest-socket = " ^0.6.0"
47- syrupy = " ^4.0.2"
48+ syrupy = { version = " ^4.0.2" , python = " >=3.8.1,<3.9.7 || >3.9.7,<3.12 " }
4849requests-mock = " ^1.11.0"
49- langchain = " 0.1.5"
50+ langchain = { version = " 0.1.5" , python = " >=3.8.1,<3.9.7 || >3.9.7,<3.12 " }
5051
5152
5253[tool .poetry .group .lint ]
@@ -66,9 +67,9 @@ extended_testing = [
6667
6768[tool .ruff .lint ]
6869select = [
69- " E" , # pycodestyle
70- " F" , # pyflakes
71- " I" , # isort
70+ " E" , # pycodestyle
71+ " F" , # pyflakes
72+ " I" , # isort
7273 " T201" , # print
7374]
7475
0 commit comments