Skip to content

Commit ee63d21

Browse files
authored
many: use core 0.3.15 (#27834)
1 parent c3c638c commit ee63d21

File tree

22 files changed

+545
-443
lines changed

22 files changed

+545
-443
lines changed
Lines changed: 40 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[build-system]
2+
requires = [ "poetry-core>=1.0.0",]
3+
build-backend = "poetry.core.masonry.api"
4+
15
[tool.poetry]
26
name = "__package_name__"
37
version = "0.1.0"
@@ -7,82 +11,68 @@ readme = "README.md"
711
repository = "https://github.com/langchain-ai/langchain"
812
license = "MIT"
913

14+
[tool.mypy]
15+
disallow_untyped_defs = "True"
16+
1017
[tool.poetry.urls]
1118
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/__package_name_short__"
1219
"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22__package_name_short__%3D%3D0%22&expanded=true"
1320

1421
[tool.poetry.dependencies]
1522
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"
1735

1836
[tool.poetry.group.test]
1937
optional = true
2038

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+
2151
[tool.poetry.group.test.dependencies]
2252
pytest = "^7.4.3"
2353
pytest-asyncio = "^0.23.2"
2454
pytest-socket = "^0.7.0"
25-
langchain-core = { path = "../../core", develop = true }
2655
pytest-watcher = "^0.3.4"
2756

28-
[tool.poetry.group.codespell]
29-
optional = true
30-
3157
[tool.poetry.group.codespell.dependencies]
3258
codespell = "^2.2.6"
3359

34-
[tool.poetry.group.test_integration]
35-
optional = true
36-
3760
[tool.poetry.group.test_integration.dependencies]
3861

39-
[tool.poetry.group.lint]
40-
optional = true
41-
4262
[tool.poetry.group.lint.dependencies]
4363
ruff = "^0.5"
4464

4565
[tool.poetry.group.typing.dependencies]
4666
mypy = "^1.10"
47-
langchain-core = { path = "../../core", develop = true }
4867

49-
[tool.poetry.group.dev]
50-
optional = true
68+
[tool.poetry.group.test.dependencies.langchain-core]
69+
path = "../../core"
70+
develop = true
5171

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
5475

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
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1+
[build-system]
2+
requires = [ "poetry-core",]
3+
build-backend = "poetry.core.masonry.api"
4+
15
[tool.poetry]
26
name = "__package_name__"
37
version = "0.0.1"
48
description = ""
59
authors = []
610
readme = "README.md"
711

12+
[tool.langserve]
13+
export_module = "__module_name__"
14+
export_attr = "chain"
15+
816
[tool.poetry.dependencies]
917
python = ">=3.9,<4.0"
10-
langchain-core = "^0.3.0"
18+
langchain-core = "^0.3.15"
1119
langchain-openai = ">=0.0.1"
1220

13-
1421
[tool.poetry.group.dev.dependencies]
1522
langchain-cli = ">=0.0.4"
1623
fastapi = "^0.104.0"
1724
sse-starlette = "^1.6.5"
18-
19-
[tool.langserve]
20-
export_module = "__module_name__"
21-
export_attr = "chain"
22-
23-
[build-system]
24-
requires = ["poetry-core"]
25-
build-backend = "poetry.core.masonry.api"

libs/community/poetry.lock

Lines changed: 26 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)