streamrip icon indicating copy to clipboard operation
streamrip copied to clipboard

[BUG] Cannot install with pip on python 3.14

Open Vatson112 opened this issue 1 month ago • 2 comments

Describe the bug

Installation failed on Pillow with

      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DHAVE_LIBTIFF -DHAVE_LIBJP
      gcc -shared build/temp.linux-x86_64-cpython-314/src/_imaging.o build/temp.linux-x86_64-cpython-314/src/decode.o build/temp.linux-x86_64-cpython-314/src/display.o build/temp.linux-x86_64-cpython-314/src/encinux-x86_64-cpython-314/src/libImaging/Offset.o build/temp.linux-x86_64-cpython-314/src/libImaging/Pack.o build/temp.linux-x86_64-cpython-314/src/libImaging/PackDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/Palette.o build/temp.linux-x86_64-cpython-314/src/libImaging/Paste.o build/temp.linux-x86_64-cpython-314/src/libImaging/PcdDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/PcxDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/PcxEncode.o build/temp.linux-x86_64-cpython-314/src/libImaging/Point.o build/temp.linux-x86_64-cpython-314/src/libImaging/Quant.o build/temp.linux-x86_64-cpython-314/src/libImaging/QuantHash.o build/temp.linux-x86_64-cpython-314/src/libImaging/QuantHeap.o build/temp.linux-x86_64-cpython-314/src/libImaging/QuantOctree.o build/temp.linux-x86_64-cpython-314/src/libImaging/QuantPngQuant.o build/temp.linux-x86_64-cpython-314/src/libImaging/RankFilter.o build/temp.linux-x86_64-cpython-314/src/libImaging/RawDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/RawEncode.o build/temp.linux-x86_64-cpython-314/src/libImaging/Reduce.o build/temp.linux-x86_64-cpython-314/src/libImaging/Resample.o build/temp.linux-x86_64-cpython-314/src/libImaging/SgiRleDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/Storage.o build/temp.linux-x86_64-cpython-314/src/libImaging/SunRleDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/TgaRleDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/TgaRleEncode.o build/temp.linux-x86_64-cpython-314/src/libImaging/TiffDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/Unpack.o build/temp.linux-x86_64-cpython-314/src/libImaging/UnpackYCC.o build/temp.linux-x86_64-cpython-314/src/libImaging/UnsharpMask.o build/temp.linux-x86_64-cpython-314/src/libImaging/XbmDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/XbmEncode.o build/temp.linux-x86_64-cpython-314/src/libImaging/ZipDecode.o build/temp.linux-x86_64-cpython-314/src/libImaging/ZipEncode.o build/temp.linux-x86_64-cpython-314/src/libImaging/codec_fd.o build/temp.linux-x86_64-cpython-314/src/map.o build/temp.linux-x86_64-cpython-314/src/outline.o build/temp.linux-x86_64-cpython-314/src/path.o -L/usr/lib64 -L/usr/lib -L/usr/lib64/llvm20/lib64 -L/usr/lib64/llvm19/lib -L/usr/lib64/llvm18/lib -L/usr/lib64/pipewire-0.3/jack -L/usr/lib64/iscsi -L/usr/lib64/llvm17/lib -L/usr/lib64/llvm16/lib -L/usr/lib64/llvm15/lib -L/usr/lib64/qt5-qtwebengine-freeworld -L/usr/local/lib -L/usr/lib64 -ltiff -ljpeg -lz -lxcb -o build/lib.linux-x86_64-cpython-314/PIL/_imaging.cpython-314-x86_64-linux-gnu.so
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for Pillow
Failed to build Pillow
ERROR: Failed to build installable wheels for some pyproject.toml based projects (Pillow)

All deps for Pillow installled

x sudo yum install libjpeg-devel zlib-devel libtiff-devel freetype-devel lcms2-devel
[sudo] password for admin013:
Updating and loading repositories:
Repositories loaded.
Package "libjpeg-turbo-devel-3.1.2-1.fc43.x86_64" is already installed.
Package "zlib-ng-compat-devel-2.2.5-2.fc43.x86_64" is already installed.
Package "libtiff-devel-4.7.0-8.fc43.x86_64" is already installed.
Package "freetype-devel-2.13.3-3.fc43.x86_64" is already installed.
Package "lcms2-devel-2.16-6.fc43.x86_64" is already installed.

Nothing to do.

Probably related with this.

Pillow 11 does not support python 3.14, but project required 11 version.

https://github.com/nathom/streamrip/blob/b6c578ae5176190bdfc7624eea0956e6cf7dd8fc/pyproject.toml#L29

Command Used

pip install streamrip

Debug Traceback

not related

Config File

not related

Operating System

Linux Fedora 43

streamrip version

2.2.0

Screenshots and recordings

No response

Additional context

No response

Vatson112 avatar Nov 10 '25 15:11 Vatson112

This is happening to me too, same distro

TheCoolerMS3 avatar Nov 10 '25 19:11 TheCoolerMS3

getting same problem but windows using older python untill fixed

Tha1mar5hm3ll0w avatar Nov 21 '25 08:11 Tha1mar5hm3ll0w

pip install streamrip Pillow==12 --no-cache-dir works for me. But yeah.. update the Pillow package in the installer dev!

AGuyNamedJens avatar Dec 12 '25 20:12 AGuyNamedJens