Package: blender
Version: 5.2.2+dfsg-1
Severity: normal

Blender 5.2.2 imports cattrs and requests, and the package depends on neither.
On a sid system with blender installed (Recommends included), every start 
prints this and the core Extensions add-on stays off:

Traceback (most recent call last):
  File "/usr/share/blender/scripts/modules/addon_utils.py", line 544, in enable
    mod.register()
  File "/usr/share/blender/scripts/addons_core/bl_pkg/__init__.py", line 986, 
in register
    _remote_asset_library_restore_backups()
  File "/usr/share/blender/scripts/addons_core/bl_pkg/__init__.py", line 580, 
in _remote_asset_library_restore_backups
    from _bpy_internal.assets.remote_library import listing_downloader
  File 
"/usr/share/blender/scripts/modules/_bpy_internal/assets/remote_library/listing_downloader.py",
 line 32, in <module>
    from _bpy_internal.http import downloader as http_dl
  File "/usr/share/blender/scripts/modules/_bpy_internal/http/downloader.py", 
line 51, in <module>
    import cattrs
ModuleNotFoundError: No module named 'cattrs'
Exception in module register(): 
/usr/share/blender/scripts/addons_core/bl_pkg/__init__.py

The same code imports cattrs.preconf.json, and json_parsing.py and 
cli_listing_generator.py in the same directory import cattrs too.
With python3-cattr installed, the add-on fails at the next line of 
downloader.py, `import requests`.
With python3-cattr and python3-requests installed, Blender starts without the 
error, in the background and with its interface.

Reproduce: in sid, `apt install blender`, then `blender -b --factory-startup 
--python-expr 'import bpy'`.

Versions: blender and blender-data 5.2.2+dfsg-1, python3 3.14.7-3, 
python3-cattr 26.2.1-1, python3-requests 2.34.2-1.

Adding python3-cattr and python3-requests to blender's Depends would fix it.

I found and checked this with the help of an AI assistant (Claude); the runs 
above are in our test containers on Debian sid.

Daniel


These runs were in a Debian sid container; the kernel shown is the host's.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.0-rc6-stereo3d8 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages blender depends on:
ii  blender-data                                     5.2.2+dfsg-1
ii  fonts-dejavu                                     2.37-9
ii  libavcodec63                                     7:9.0.2-3
ii  libavdevice63                                    7:9.0.2-3
ii  libavformat63                                    7:9.0.2-3
ii  libavutil61                                      7:9.0.2-3
ii  libc6                                            2.43-7
ii  libceres4t64                                     2.2.0+dfsg-6
ii  libembree4-4                                     4.4.1+dfsg-3
ii  libepoxy0                                        1.5.10-2+b2
ii  libfftw3-double3                                 3.3.11-1
ii  libfftw3-single3                                 3.3.11-1
ii  libfmt11                                         11.1.1+ds1-2
ii  libfreetype6                                     2.14.3+dfsg-3
ii  libgcc-s1                                        16.2.0-3
ii  libgflags2.2                                     2.2.2-3
ii  libgmp10                                         2:6.3.0+dfsg-5+b2
ii  libgoogle-glog0v6t64                             0.6.0-3
ii  libimath-3-2-30                                  3.2.2-3
ii  libjack-jackd2-0 [libjack-0.125]                 1.9.22~dfsg-6
ii  libjpeg62-turbo                                  1:3.1.3-4
ii  libopenal1                                       1:1.25.2-2
ii  libopencolorio2.5                                2.5.1+dfsg-4+b4
ii  libopenexr-3-4-33 [libopenexr-3-4-33-imath-3-2]  3.4.15+ds-1+b1
ii  libopenimageio3.1                                3.1.18.1+dfsg-2
ii  libopenjp2-7                                     2.5.4-1.1
ii  libopenvdb13.0                                   13.0.0-3+b1
ii  libopenxr-loader1                                1.1.61~ds-1
ii  libosdcpu3.6.0                                   3.6.0-3+b2
ii  libosdgpu3.6.0                                   3.6.0-3+b2
ii  libpng16-16t64                                   1.6.59-1
ii  libpotrace0                                      1.16-2+b3
ii  libpugixml1v5                                    1.16-1
ii  libpulse0                                        17.0+dfsg1-3
ii  libpython3.14                                    3.14.8-1
ii  libshaderc1                                      2026.4-1
ii  libsndfile1                                      1.2.2-4+b1
ii  libspnav0                                        1.2-1
ii  libstdc++6                                       16.2.0-3
ii  libswscale10                                     7:9.0.2-3
ii  libtbb12                                         2023.1.0-3
ii  libtbbmalloc2                                    2023.1.0-3
ii  libvulkan1                                       1.4.363.0-1
ii  libwebp7                                         1.6.0-0.1
ii  libx11-6                                         2:1.8.13-1
ii  libxfixes3                                       1:6.0.0-2+b5
ii  libxi6                                           2:1.8.3-1
ii  libxkbcommon0                                    1.13.1-1
ii  libzstd1                                         1.5.7+dfsg-4
ii  zlib1g                                           1:1.3.dfsg+really1.3.2-3

blender recommends no packages.

blender suggests no packages.

Reply via email to