Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
# Builds the Atheris fuzz targets for ClusterFuzzLite / OSS-Fuzz.
# `compile_python_fuzzer` is provided by the base-builder-python image.

pip3 install .
python3 -m pip install --upgrade pip
pip3 install . --uploaded-prior-to=P1D

for harness in "$SRC"/haystack/test/fuzz/fuzz_*.py; do
name=$(basename "$harness" .py)
Expand Down
7 changes: 5 additions & 2 deletions docs-website/scripts/setup-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ if ! command -v python &> /dev/null; then
exit 1
fi

echo "⬆️ Upgrading pip..."
python -m pip install --upgrade pip

# Check if base dependencies are installed
echo "📦 Checking base dependencies..."
python -c "import requests, toml" 2>/dev/null || {
echo "⚠️ Installing base dependencies (requests, toml)..."
pip install requests toml
pip install requests toml --uploaded-prior-to=P1D
}

# Get Haystack version (default to main)
Expand All @@ -46,7 +49,7 @@ echo "📋 Generated requirements.txt with $(wc -l < requirements.txt) dependenc

# Install dependencies
echo "⚙️ Installing dependencies..."
pip install -r requirements.txt
pip install -r requirements.txt --uploaded-prior-to=P1D

echo "✅ Setup complete! You can now run:"
echo " python scripts/test_python_snippets.py --verbose"
Expand Down