Is this a new report?
Yes
System Info
Void 6.12.80_1 x86_64 AuthenticAMD notuptodate rrF
Package(s) Affected
python3-guessit-3.1.1_8
Does a report exist for this bug with the project's home (upstream) and/or another distro?
guessit depends internally on pkg_resources, which breaks above Python 3.12 unless python3-setuptools is installed.
Even after installing it, there's a warning
/usr/lib/python3.14/site-packages/guessit/rules/properties/website.py:6: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import resource_stream # @UnresolvedImport
Related: guessit-io/guessit#766 - Seems like upstream isn't planning to switch to importlib-metadata as a replacement for pkg_resources, though the lack of response other than closing the issue means there's no indication of whether any migration away will be happening.
Expected behaviour
Package has all its dependencies and works.
Actual behaviour
It crashes.
subliminal .
Traceback (most recent call last):
File "/usr/sbin/subliminal", line 5, in <module>
from subliminal.cli import cli
File "/usr/lib/python3.14/site-packages/subliminal/__init__.py", line 21, in <module>
from .core import (
...<10 lines>...
)
File "/usr/lib/python3.14/site-packages/subliminal/core.py", line 14, in <module>
from guessit import guessit # type: ignore[import-untyped]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/guessit/__init__.py", line 8, in <module>
from .api import guessit, GuessItApi
File "/usr/lib/python3.14/site-packages/guessit/api.py", line 20, in <module>
from .rules import rebulk_builder
File "/usr/lib/python3.14/site-packages/guessit/rules/__init__.py", line 17, in <module>
from .properties.website import website
File "/usr/lib/python3.14/site-packages/guessit/rules/properties/website.py", line 6, in <module>
from pkg_resources import resource_stream # @UnresolvedImport
Steps to reproduce
This got installed as a dependency of subliminal, and meant it didn't work.
- Install subliminal -
xbps-install subliminal
- Run subliminal
- See crash
Is this a new report?
Yes
System Info
Void 6.12.80_1 x86_64 AuthenticAMD notuptodate rrF
Package(s) Affected
python3-guessit-3.1.1_8
Does a report exist for this bug with the project's home (upstream) and/or another distro?
guessit depends internally on pkg_resources, which breaks above Python 3.12 unless python3-setuptools is installed.
Even after installing it, there's a warning
Related: guessit-io/guessit#766 - Seems like upstream isn't planning to switch to importlib-metadata as a replacement for pkg_resources, though the lack of response other than closing the issue means there's no indication of whether any migration away will be happening.
Expected behaviour
Package has all its dependencies and works.
Actual behaviour
It crashes.
Steps to reproduce
This got installed as a dependency of subliminal, and meant it didn't work.
xbps-install subliminal