Skip to content

Commit 49cb1d3

Browse files
committed
fix: numpy version & pytc import
1 parent 6be565d commit 49cb1d3

File tree

3 files changed

+2135
-299
lines changed

3 files changed

+2135
-299
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"langchain-community==0.4.1",
1313
"langchain-ollama==1.0.0",
1414
"neuroglancer==2.38",
15-
"numpy>=1.24",
15+
"numpy>=1.24,<2.0",
1616
"pillow>=10.0",
1717
"psutil>=5.9.0",
1818
"python-multipart==0.0.20",
@@ -22,4 +22,8 @@ dependencies = [
2222
"tensorboard-data-server==0.7.2",
2323
"uvicorn==0.38.0",
2424
"zarr>=2.18",
25+
"connectomics",
2526
]
27+
28+
[tool.uv.sources]
29+
connectomics = { path = "pytorch_connectomics", editable = true }

scripts/bootstrap.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ echo "Preparing pytorch_connectomics dependency..."
2222
"${ROOT_DIR}/setup_pytorch_connectomics.sh"
2323

2424
if [ -d "${ROOT_DIR}/pytorch_connectomics" ]; then
25-
echo "Installing pytorch_connectomics into the uv environment..."
26-
uv pip install --directory "${ROOT_DIR}" --editable "${ROOT_DIR}/pytorch_connectomics"
25+
echo "pytorch_connectomics directory found."
2726
fi
2827

2928
echo "Installing frontend dependencies..."

0 commit comments

Comments
 (0)