fake-bpy-module icon indicating copy to clipboard operation
fake-bpy-module copied to clipboard

Update: Add Blender 4.5 build #385

Open Andrej730 opened this issue 2 months ago • 6 comments

~~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 avatar Nov 01 '25 14:11 Andrej730

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.

Andrej730 avatar Nov 19 '25 18:11 Andrej730

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? Or would I be able to build the stubs from main as long as I'm running Blender 4.5.5?

Xury46 avatar Nov 24 '25 17:11 Xury46

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? Or would I be able to build the stubs from main as long as I'm running Blender 4.5.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.

Andrej730 avatar Nov 24 '25 18:11 Andrej730

@nutti the errors are unrelated to this PR.

image

Andrej730 avatar Dec 03 '25 17:12 Andrej730

@nutti the errors are unrelated to this PR. image

Now, merged the PR which solves Lint error. Can you rebase to rerun CI?

nutti avatar Dec 04 '25 14:12 nutti

Now, merged the PR which solves Lint error. Can you rebase to rerun CI?

@nutti rebased.

Andrej730 avatar Dec 08 '25 17:12 Andrej730