From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 540FC1382C5 for ; Sat, 30 May 2020 16:39:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E0ABE0874; Sat, 30 May 2020 16:39:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00013E0867 for ; Sat, 30 May 2020 16:39:14 +0000 (UTC) Message-ID: <2110658761f705b2d479ebf7a17a88bacb67cc13.camel@gentoo.org> Subject: [gentoo-dev] Update on Python 3.8 and 3.9 support From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev Cc: python Date: Sat, 30 May 2020 18:39:08 +0200 Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-XORHSKXMWie4jjqdDyFV" User-Agent: Evolution 3.36.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 3831246e-2396-470b-8b96-34ade35f3804 X-Archives-Hash: 71824a40bef641bdc47671c7406bc90a --=-XORHSKXMWie4jjqdDyFV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, TL;DR: py3.8 unmasked where possible, py3.9 is ready for package testing, arch teams need to finally finish pending keywordreqs. Upstream has recently released Python 3.9.0b1. This means that there are no further major changes planned and it is now time to start testing packages for real. For this reason, I have added python3_9 target and bootstrapped the base package subset that should make it now possible to start testing other packages without hitting huge dependency cycles. Please remember to run tests on Python 3.9 when testing packages. =46rom my experience, the majority of issues are ImportErrors or AttributeErrors due to removed stuff (previously deprecated since 3.1 to 3.4). My recommendation is to look into py3.8 reference [1] and find the deprecated function there, with recommendation how to replace it. The 'What\'s new' [2] may also be helpful, or full changelog [3]. I would like to remind you that all non-amd64 architectures have had Python 3.8 target masked due to unresolved ages-old keywordreqs. This resulted in 3.9 being masked as well. I've attempted to deal with this, and I've been able to keyword and unmask py3.8+3.9 on ppc, ppc64, sparc and x86. Sam is working on arm/arm64, and Rolf is working on hppa (where the situation is horrible AFAICS). This leaves nobody on alpha and ia64. Therefore, I would like to ask alpha and ia64 arch teams to finally start processing Python keywording requests. Given that our package manager and large part of tooling is in Python, it is kinda important to have working Python in Gentoo. If we can't manage this, we probably should remove these arches altogether. That said, if somebody can give me access to alpha, ia64, hppa, arm, arm64 hardware (highest priority listed first), I can help. I can also give you a list of urgent bugs if you wish. The highest priority is to get depgraph clean after unmasking targets, the final goal is to restore all lost keywords on Python packages. Please note that some arches might be missing proper bugs due to the whole mess resulting from delays (e.g. because arch team keyworded old version and nobody noticed that keywords were effectively lost again). To check what needs to be keyworded to unmask targets, remove the mask from your arch profile and run: pkgcheck scan -c VisibilityCheck -a To check all lost keywords: pkgcheck scan -c DroppedKeywordsCheck -a One-liner to get ekeyword invocations: pkgcheck scan -c DroppedKeywordsCheck -a -R FormatReporter \ --format \ 'ekeyword {category}/{package}/{package}-{version}.ebuild ~' Thank you! [1] https://docs.python.org/3.8/library/index.html [2] https://docs.python.org/3.9/whatsnew/3.9.html [3] https://docs.python.org/3.9/whatsnew/changelog.html --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-XORHSKXMWie4jjqdDyFV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl7SjCxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA5aNggAxKFxHdzx+7b7vN5i7PRsU/RofFuW91H84jg/OFO7u+SS5zuIcKeNByn9 ukzyErzH+8dwkYj9zp+hCPPIR4GgFoPZsJ96PvcSJbfOpRM8ajtwtgmv7K9suwQs HFFXXW+277U3o/SaAs8iNpOg9gDoVxdtbXUPYN3VfjoN9mqsJXAMCYfx12ElHerb m5WjweDtiQK6uYpbR+F4ZRV99RiGGlVe+UgbWiXz9BGJNb1Xu10xVVYsJKuuYqxV 6nRXiHGV2otmlh9+jjGzp0v1SJ0qjSG1pZdC7QKlw2tptsAwFQ2b7U43Grj0kOfc 0uIvp6oE8RAYFK+s39zG+MGby+Wmug== =9xqj -----END PGP SIGNATURE----- --=-XORHSKXMWie4jjqdDyFV--