Bug 2208213

Summary: Plugins for X3D & BVH doesn't compatible with Python 3.11
Product: [Fedora] Fedora Reporter: SUN Haitao <sunhaitao>
Component: blenderAssignee: Luya Tshimbalanga <luya_tfz>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: code, design-devel, epel-packagers-sig, kwizart, luya_tfz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description SUN Haitao 2023-05-18 09:59:04 UTC
The `open` function in Python 3.11 no longer supports 'U' mode. But it is still used in '/usr/share/blender/3.5/scripts/addons/io_anim_bvh/import_bvh.py' and '/usr/share/blender/3.5/scripts/addons/io_scene_x3d/import_x3d.py'.


Reproducible: Always




An upstream patch for this is avialable at 'https://projects.blender.org/blender/blender-addons/commit/eef2e476d384e463d6124c13225aaa5bd8be7631'.

Comment 1 Luya Tshimbalanga 2023-06-28 15:41:47 UTC
Thank you for the report and providing the patch from upstream. We will provide a new update as soon as possible.