1
+ [build-system ]
2
+ requires = [ " poetry-core>=1.0.0" ,]
3
+ build-backend = " poetry.core.masonry.api"
4
+
1
5
[tool .poetry ]
2
6
name = " __package_name__"
3
7
version = " 0.1.0"
@@ -7,82 +11,68 @@ readme = "README.md"
7
11
repository = " https://github.com/langchain-ai/langchain"
8
12
license = " MIT"
9
13
14
+ [tool .mypy ]
15
+ disallow_untyped_defs = " True"
16
+
10
17
[tool .poetry .urls ]
11
18
"Source Code" = " https://github.com/langchain-ai/langchain/tree/master/libs/partners/__package_name_short__"
12
19
"Release Notes" = " https://github.com/langchain-ai/langchain/releases?q=tag%3A%22__package_name_short__%3D%3D0%22&expanded=true"
13
20
14
21
[tool .poetry .dependencies ]
15
22
python = " >=3.9,<4.0"
16
- langchain-core = " ^0.3.0"
23
+ langchain-core = " ^0.3.15"
24
+
25
+ [tool .ruff .lint ]
26
+ select = [ " E" , " F" , " I" , " T201" ,]
27
+
28
+ [tool .coverage .run ]
29
+ omit = [ " tests/*" ,]
30
+
31
+ [tool .pytest .ini_options ]
32
+ addopts = " --strict-markers --strict-config --durations=5"
33
+ markers = [ " compile: mark placeholder test used to compile integration tests without running them" ,]
34
+ asyncio_mode = " auto"
17
35
18
36
[tool .poetry .group .test ]
19
37
optional = true
20
38
39
+ [tool .poetry .group .codespell ]
40
+ optional = true
41
+
42
+ [tool .poetry .group .test_integration ]
43
+ optional = true
44
+
45
+ [tool .poetry .group .lint ]
46
+ optional = true
47
+
48
+ [tool .poetry .group .dev ]
49
+ optional = true
50
+
21
51
[tool .poetry .group .test .dependencies ]
22
52
pytest = " ^7.4.3"
23
53
pytest-asyncio = " ^0.23.2"
24
54
pytest-socket = " ^0.7.0"
25
- langchain-core = { path = " ../../core" , develop = true }
26
55
pytest-watcher = " ^0.3.4"
27
56
28
- [tool .poetry .group .codespell ]
29
- optional = true
30
-
31
57
[tool .poetry .group .codespell .dependencies ]
32
58
codespell = " ^2.2.6"
33
59
34
- [tool .poetry .group .test_integration ]
35
- optional = true
36
-
37
60
[tool .poetry .group .test_integration .dependencies ]
38
61
39
- [tool .poetry .group .lint ]
40
- optional = true
41
-
42
62
[tool .poetry .group .lint .dependencies ]
43
63
ruff = " ^0.5"
44
64
45
65
[tool .poetry .group .typing .dependencies ]
46
66
mypy = " ^1.10"
47
- langchain-core = { path = " ../../core" , develop = true }
48
67
49
- [tool .poetry .group .dev ]
50
- optional = true
68
+ [tool .poetry .group .test .dependencies .langchain-core ]
69
+ path = " ../../core"
70
+ develop = true
51
71
52
- [tool .poetry .group .dev .dependencies ]
53
- langchain-core = { path = " ../../core" , develop = true }
72
+ [tool .poetry .group .dev .dependencies .langchain-core ]
73
+ path = " ../../core"
74
+ develop = true
54
75
55
- [tool .ruff .lint ]
56
- select = [
57
- " E" , # pycodestyle
58
- " F" , # pyflakes
59
- " I" , # isort
60
- " T201" , # print
61
- ]
62
-
63
- [tool .mypy ]
64
- disallow_untyped_defs = " True"
65
-
66
- [tool .coverage .run ]
67
- omit = [" tests/*" ]
68
-
69
- [build-system ]
70
- requires = [" poetry-core>=1.0.0" ]
71
- build-backend = " poetry.core.masonry.api"
72
-
73
- [tool .pytest .ini_options ]
74
- # --strict-markers will raise errors on unknown marks.
75
- # https://docs.pytest.org/en/7.1.x/how-to/mark.html#raising-errors-on-unknown-marks
76
- #
77
- # https://docs.pytest.org/en/7.1.x/reference/reference.html
78
- # --strict-config any warnings encountered while parsing the `pytest`
79
- # section of the configuration file raise errors.
80
- #
81
- # https://github.com/tophat/syrupy
82
- addopts = " --strict-markers --strict-config --durations=5"
83
- # Registering custom markers.
84
- # https://docs.pytest.org/en/7.1.x/example/markers.html#registering-markers
85
- markers = [
86
- " compile: mark placeholder test used to compile integration tests without running them" ,
87
- ]
88
- asyncio_mode = " auto"
76
+ [tool .poetry .group .typing .dependencies .langchain-core ]
77
+ path = " ../../core"
78
+ develop = true
0 commit comments