fix: install root dependencies before blockchain-node
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled

- Install from root pyproject.toml to get all dependencies
- Then install blockchain-node package in editable mode
- Fix ModuleNotFoundError: No module named 'sqlmodel'
This commit is contained in:
aitbc
2026-05-20 09:50:09 +02:00
parent 53c28aac81
commit 92d864b214

View File

@@ -94,6 +94,16 @@ setup_python_environment() {
# Activate virtual environment
source venv/bin/activate
# Install dependencies from root pyproject.toml
if [ -f "pyproject.toml" ]; then
log_info "Installing dependencies from root pyproject.toml"
pip install -e .
else
log_error "No pyproject.toml found in root"
deactivate
exit 1
fi
# Install blockchain-node package in editable mode
if [ -f "apps/blockchain-node/pyproject.toml" ]; then
log_info "Installing blockchain-node package in editable mode"