Skip to content

Commit

Permalink
Specify bpy / Blender 4.1.0 (#740)
Browse files Browse the repository at this point in the history
> 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.
  • Loading branch information
ekzhang authored May 10, 2024
1 parent 3058a29 commit 1c5c94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/blender/blender_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c5c94f

Please sign in to comment.