From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-042.btinternet.com (mailomta8-re.btinternet.com [213.120.69.101]) by sourceware.org (Postfix) with ESMTPS id 595B63858D37 for ; Sun, 15 Jan 2023 12:52:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 595B63858D37 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 re-prd-rgout-004.btmx-prd.synchronoss.net ([10.2.54.7]) by re-prd-fep-042.btinternet.com with ESMTP id <20230115125244.RAQW30996.re-prd-fep-042.btinternet.com@re-prd-rgout-004.btmx-prd.synchronoss.net>; Sun, 15 Jan 2023 12:52:44 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 613A901C4B08D0C0 X-Originating-IP: [81.153.98.246] X-OWM-Source-IP: 81.153.98.246 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedruddtvddggeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfhffuvfgtgfesthejredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnheptedvleduffekgfefveelteejhfetvdefhfefieekfeeghfefkefftdevhfetffdvnecukfhppeekuddrudehfedrleekrddvgeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdeingdpihhnvghtpeekuddrudehfedrleekrddvgeeipdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihinhdqrghpphhssegthihgfihinhdrtghomhdprhgtphhtthhopehmrghrtghordgrthiivghrihesghhmrghilhdrtghomh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (81.153.98.246) by re-prd-rgout-004.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 613A901C4B08D0C0; Sun, 15 Jan 2023 12:52:44 +0000 Message-ID: <07106598-5bc3-055f-5875-abe5aa7baffc@dronecode.org.uk> Date: Sun, 15 Jan 2023 12:52:43 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 From: Jon Turney Subject: python2 removal Content-Language: en-GB To: "cygwin-apps@cygwin.com" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1192.0 required=5.0 tests=BAYES_00,FORGED_SPF_HELO,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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. 1) I will be making the following hopefully uncontroversial changes to cygport in it's next release: * Make 'inherit python2{,-disutils,-wheel}' an error * Make 'inherit python-wheel' with PYTHON_WHEEL_VERSIONS containing "2" or "2.*" an error. 2) Looking for packages whose names don't start with 'python', but where the current version installs something into /usr/lib/python2.7/site-packages/ and/or into /usr/bin/ with a shebang containing 'python2', the following packages appear to need rebuilding for python3: package source package maintainer alacarte ORPHANED (Yaakov Selkowitz) avahi-ui-tools avahi ORPHANED (Yaakov Selkowitz) buildbot-slave Jon Turney [1] bzr-fastimport python-fastimport Ken Brown bzr Jari Aalto caribou ORPHANED (Yaakov Selkowitz) cfget Jari Aalto chm2pdf ORPHANED (Yaakov Selkowitz) codeville Jari Aalto cvs2svn ORPHANED (Yaakov Selkowitz) d-feet ORPHANED (Yaakov Selkowitz) getmail Jari Aalto gnome-activity-journal ORPHANED (Yaakov Selkowitz) guake ORPHANED (Yaakov Selkowitz) kf5-kapidox ORPHANED (Yaakov Selkowitz) mozo ORPHANED (Yaakov Selkowitz) net-snmp-python net-snmp David Rothenberger [2] offlineimap Jari Aalto picard ORPHANED (Dr. Volker Zell) planet ORPHANED (Yaakov Selkowitz) rpm-python rpm Pavel Fedin spambayes ORPHANED (Jari Aalto) tailor Jari Aalto terminator Mike DePaulo urlgrabber Jari Aalto xml2po gnome-doc-utils ORPHANED (Yaakov Selkowitz) xxdiff ORPHANED (Yaakov Selkowitz) [1] effectively obsoleted by buildbot-worker, so should just be removed. [2] also needs rebuilding for perl 5.32 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. 4) With that done, one would hope we could just expire all packages as with names matching: python27 python27-* (127 of) python2-* python-* But there may be some cases not caught in step 2), where - the package is not a python module (i.e. source package is not python-*) - the package shouldn't be removed because it's a dependency of something So those will need to be identified and inspected to determine what should happen to them. 5) Other post-cleanup tasks e.g. python-beautifulsoup can become a virtual package for python-bs4, once that name isn't being used by the python2-only beautifulsoup 3.x.