-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (64 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (64 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "interfaze-langchain"
version = "1.0.0"
description = "Interfaze Langchain SDK"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "InterfazeAI" }]
keywords = ["interfaze", "langchain", "ai", "llm"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
]
dependencies = [
"interfaze>=1.0.3,<2",
"langchain-openai>=1.4.1,<2",
"langchain-core>=1.0,<2",
"pydantic>=2,<3",
]
[project.urls]
Homepage = "https://interfaze.ai"
Repository = "https://github.com/InterfazeAI/langchain-interfaze"
[dependency-groups]
test = [
"pytest==9.1.1",
"pytest-asyncio==1.4.0",
"pytest-socket==0.8.0",
"langchain-tests==1.1.9",
"respx==0.23.1",
"pytest-cov==7.1.0",
]
test_integration = []
lint = ["ruff==0.16.0"]
typing = ["mypy==2.3.0"]
[tool.hatch.build.targets.wheel]
packages = ["interfaze_langchain"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests/unit_tests"]
addopts = ""
filterwarnings = [
"error",
# Matched on module, not message: langchain-openai hands pydantic a `parsed` field it
# types as None, and gating ci on the wording of someone else's warning means a reword
# upstream turns into a red build here.
"ignore::UserWarning:pydantic.main",
]
[tool.ruff]
line-length = 110
[tool.mypy]
python_version = "3.12"
strict = true
files = ["interfaze_langchain", "scripts"]
[[tool.mypy.overrides]]
module = ["langchain_openai.*", "langchain_core.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["interfaze_langchain.chat_models"]
disallow_subclassing_any = false
warn_return_any = false