From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: Python 2 end-of-life? Date: Tue, 26 Nov 2019 17:51:52 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40438) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZe4H-000343-Fq for guix-devel@gnu.org; Tue, 26 Nov 2019 11:52:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZe4F-0001AC-FK for guix-devel@gnu.org; Tue, 26 Nov 2019 11:52:01 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:57049) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iZe4D-00019J-GY for guix-devel@gnu.org; Tue, 26 Nov 2019 11:51:58 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: zimoun , Guix Devel Konrad Hinsen writes: > I'd say the very first thing we should do is look at all non-Python > packages that depend indirectly on Python 2. Here is an attempt at identifying them: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (use-modules (guix packages) (gnu packages) (srfi srfi-1) (ice-9 format)) (define (in-python2-ecosystem? package) (string-prefix? "python2-" (package-name package))) (define python2-dependent-packages (fold-packages (lambda (package result) (cond ((in-python2-ecosystem? package) result) ((any in-python2-ecosystem? (filter package? (map second (package-direct-inputs package)))) (cons package result)) (else result))) '())) (for-each (lambda (package) (format #t "~a~%" (package-full-name package))) python2-dependent-packages) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; I find 313 packages (see list below). A few of them are still Python stuff (has "python" in the name but not "python2"), but most of them look like packages that are not themselves Python libraries. Some of these packages are real heavyweights (llvm, texlive, qtwebkit, ...), so I'd say each package deserves a bug report of its own if we agree that a dependency on Python 2 should be considered a bug for a non-Python package. Cheers, Konrad. xcb-util-errors@1.0-1.5d660eb xpra@2.5.3 arandr@0.1.9 keybinder@0.3.1 polybar@3.4.0 wicd@1.7.4 woof@2012-05-31 linkchecker@9.4.0 wabt@1.0.12 xen@4.11.1 criu@3.11 bubblewrap@0.3.3 ffmpeg@4.2.1 youtube-dl-gui@0.3.8 handbrake@1.2.2 ffmpeg@3.4.6 git@2.24.0 git-annex-remote-hubic@0.3.1 cvs-fast-export@1.45 miniupnpc@2.1.20190824 miniupnpc-monero@2.1-monero-0.12.3.0-0.6a63f99 tryton@4.6.2 tor@0.4.1.6 lyx@2.3.2-2 texlive-bin@20180414 rubber@1.1 ceph@13.2.6 pspp@1.2.0 sdcc@3.7.0 scribus@1.5.5 zn-poly@0.9.1 rust@1.28.0 rust@1.26.2 rust@1.21.0 rust@1.20.0 rust@1.29.2 rust@1.31.1 rust@1.30.1 rust@1.32.0 rust@1.35.0 rust@1.27.2 rust@1.23.0 rust@1.36.0 rust@1.24.1 rust@1.25.0 rust@1.34.1 rust@1.37.0 rust@1.33.0 rust@1.22.1 rrdtool@1.7.1 qtwebkit@5.212.0-alpha3 qtmultimedia@5.11.3 qt@4.8.7 qtbase@5.11.3 qtdeclarative@5.11.3 ptpython2@0.34 python-rope@0.11.0 bpython2@0.18 python-cookies@2.2.1 pulseaudio-dlna@0.5.2-1.4472928 pdfposter@0.6.0 impressive@0.12.0 stapler@0.3.2 patches@0.0-1.ef1b8a7 openbox@3.6.1 ocaml-dose3@5.0.1 gourmet@0.17.4 node@10.16.0 openvswitch@2.12.0 gtklick@0.6.4 solfege@3.22.2 mod-host@0.10.6-3.1726ad06b beast@0.10.0 lilypond@2.19.80 mono@4.4.1.0 pidgin@2.13.0 hexchat@2.14.2 bitlbee@3.5.1 pybitmessage@0.6.3.2 petsc-complex-openmpi@3.11.2 flann@1.8.4 slepc-complex-openmpi@3.11.1 slepc-openmpi@3.11.1 petsc-openmpi@3.11.2 slepc@3.11.1 sundials@3.1.1 sundials-openmpi@3.1.1 mlucas@18 petsc-complex@3.11.2 slepc-complex@3.11.1 lapack@3.7.1 petsc@3.11.2 atril@1.22.0 mate-applets@1.22.0 pluma@1.22.0 mate-menus@1.22.0 hoedown@3.0.7 alot@0.5.1 offlineimap@7.2.4 claws-mail@3.17.4 opensmtpd-extras@5.7.1 postorius@1.0.3 ghmm@0.9-rc3-0.2341 kaldi-gstreamer-server@0-1.1735ba4 lci@0.11.2 clang-runtime@8.0.0 clang@3.9.1 clang@6.0.1 emacs-clang-format@8.0.0 clang-runtime@3.9.1 clang@8.0.0 clang-runtime@3.7.1 clang-runtime@3.8.1 clang@7.0.1 llvm@8.0.0 clang-runtime@3.6.2 clang@3.7.1 llvm@6.0.1 emacs-clang-rename@8.0.0 llvm@7.0.1 llvm@3.6.2 clang-runtime@3.5.2 clang-runtime@7.0.1 clang@3.8.1 clang-runtime@6.0.1 clang@3.6.2 llvm@3.8.1 llvm@3.9.1 clang@3.5.2 llvm-for-extempore@3.7.1 llvm@3.7.1 llvm@3.5.2 crda@3.18 libnl@3.5.0 perf@5.3.8 iotop@0.6 tegaki-wagomu-simplified-chinese@0.3 tegaki-wagomu-japanese-kyoiku@0.3 tegaki-wagomu-japanese@0.3 tegaki-zinnia-japanese-light@0.3 tegaki-zinnia-simplified-chinese@0.3 tegaki-wagomu-traditional-chinese@0.3 tegaki-zinnia-traditional-chinese@0.3 tegaki-zinnia-traditional-chinese-light@0.3 tegaki-wagomu-japanese-joyo@0.3 tegaki-zinnia-japanese@0.3 tegaki-zinnia-japanese-joyo@0.3 tegaki-zinnia-japanese-kyoiku@0.3 tegaki-zinnia-simplified-chinese-light@0.3 kodi@18.4 kodi-wayland@18.4 key-mon@1.17 kfilemetadata@5.55.0 julia@1.1.1 inkscape@0.92.4 vigra@1.11.1 mcomix@1.2.1 mia@2.4.6 ghc@8.0.2 ghc@7.10.2 chirp@20181205 graphene@1.6.0 libdbusmenu@16.04.0 dot2tex@2.9.0 openimageio@1.7.19 openimageio@1.8.17 rapicorn@16.0.0 icecat@68.2.0-guix0-preview3 mozjs@52.0-1.6507e63 conkeror@68.2.0-guix0-preview3 mozjs@24.2.0 mozjs@38.2.1.rc0 mozjs@60.2.3-2 mozjs@17.0.0 pius@2.2.7 gnurl@7.63.0 gnunet@0.10.1 totem@3.30.0 gcr@3.28.1 rhythmbox@3.4.3 gnome-doc-utils@0.20.10 terminator@1.91 bluefish@2.2.10 glade@3.22.1 evince@3.34.1 gnome-keyring@3.28.2 deja-dup@34.3 caribou@0.4.21 gnumeric@1.12.45 telepathy-glib@0.24.1 gimp@2.10.12 osm2pgsql@0.96.0 gnubackgammon@1.06.002 gnubg@1.06.002 golly@3.2 slingshot@0.9 kiki-the-nano-bot@1.0.2 freeorion@0.4.8 kiki@1.0.2 0ad@0.0.23b-alpha renpy@7.3.5 telepathy-mission-control@5.16.5 telepathy-logger@0.8.2 telepathy-idle@0.2.0 arachne-pnr@0.0-2-840bdfdeb nototools@20170925 seabios@1.12.1 ovmf-aarch64@20170116-1.13a50a6 ovmf-arm@20170116-1.13a50a6 ovmf@20170116-1.13a50a6 ledger@3.1.3 glusterfs@3.10.12 lekha@0.2.1 kicad@5.0.2 qucs@0.0.19-0.b4f27d9 volk@1.3 childsplay@3.4 gcompris-qt@0.96 calibre@3.42.0 asciidoc@8.6.10 pootle@2.8.2 lightdm@1.24.0 parted@3.3 dico@2.9 mongodb@3.4.10 rocksdb@5.18.3 4store@1.1.6 libpqxx@4.0.1 r-protviz@0.4.0 coq@8.9.1 zziplib@0.13.69 makeself-safeextract@0.0.0-1.1a95e12 cinnamon-desktop@3.4.2 ungoogled-chromium-wayland@68.2.0-guix0-preview3 ungoogled-chromium@68.2.0-guix0-preview3 avogadro@1.2.0 domainfinder@2.0.5 nmoldyn@3.0.11 googletest@1.8.1 cmdtest@0.32 dvdstyler@3.0.4 gn@0.0-1530.1ab6fa2 bam@0.5.1 u-boot-mx6cuboxi@2019.04 u-boot-novena@2019.04 vboot-utils@R63-10032.B u-boot-a20-olinuxino-micro@2019.04 u-boot-nintendo-nes-classic-edition@2019.04 u-boot-pinebook@2019.04 u-boot-rockpro64-rk3399@2019.10 u-boot-firefly-rk3399@2019.10 u-boot-am335x-evm@2019.04 u-boot-cubieboard@2019.04 u-boot-rock64-rk3328@2019.10 syslinux@6.04-pre-1.bb41e93 u-boot-bananapi-m2-ultra@2019.04 u-boot-malta@2019.04 u-boot-wandboard@2019.04 dtc@1.5.1 u-boot-cubietruck@2019.04 u-boot-am335x-boneblack@2019.04 u-boot-a20-olinuxino-lime@2019.04 u-boot-vexpress-ca9x4@2019.04 u-boot-tools@2019.04 u-boot-a20-olinuxino-lime2@2019.04 u-boot-puma-rk3399@2019.04 u-boot-pine64-plus@2019.04 boost@1.70.0 deluge@1.3.15 libtorrent-rasterbar@1.1.13 bamm@1.7.3 freebayes@1.0.2-1.3ce827d grit@2.0.5 pyicoteo@2.0.7 bedtools@2.18.0 poretools@0.6.0-1.e426b1f libbigwig@0.4.4 pbtranscript-tofu@2.2.3.8f5467f miso@0.5.4 gess@1.0 vcflib@0.0.0-1.5ac0913 clipper@1.2.1 bedtools@2.26.0 tadbit@0.2.0 codingquarry@2.0 macs@2.1.1.20160309 jellyfish@2.2.10 pepr@1.0.9 piranha@1.2.1-1.0466d364b tetoolkit@2.0.3 crossmap@0.2.9 find-circ@1.2-1.8655dca rseqc@2.6.1 taxtastic@0.8.5 proteinortho@5.16b fraggenescan@1.30 bedtools@2.27.1 imp@2.6.2 tophat@2.1.1 ribodiff@0.2.2 filtlong@0.2.0-1.d1bb46d express-beta-diversity@1.0.8 couger@1.8.2 fio@3.14 rdiff-backup@1.2.8 duplicity@0.7.19 lash@0.6.0-rc2 audacity@2.3.2 android-googletest@1.8.0 git-repo@1.12.37 singular@4.1.2p1 fabric@1.14.0 nmap@7.80