Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: adb014 on March 26, 2026, 07:03:31 AM

Title: The package python3.14-dev depends on python3.9 indirectly
Post by: adb014 on March 26, 2026, 07:03:31 AM
The python3.14-dev package pulling in indirectly python3.9 via the dependency chain

python3.14-dev -> Xorg-7.7-dev -> libXfont2-dev -> freetype-dev -> harfbuzz-dev -> glib2-dev -> glib2-python -> python3.9

This causes all sorts of problems as python3.9 becomes the version of python found with python3. Can we drop the dependency on Xorg in python3.14-dev and python3.9-dev ? 
Title: Re: The package python3.14-dev depends on python3.9 indirectly
Post by: Juanito on March 26, 2026, 07:12:33 AM
You don't mention which version or architecture this applies to, but in tc-17.x x86 and x86_64 glib2-python depends on python3.14?
Title: Re: The package python3.14-dev depends on python3.9 indirectly
Post by: adb014 on March 26, 2026, 07:35:29 AM
Sorry TC17 x86_64. Looking at  http://www.tinycorelinux.net/17.x/x86/tcz/python3.14-dev.tcz.dep you are absolutely right, but it doesn't change the fundamental issue, it just means that python3.9-dev now depends on python3.14 in the same manner
Title: Re: The package python3.14-dev depends on python3.9 indirectly
Post by: Juanito on March 26, 2026, 07:44:37 AM
..but if you are working with python3.14, it will not pull in python3.9.

I agree that python3.9-dev will pull in python3.14, but for new extensions you should be using python3.14 anyway?

The dependency on Xorg is needed for tcl/tk in the python extension.
Title: Re: The package python3.9-dev depends on python3.14 indirectly
Post by: adb014 on March 26, 2026, 07:55:08 AM
True. Ok, my problem was that I had an old glib2-python.tcz.dep file from TC16 in my TC17 build tree. (error in my upgrade script).