-
Notifications
You must be signed in to change notification settings - Fork 258
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (76 loc) · 2.35 KB
/
pyproject.toml
File metadata and controls
90 lines (76 loc) · 2.35 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "oracle-haystack"
dynamic = ["version"]
description = "Oracle AI Vector Search DocumentStore integration for Haystack"
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
keywords = ["haystack", "oracle", "vector search", "document store", "RAG", "OCI"]
authors = [{ name = "deepset GmbH", email = "info@deepset.ai" }]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"haystack-ai>=2.0.0",
"oracledb>=2.1.0,<3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-mock>=3.12.0",
"ruff>=0.4.0",
"mypy>=1.9.0",
]
[project.urls]
"Source Code" = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/oracle"
"Bug Tracker" = "https://github.com/deepset-ai/haystack-core-integrations/issues"
[tool.hatch.version]
source = "vcs"
tag-pattern = 'integrations\/oracle-v(?P<version>.*)'
fallback-version = "0.1.0"
[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/oracle-v[0-9]*"'
[tool.hatch.build.targets.wheel]
packages = ["src/haystack_integrations"]
[tool.hatch.envs.default]
installer = "uv"
dependencies = ["haystack-pydoc-tools", "ruff"]
[tool.hatch.envs.default.scripts]
docs = ["haystack-pydoc pydoc/config_docusaurus.yml"]
fmt = "ruff check --fix {args}; ruff format {args}"
[tool.hatch.envs.test]
dependencies = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-mock>=3.12.0",
]
[tool.hatch.envs.test.scripts]
unit = "pytest tests/unit/ -v"
integration = "pytest tests/integration/ -v"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"unit: fast tests, no Oracle connection required",
"integration: require a live Oracle 23ai instance",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "B"]
[tool.mypy]
python_version = "3.10"
disallow_untyped_defs = true
ignore_missing_imports = true