Skip to content

[Bug]: Pip build fails due to dependency version mismatch #1300

@crispy-caesus

Description

@crispy-caesus

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

commit: d54d46e

Operating System & Version

Alpine Linux edge (rolling)

Description

Hello,

I have been trying to build the project with pip, as instructed on https://docs.tagstud.io/install/#installing-with-pip.
However the install fails due to a dependency version problem with PySide.

Just for reference, I can't use the prebuilt versions from the releases, as they are only built against the glibc C library. It cannot run on musl systems (such as my Alpine).

Expected Behavior

I would expect it to just build fine. Or if I have to switch branches or use a different version actually, for that to be documented.

Not meant in any kind of entitled way. I know not all docs can always be kept up to date by a bunch of voluntary contributors. Just trying to fill out the field.

Steps to Reproduce

Commands

git clone https://github.com/TagStudioDev/TagStudio.git
cd TagStudio
python -m venv venv
source venv/bin/activate.fish
pip install .

Versions

python --version: Python 3.12.12
pip --version: pip 25.3 from <path>/TagStudio/venv/lib/python3.12/site-packages/pip (python 3.12)

Logs

Processing /home/crispy/Documents/github/TagStudio
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting chardet~=5.2 (from TagStudio==9.5.6)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting ffmpeg-python~=0.2 (from TagStudio==9.5.6)
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl.metadata (1.7 kB)
Collecting humanfriendly==10.* (from TagStudio==9.5.6)
  Using cached humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
Collecting mutagen~=1.47 (from TagStudio==9.5.6)
  Using cached mutagen-1.47.0-py3-none-any.whl.metadata (1.7 kB)
Collecting numpy~=2.2 (from TagStudio==9.5.6)
  Using cached numpy-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (6.6 kB)
Collecting opencv-python~=4.11 (from TagStudio==9.5.6)
  Using cached opencv-python-4.12.0.88.tar.gz (95.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pillow-heif~=0.22 (from TagStudio==9.5.6)
  Using cached pillow_heif-0.22.0-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (9.6 kB)
Collecting pillow-jxl-plugin~=1.3 (from TagStudio==9.5.6)
  Using cached pillow_jxl_plugin-1.3.7-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (3.8 kB)
Collecting pillow<12,>=10.2 (from TagStudio==9.5.6)
  Using cached pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl.metadata (9.0 kB)
Collecting py7zr==1.0.0 (from TagStudio==9.5.6)
  Using cached py7zr-1.0.0-py3-none-any.whl.metadata (17 kB)
Collecting pydantic~=2.10 (from TagStudio==9.5.6)
  Using cached pydantic-2.12.5-py3-none-any.whl.metadata (90 kB)
Collecting pydub~=0.25 (from TagStudio==9.5.6)
  Using cached pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
INFO: pip is looking at multiple versions of tagstudio to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement pyside6==6.8.0.* (from tagstudio) (from versions: none)
ERROR: No matching distribution found for pyside6==6.8.0.*

Metadata

Metadata

Assignees

No one assigned

    Labels

    System: LinuxFor Linux/BSD distributionsType: BugSomething isn't working as intendedType: InstallationInstalling, building, and/or launching the program

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions