File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
1111 PYTHONUNBUFFERED=1
1212
1313# VTK version to pre-cache at image build time
14- ARG VTK_VERSION=9.3.0
14+ ARG VTK_VERSION=9.6.1
1515ENV VTK_MCP_VTK_VERSION=${VTK_VERSION}
1616
1717RUN apt-get update && \
Original file line number Diff line number Diff line change 1010
1111vtk_version = os .environ ["VTK_MCP_VTK_VERSION" ]
1212
13- from vtk_knowledge import VTKAPIIndex
13+ try :
14+ from vtk_knowledge import VTKAPIIndex
1415
15- VTKAPIIndex .from_artifact (vtk_version )
16+ VTKAPIIndex .from_artifact (vtk_version )
17+ logging .info ("vtk-knowledge artifact cached for %s" , vtk_version )
18+ except Exception as e :
19+ logging .warning ("vtk-knowledge artifact not cached (will download at runtime): %s" , e )
1620
1721try :
1822 from vtk_index import Retriever
1923
2024 Retriever .from_artifact (vtk_version )
25+ logging .info ("vtk-index embedded storage cached for %s" , vtk_version )
2126except Exception as e :
22- logging .warning ("vtk-index embedded storage skipped : %s" , e )
27+ logging .warning ("vtk-index embedded storage not cached (will download at runtime) : %s" , e )
You can’t perform that action at this time.
0 commit comments