From 1c5c94fca90b16cbf01e7cc90caa8dafa8da3c72 Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Fri, 10 May 2024 13:59:44 -0400 Subject: [PATCH] Specify bpy / Blender 4.1.0 (#740) > Each Blender release supports one Python version, and the package is only compatible with that version. Just realized we should probably pin this dependency to avoid future breakage. Blender 4.1.0 happens to match Python 3.11. --- 06_gpu_and_ml/blender/blender_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06_gpu_and_ml/blender/blender_video.py b/06_gpu_and_ml/blender/blender_video.py index 63fcf87ec..3b8c353e0 100644 --- a/06_gpu_and_ml/blender/blender_video.py +++ b/06_gpu_and_ml/blender/blender_video.py @@ -37,7 +37,7 @@ rendering_image = ( modal.Image.debian_slim(python_version="3.11") .apt_install("xorg", "libxkbcommon0") # X11 (Unix GUI) dependencies - .pip_install("bpy") # Blender as a Python package + .pip_install("bpy==4.1.0") # Blender as a Python package ) # ## Rendering a single frame