Skip to content

Commit e5bd022

Browse files
Mullasseryclaude
andcommitted
security: Pin dependencies to prevent supply chain attacks
- Pin all dependencies to specific versions - Prevents transitive dependency vulnerabilities Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent f4439d0 commit e5bd022

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["setuptools>=65.0", "wheel", "maturin>=1.0,<2.0"]
2+
requires = ["setuptools==65.0", "wheel", "maturin==1.0,<2.0"]
33
build-backend = "maturin.build"
44

55
[project]
66
name = "pyvectorhound"
77
version = "1.0.0"
88
description = "Diagnostic tool for vector search failures in RAG and LLM systems. Evaluate embedding quality, analyze vector search rank correlation, benchmark BM25 vs semantic search, profile reranker performance. Identify root cause of retrieval failures."
99
readme = "README.md"
10-
requires-python = ">=3.8"
10+
requires-python = "==3.8"
1111
license = { text = "MIT" }
1212
authors = [{ name = "Georgi Mammen Mullassery", email = "mullassery@gmail.com" }]
1313
maintainers = [{ name = "Georgi Mammen Mullassery", email = "mullassery@gmail.com" }]
@@ -56,24 +56,24 @@ classifiers = [
5656
]
5757

5858
dependencies = [
59-
"numpy>=1.20.0",
60-
"requests>=2.28.0",
59+
"numpy==1.20.0",
60+
"requests==2.28.0",
6161
]
6262

6363
[project.optional-dependencies]
64-
qdrant = ["qdrant-client>=2.0.0"]
65-
chroma = ["chromadb>=0.4.0"]
66-
milvus = ["pymilvus>=2.3.0"]
67-
weaviate = ["weaviate-client>=3.0.0"]
68-
postgres = ["psycopg2-binary>=2.9.0"]
69-
pgvector = ["psycopg2-binary>=2.9.0"]
64+
qdrant = ["qdrant-client==2.0.0"]
65+
chroma = ["chromadb==0.4.0"]
66+
milvus = ["pymilvus==2.3.0"]
67+
weaviate = ["weaviate-client==3.0.0"]
68+
postgres = ["psycopg2-binary==2.9.0"]
69+
pgvector = ["psycopg2-binary==2.9.0"]
7070
dev = [
71-
"pytest>=7.0.0",
72-
"pytest-cov>=4.0.0",
73-
"mypy>=1.0.0",
74-
"black>=23.0.0",
75-
"ruff>=0.1.0",
76-
"maturin>=1.0.0",
71+
"pytest==7.0.0",
72+
"pytest-cov==4.0.0",
73+
"mypy==1.0.0",
74+
"black==23.0.0",
75+
"ruff==0.1.0",
76+
"maturin==1.0.0",
7777
]
7878
all = [
7979
"pyvectorhound[qdrant,chroma,milvus,weaviate,postgres,pgvector,dev]",

0 commit comments

Comments
 (0)