Skip to content

Conversation

@Andrej730
Copy link
Contributor

@Andrej730 Andrej730 commented Nov 1, 2025

Will rebase after #395 gets merged to avoid conflicts. rebased

Official 4.5 is breaking stubs generation (https://projects.blender.org/blender/blender/issues/141853), but the developer confirmed that fix will be backported and we'll probably see it in 4.5.5.

In the meantime, I've created a build with patch applied at https://github.com/Andrej730/blender-daily-build, it's basically a bit patched version of https://github.com/nutti/blender-daily-build. All it does it applies 2 commits required to fix the issue in Blender 4.5. Later once v4.5.0 is released, we will be able to switch to official archives and to v4.5.5 tag for the source.

Another problem I've stumbled upon - since 4.5, checking out blender from https://github.com/blender/blender breaks when it triggers LFS objects (mirror doesn't have them). I've made it skip LFS objects, since we need just the source code.

@Andrej730 Andrej730 force-pushed the blender_45 branch 2 times, most recently from bbc0827 to 8f9585a Compare November 1, 2025 14:28
Since we use not actual Blende repo but a mirror, it lacks LFS objects that Blender seems to have since 4.5.0, which leads to errors during checkout.

Example error:
```
Changing to the target git ref ...
+ cd /home/runner/work/fake-bpy-module/fake-bpy-module/./blender
++ get_remote_git_ref v4.5.0
++ local ref=v4.5.0
+++ git ls-remote origin v4.5.0
+++ head -n 1
+++ cut -f1
++ local remote_ref=8cb6b388974a817afedf1317ce26f0c75aa5f181
++ '[' -z 8cb6b388974a817afedf1317ce26f0c75aa5f181 ']'
++ echo 8cb6b388974a817afedf1317ce26f0c75aa5f181
+ remote_git_ref=8cb6b388974a817afedf1317ce26f0c75aa5f181
+ git fetch --depth 1 origin 8cb6b388974a817afedf1317ce26f0c75aa5f181
From https://github.com/blender/blender
 * branch              8cb6b388974a817afedf1317ce26f0c75aa5f181 -> FETCH_HEAD
+ git checkout -f 8cb6b388974a817afedf1317ce26f0c75aa5f181
Downloading assets/brushes/essentials_brushes-mesh_sculpt.blend (2.6 MB)
Error downloading object: assets/brushes/essentials_brushes-mesh_sculpt.blend (b0357ed): Smudge error: Error downloading assets/brushes/essentials_brushes-mesh_sculpt.blend (b0357ed7ac2b362ec3d37caf638539a7cf1a0625306c5cbb7f840640761e602d): [b0357ed7ac2b362ec3d37caf638539a7cf1a0625306c5cbb7f840640761e602d] Object does not exist on the server: [404] Object does not exist on the server

Errors logged to '/home/runner/work/fake-bpy-module/fake-bpy-module/blender/.git/lfs/logs/20251031T165230.367767817.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: assets/brushes/essentials_brushes-mesh_sculpt.blend: smudge filter lfs failed
```
Was needed before, but not strictly needed anymore. But keeping it, so it will be easy to comment something in .yml without running into problems.
@Andrej730
Copy link
Contributor Author

Good news, changes were backported to Blender 4.5.5 (https://projects.blender.org/blender/blender/pulls/149734) and now we can support Blender 4.5 without any of my hacks and custom builds 😄

markdownlint error seems unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants