WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: The package python3.14-dev depends on python3.9 indirectly  (Read 146 times)

Offline adb014

  • Newbie
  • *
  • Posts: 29
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 ? 

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15534
Re: The package python3.14-dev depends on python3.9 indirectly
« Reply #1 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?

Offline adb014

  • Newbie
  • *
  • Posts: 29
Re: The package python3.14-dev depends on python3.9 indirectly
« Reply #2 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

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15534
Re: The package python3.14-dev depends on python3.9 indirectly
« Reply #3 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.

Offline adb014

  • Newbie
  • *
  • Posts: 29
Re: The package python3.9-dev depends on python3.14 indirectly
« Reply #4 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).