-
-
Notifications
You must be signed in to change notification settings - Fork 113
Update: Add Blender 4.5 build #385 #398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
bbc0827 to
8f9585a
Compare
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.
2fb1950 to
f8a6831
Compare
|
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. |
|
I'm happy to see that update landed in 4.5.5! Does this mean this PR is still required before the module can be built for 4.5? |
@Xury46 This PR only adds 4.5 to the CIs, you should be able to build 4.5.5 without it too - as long as you use 4.5.5 Blender source and installation. |
Will rebase after #395 gets merged to avoid conflicts.rebasedOfficial 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.5tag 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.