When trying to install mopidy-jellyfin on a current Debian/Armbian Trixie system (Python 3.11 / PEP 668 environment), the installation fails during metadata generation. The error indicates that setuptools.find_packages cannot be imported. This happens even when explicitly using --break-system-packages.
This suggests that the package is relying on deprecated or removed setuptools APIs that are no longer available in recent Python / Debian environments.
Steps to reproduce:
python3 -m pip install mopidy-jellyfin --break-system-packages
Observed error (excerpt):
File "<pip-setuptools-caller>", line 35, in <module>
File "/tmp/pip-install-x4c0gqjt/mopidy-jellyfin_f3db39c4676f4e42b9750dc66306724f/setup.py", line 5, in <module>
from setuptools import find_packages, setup
ImportError: cannot import name 'find_packages' from 'setuptools' (unknown location)
Expected behavior:
The package should install successfully on current Python environments (Debian Trixie / Python 3.11+), without requiring older setuptools versions.
Environment:
- OS: Armbian / Debian Trixie
- Python: 3.11+ (3.13.5)
- Pip: respects PEP 668 (externally managed environment)
- Mopidy: installed via apt (mopidy, mopidy-mpd, etc.)
Notes:
This issue likely requires updating setup.py to modern packaging standards (e.g., using pyproject.toml, avoiding deprecated setuptools APIs, or explicitly requiring a compatible setuptools version).
If you need more logs or environment details, I can provide them.
When trying to install
mopidy-jellyfinon a current Debian/Armbian Trixie system (Python 3.11 / PEP 668 environment), the installation fails during metadata generation. The error indicates thatsetuptools.find_packagescannot be imported. This happens even when explicitly using--break-system-packages.This suggests that the package is relying on deprecated or removed setuptools APIs that are no longer available in recent Python / Debian environments.
Steps to reproduce:
python3 -m pip install mopidy-jellyfin --break-system-packagesObserved error (excerpt):
Expected behavior:
The package should install successfully on current Python environments (Debian Trixie / Python 3.11+), without requiring older setuptools versions.
Environment:
Notes:
This issue likely requires updating setup.py to modern packaging standards (e.g., using pyproject.toml, avoiding deprecated setuptools APIs, or explicitly requiring a compatible setuptools version).
If you need more logs or environment details, I can provide them.