forked from Arize-ai/openinference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (77 loc) · 2 KB
/
pyproject.toml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openinference-instrumentation-langchain"
dynamic = ["version"]
description = "OpenInference LangChain Instrumentation"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8, <3.13"
authors = [
{ name = "OpenInference Authors", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api",
"opentelemetry-instrumentation",
"opentelemetry-semantic-conventions",
"openinference-instrumentation>=0.1.7",
"openinference-semantic-conventions",
"wrapt",
]
[project.optional-dependencies]
instruments = [
"langchain_core >= 0.1.0",
]
test = [
"langchain_core == 0.1.8",
"langchain == 0.1.0",
"langchain_openai == 0.0.2",
"langchain-community == 0.0.10",
"opentelemetry-sdk",
"respx",
]
type-check = [
"langchain_core == 0.1.0",
]
[project.urls]
Homepage = "https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-langchain"
[tool.hatch.version]
path = "src/openinference/instrumentation/langchain/version.py"
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
]
[tool.hatch.build.targets.wheel]
packages = ["src/openinference"]
[tool.mypy]
strict = true
explicit_package_bases = true
exclude = [
"examples",
"dist",
"sdist",
]
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["E402", "E501"]
[tool.ruff.lint]
ignore-init-module-imports = true
select = ["E", "F", "W", "I"]
[tool.ruff.lint.isort]
force-single-line = false