Skip to content

Commit

Permalink
try uv
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Oct 17, 2024
1 parent ac0e4c2 commit b25c10f
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integrations/amazon_bedrock/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/amazon_bedrock-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -60,6 +61,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/amazon_sagemaker/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/amazon_sagemaker-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -65,6 +66,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/anthropic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/anthropic-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -60,6 +61,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/astra/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/astra-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -59,6 +60,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/chroma/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/chroma-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -61,6 +62,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.9", "3.10"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = [
"black>=23.1.0",
Expand Down
2 changes: 2 additions & 0 deletions integrations/cohere/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/cohere-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -60,6 +61,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/deepeval/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/deepeval-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
Expand All @@ -55,6 +56,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/elasticsearch/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/elasticsearch-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -61,6 +62,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/fastembed/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/fastembed-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -62,6 +63,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243", "numpy"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/google_ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/google_ai-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -58,6 +59,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/google_vertex/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/google_vertex-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -59,6 +60,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/instructor_embedders/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/instructor_embedders-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -83,6 +84,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["38", "39", "310", "311"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]

Expand Down
2 changes: 2 additions & 0 deletions integrations/jina/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/jina-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
Expand All @@ -58,6 +59,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/langfuse/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/langfuse-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -64,6 +65,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]

Expand Down
2 changes: 2 additions & 0 deletions integrations/llama_cpp/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/llama_cpp-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -65,6 +66,7 @@ python = ["3.8", "3.9", "3.10", "3.11", "3.12"]


[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]

Expand Down
2 changes: 2 additions & 0 deletions integrations/mistral/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/mistral-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -60,6 +61,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/mongodb_atlas/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/mongodb_atlas-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -62,6 +63,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/nvidia/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/nvidia-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -62,6 +63,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/ollama/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/ollama-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -66,6 +67,7 @@ python = ["3.8", "3.9", "3.10", "3.11", "3.12"]


[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]

Expand Down
2 changes: 2 additions & 0 deletions integrations/opensearch/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/opensearch-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -63,6 +64,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243", "boto3"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/optimum/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/optimum-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -76,6 +77,7 @@ python = ["3.8", "3.9", "3.10", "3.11", "3.12"]


[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]

Expand Down
2 changes: 2 additions & 0 deletions integrations/pgvector/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/pgvector-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -62,6 +63,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/pinecone/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/pinecone-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -66,6 +67,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243", "numpy"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/qdrant/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/qdrant-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-rerunfailures", "haystack-pydoc-tools"]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
Expand All @@ -58,6 +59,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
2 changes: 2 additions & 0 deletions integrations/ragas/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ root = "../.."
git_describe_command = 'git describe --tags --match="integrations/ragas-v[0-9]*"'

[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"coverage[toml]>=6.5",
"pytest",
Expand All @@ -61,6 +62,7 @@ docs = ["pydoc-markdown pydoc/config.yml"]
python = ["3.8", "3.9", "3.10", "3.11"]

[tool.hatch.envs.lint]
installer = "uv"
detached = true
dependencies = ["black>=23.1.0", "mypy>=1.0.0", "ruff>=0.0.243"]
[tool.hatch.envs.lint.scripts]
Expand Down
Loading

0 comments on commit b25c10f

Please sign in to comment.