Fix Blender 5+ breaking changes on properties#105
Conversation
The dict-style access for blender properties was removed in blender 5. Switches to getattr. Also had to bump dependencies due to python 3.13 not having wheels for aiohttp and the rest of the dependencies were so old.
|
Still wants me to log in each time |
|
Did you uninstall the addon before installing? I needed to do that. Ive been using it successfully on 5.1.0 and uploading to roblox |
|
Hey @hjarrell thank you for the PR, I am using it (and the other one) as a reference to implement the fixes. Since this is fixing 2 separate issues: the 5.0 api incompatibility with getattr/setattr and the login issue. I will be splitting the fixes into 2 changes. I have already merged fixes that remove all pip install and python exception errors from normal usage in one session. This was merged in #110. I am now investigating 2 other issues:
|
|
Probably good to just close this PR @itsfrank, given you implemented equivalent features, however I'd be wary of leaving certifi pinned in requirements.txt |
The dict-style access for blender properties was removed in blender 5. Switches to getattr. Also had to bump dependencies due to python 3.13 not having wheels for aiohttp and the rest of the dependencies were so old.
Heres the list of breaking changes: https://developer.blender.org/docs/release_notes/5.0/python_api/
I'll be honest I used Claude Code to write this but I checked the diff. I also tested this against Blender 5.1.0 and Blender 4.5.8 on a mac. Verified in each can login -> upload mesh -> select other account -> upload mesh, then checked the assets were correctly uploaded in Roblox.
Should fix #99 #103 #104