From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-047.btinternet.com (mailomta17-sa.btinternet.com [213.120.69.23]) by sourceware.org (Postfix) with ESMTPS id A42943858CDB for ; Sun, 2 Apr 2023 15:47:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A42943858CDB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Received: from sa-prd-rgout-004.btmx-prd.synchronoss.net ([10.2.38.7]) by sa-prd-fep-047.btinternet.com with ESMTP id <20230402154712.QOPZ13453.sa-prd-fep-047.btinternet.com@sa-prd-rgout-004.btmx-prd.synchronoss.net> for ; Sun, 2 Apr 2023 16:47:12 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 6406812D032932CB X-Originating-IP: [86.140.195.75] X-OWM-Source-IP: 86.140.195.75 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeihedgleefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepveeggeevudejvdethfevtdfhgfehueefffdtfeeileevheelffeftdeuteeijeffnecuffhomhgrihhnpegulhhlrdhsohenucfkphepkeeirddugedtrdduleehrdejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtiegnpdhinhgvthepkeeirddugedtrdduleehrdejhedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedupdhrtghpthhtoheptgihghifihhnqdgrphhpshestgihghifihhnrdgtohhmpdhrvghvkffrpehhohhsthekiedqudegtddqudelhedqjeehrdhrrghnghgvkeeiqddugedtrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpehsrgdqphhrugdqrhhgohhuthdq tddtge X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (86.140.195.75) by sa-prd-rgout-004.btmx-prd.synchronoss.net (5.8.814) (authenticated as jonturney@btinternet.com) id 6406812D032932CB for cygwin-apps@cygwin.com; Sun, 2 Apr 2023 16:47:12 +0100 Message-ID: <01685a2b-5592-971d-fe1c-9cc23c788c92@dronecode.org.uk> Date: Sun, 2 Apr 2023 16:47:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: python2 removal To: "cygwin-apps@cygwin.com" References: <07106598-5bc3-055f-5875-abe5aa7baffc@dronecode.org.uk> Content-Language: en-GB From: Jon Turney In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1194.5 required=5.0 tests=BAYES_00,FORGED_SPF_HELO,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 14/03/2023 19:17, Jon Turney via Cygwin-apps wrote: > On 15/01/2023 12:52, Jon Turney via Cygwin-apps wrote: >> >> This has come up in discussion a few times, and is now well overdue, I >> think. >> >> Python 2.7 is the last python2 version, which was sunsetted on January >> 1, 2020. >> > [...] >> >> 3) There might also still be some other packages lurking which just >> install a script with a shebang containing 'python', and assume that >> python is python2.  I don't know how we could identify those. > > The remaining cases of packages which have a dependency on python and/or > python2 are either this (packages which contain a python script with a > python shebang line), or the other case which I hadn't previously > considered - a package which contain an executable or shared library > linked with libpython2.7.dll. > > So, again I need inspect these to determine what should happen to them. So here's the list, with *tentative* notes of the disposition for each package. As before, I might look at rebuilding some of the more important packages, as time permits, and some of these are candidates for removal if not updated, but obviously adoptions and input on what is no longer useful is welcomed! I've also adjusted numerous old package versions which depend on 'python' to depend on 'python2' when that's what they actually require, so they will become not-installable when python2 is removed, and can subsequently be expired. (often these are historical package requirements which were synthesized from the current package requirements from before we had per-version requirements) Contrariwise, a few packages (e.g. clang, ibus, libglib2.0-devel, llvm, lv2-devel, mysql-server, pulseaudio-equalizer) which depend on python2, but contain a script which appears to work with python3 have been adjusted to depend on 'python' > source package package maintainer notes disposition > > GConf2 GConf2 ORPHANED (Yaakov Selkowitz) [†][§][1] ? > XtoW XtoW Jon Turney [†][§] remove (experiment has run it's course) > anjuta anjuta ORPHANED (Yaakov Selkowitz) [*] update and rebuild > avogadro libavogadro1 ORPHANED (Yaakov Selkowitz) [*] update and rebuild (not to avogadro2?) > boost boost-build ORPHANED (Yaakov Selkowitz) [†] unclear? depends on python2 and python3? > boost libboost_mpi_python* " [*] libboost_mpi_python3* exists, so just remove? > boost libboost_numpy* " [*] libboost_numpy3* exists, so just remove? > boost libboost_python* " [*] libboost_python3_* exists, so just remove? > caja-python caja-python ORPHANED (Yaakov Selkowitz) [*] update and rebuild > cantor cantor-backend-python2 ORPHANED (Yaakov Selkowitz) [*] cantor-backend-python3 exists, so just remove? > cfv cfv Jari Aalto [†][§] update and rebuild > extra-cmake-modules extra-cmake-modules ORPHANED (Yaakov Selkowitz) [†] probably ok, but should probably update & rebuild > fluxbox fluxbox ORPHANED (Yaakov Selkowitz) [†][§][2] rebuild > fvwm fvwm ORPHANED (Yaakov Selkowitz) [†] rebuild > geany-plugins geany-plugins-geanypy ORPHANED (Yaakov Selkowitz) [*][3] leave as is, becomes not-installable > gimp gimp-python ORPHANED (Yaakov Selkowitz) [*] update and rebuild > gnome-commander gnome-commander ORPHANED (Yaakov Selkowitz) [*] update and rebuild > gnubg gnubg ORPHANED (Dr. Volker Zell) [*] update and rebuild > gnumeric gnumeric-python ORPHANED (Yaakov Selkowitz) [*] update and rebuild > gonvert gonvert ORPHANED (Yaakov Selkowitz) [†][§][4] remove > gtk2.0 libgtk2.0-devel ORPHANED (Yaakov Selkowitz) [†][§][9] update and rebuild > gtksourceview2.0 libgtksourceview2.0_0 ORPHANED (Yaakov Selkowitz) [†][§][6] leave as is, becomes not-installable > gtranslator gtranslator ORPHANED (Yaakov Selkowitz) [†] ? > inkscape inkscape ORPHANED (Yaakov Selkowitz) [†][§][5] update and rebuild > kde-dev-scripts kde-dev-scripts ORPHANED (Yaakov Selkowitz) [†] ? > kf5-kross-interpreters kf5-kross-python ORPHANED (Yaakov Selkowitz) [*] ? > kig kig ORPHANED (Yaakov Selkowitz) [†][§] update and rebuild > kross-interpreters kross-python ORPHANED (Yaakov Selkowitz) [*] ? KDE4-era > libdbusmenu libdbusmenu-tools ORPHANED (Yaakov Selkowitz) [†][§] leave as is, becomes not-installable ? > libgda5.0 libgda5.0_4 ORPHANED (Yaakov Selkowitz) [†][§] update and rebuild (5.2.10) > libglade2.0 libglade2.0-devel ORPHANED (Yaakov Selkowitz) [†][§] leave as is, becomes not-installable (upstream unchanged) > libkkc libkkc-common ORPHANED (Yaakov Selkowitz) [†][§][7] update and rebuild > libpeas libpeas1.0_0 ORPHANED (Yaakov Selkowitz) [*][8] update and rebuild > lokalize lokalize ORPHANED (Yaakov Selkowitz) [†][§] leave as is, becomes not-installable > mingw64-i686-gconf2 mingw64-i686-gconf2 ORPHANED (Yaakov Selkowitz) [†][§][1] remove? but has dependencies? > mingw64-i686-gtk2.0 mingw64-i686-gtk2.0 ORPHANED (Yaakov Selkowitz) [†][§][9] ? > mingw64-x86_64-gconf2 mingw64-x86_64-gconf2 ORPHANED (Yaakov Selkowitz) [†][§][1] " > mingw64-x86_64-gtk2.0 mingw64-x86_64-gtk2.0 ORPHANED (Yaakov Selkowitz) [†][§][9] ? > monotone monotone ORPHANED (Yaakov Selkowitz) [†][§] rebuild? fedora has python3 patches > mypaint mypaint ORPHANED (Yaakov Selkowitz) [*] update and rebuild > mypaint mypaint-ora-thumbnailer " [†] > octave-miscellaneous octave-miscellaneous Marco Atzeri [†] ? > openbox openbox ORPHANED (Yaakov Selkowitz) [†][§] rebuild? fedora has python3 patches > parley parley ORPHANED (Yaakov Selkowitz) [†] leave as is, becomes not-installable? > pidgin libgnt0 ORPHANED (Yaakov Selkowitz) [*] update and rebuild?? > pidgin pidgin " [†] ? > pluma pluma ORPHANED (Yaakov Selkowitz) [†][§] update and rebuild?? python plugin scripts > scribus scribus ORPHANED (Yaakov Selkowitz) [*] leave as is, becomes not-installable? > svn-load svn-load Jari Aalto [†][§] ? > telepathy-gabble telepathy-gabble ORPHANED (Yaakov Selkowitz) [†][§] leave as is, becomes not-installable? > tellico tellico ORPHANED (Yaakov Selkowitz) [†][§] leave as is, becomes not-installable? > tracker-miners tracker-miners ORPHANED (Yaakov Selkowitz) [†][§][10] leave as is, becomes not-installable? > vim vim-python Marco Atzeri empty and obsolete, remove > virt-manager virt-manager ORPHANED (Yaakov Selkowitz) [†] leave as is, becomes not-installable? > webcheck webcheck Jari Aalto [†][§] > xf86-video-qxl xf86-video-qxl ORPHANED (Yaakov Selkowitz) [†][§] update and rebuild > xplayer xplayer ORPHANED (Yaakov Selkowitz) [†][§] update and rebuild ? unclear if supports python3? peas for plugins > > [*] linked against libpython2.7.dll > [†] contains some python scripts > [§] script is python2 only, not compatible with python3 > > [1] gsettings-schema-convert script is python2 only; gconf is obsolete to dconfg/gsettings, so should be removed when it's users are removed or updated > rebuild with explicit python2 shebang in gsettings-schema-convert? use python3 patch in upstream PR? > [2] drop unmaintained fluxbox-xdg-menu.py script; if needed package xdgmenumaker instead > [3] geanypy is python2 only, removed upstream (replaced by peasy), so just make this uninstallable without python2 for the moment > [4] dead upstream, python2 only > [5] need a later version of inkscape for python extensions to work when python is python3 > [6] obsolete upstream to gtksourceview3 and later; things which depend on this need updating > [7] no release upstream, so need to use git commit with python3 fixes > [8] has python2 and python3 loaders; disable python2 when rebuilding > [9] upstream patch available to make gtk-builder-convert work with python3 > [10] this dependency seems to be because of a test script which is installed