Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package python311 3.11.2 #1002

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

dmacks
Copy link
Member

@dmacks dmacks commented Feb 24, 2023

This is just the python311 portion of PR #996, the new package for the next language-version, forked for further development. Because it's a brand new package, it's an easy chance to change the packaging before it gets into a public repo. The plan, inspired by Debian is to move the tk components (large dep tree, some of which might dep on python itself) to a separate .info to thin out the main build and break potential dep-cycles (#996 (comment)).

Because python << 311 included tk and python >= 311 will externalize it to a separate package, any other packages that need python-tk will need to adjust their dependencies for py>=311. Could someone (@TheSin?) with a real Debian-distro box post the reverse-dependencies on "python3-tk" and "python3-tk-dbg"?

@dmacks dmacks marked this pull request as draft February 25, 2023 17:30
@dmacks
Copy link
Member Author

dmacks commented Feb 25, 2023

Debian has:

  • "python3-tk"
    ** source package "python3-stdlib-extensions"
    ** dependencies on tk and python3 libraries

So I'm specifically looking for reverse-depends:python3-tk

But

  • source-package "python3.11"
    ** includes libpython and python interp
    ** includes "idle-python3.11", which depends:python3-tk

How is that not circular (python includes idle, idle:depends:p-tk, p-tk:depends:python)?

@TheSin-
Copy link
Member

TheSin- commented Feb 25, 2023

$ apt-cache rdepends python3-tk
python3-tk
Reverse Depends:
  python3
  python3-yade
  python3-twisted
  python3-ttkthemes
  totalopenstation
  python3-topplot
  thonny
  python3-tksnack
  python3-seaborn
  scribus-data
  python3-sagetex
  sagemath
  rhinote
  rabbitvcs-core
  qflow
  libpython3.9-testsuite
  idle-python3.9
  python3-tk-dbg
  python3-full
  python3-pil.imagetk
  idle
  python3-tktreectrl
  python3-pyo
  python3-pauvre
  python3-matplotlib-venn
  python3-ltfatpy
  python3-guizero
  python3-easygui
  python3-biopython
  python3-bayespy
  python3-ase
  pysolfc
  pysatellites
  python3-pyraf
  python3-opengl
  pymoctool
  pylint
  plasmidomics
  plakativ
  python3-sane
  blt
  python3-osmnx
  nvpy
  python3-nltk
  netgen-lvs
  python3-netgen
  python3-mpl-scatter-density
  mma
  python3-matplotlib
  ludevit
  loook
  inkscape-textext
  inkscape-textext
  inkscape-textext
  inkscape-textext
  gausssum
  python3-galpy
  expeyes
  etm
  education-development
  python3-aplpy
  python3-astroquery
  ariba

@nieder
Copy link
Member

nieder commented Oct 12, 2023

configure: WARNING: unrecognized options: --with-pkgconfig
  1. dependency tcltk uses ppkg-config, but this uses pkgconfig. Can this be moved to ppkg-config as well?

  2. emacs formatting line references python310.patch

Successfully built on 10.14.6 and 13.5 (intel)

@dhomeier
Copy link
Contributor

I've built the one for #996 (now at 3.11.6) with pkgconf, but could try with ppkg-config. But I have no idea where to even start with taking the python-tk parts apart here, and have no access to a Debian system for reference.

@TheSin-
Copy link
Member

TheSin- commented Oct 12, 2023

the debian files for building are easy to get without debian, http://deb.debian.org/debian/pool/main/p/python3.11/python3.11_3.11.2-6.debian.tar.xz should have everything you need, patches, rules file for how it's build, all the splits, etc etc

@dhomeier
Copy link
Contributor

Those should be helpful – for someone who knows how to turn those ~160 files into a Fink .info.

@TheSin-
Copy link
Member

TheSin- commented Oct 12, 2023

I'll have a stable it once I get some time, I'm pretty well versed in it. That being said you could just use type deb helper and run the debian builds.

@nieder
Copy link
Member

nieder commented Oct 13, 2023

Browsable version of the pyhton3.11 debian tarball: https://salsa.debian.org/cpython-team/python3/-/tree/python3.11/debian
Browsable version of the standard extensions (including tkinter): https://salsa.debian.org/cpython-team/python3-stdlib

Unfortunately, their rules are fairly obscure in this case. But here's their file list: https://packages.debian.org/bookworm/amd64/python3-tk/filelist so it looks to be tkinter

@dmacks is the goal to make tkinter a separate splitoff in the main package, or a separate package built from the main tarball but using installed python3.11 ?

@cooljeanius
Copy link

So apparently this could help with #995 once merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants