mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
Add pandas fallback for pre-commit hooks
Include pandas in validate-dev fallback dependencies to satisfy mlsysim.sim imports during book-mlsys-test-units when base requirements install partially fails.
This commit is contained in:
2
.github/workflows/book-validate-dev.yml
vendored
2
.github/workflows/book-validate-dev.yml
vendored
@@ -106,7 +106,7 @@ jobs:
|
|||||||
echo "📦 Installing project dependencies for custom hooks..."
|
echo "📦 Installing project dependencies for custom hooks..."
|
||||||
pip install -r requirements.txt || echo "⚠️ Could not install all requirements, continuing..."
|
pip install -r requirements.txt || echo "⚠️ Could not install all requirements, continuing..."
|
||||||
echo "📦 Installing fallback hook dependencies..."
|
echo "📦 Installing fallback hook dependencies..."
|
||||||
pip install rich requests pillow pint || echo "⚠️ Could not install one or more fallback deps, continuing..."
|
pip install rich requests pillow pint pandas || echo "⚠️ Could not install one or more fallback deps, continuing..."
|
||||||
|
|
||||||
echo "🔧 Installing pre-commit hooks..."
|
echo "🔧 Installing pre-commit hooks..."
|
||||||
pre-commit install --install-hooks
|
pre-commit install --install-hooks
|
||||||
|
|||||||
Reference in New Issue
Block a user