From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9181C1582EF for ; Wed, 19 Feb 2025 16:09:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7A9B13431F4 for ; Wed, 19 Feb 2025 16:09:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C0934110475; Wed, 19 Feb 2025 16:09:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id AEDB7110475 for ; Wed, 19 Feb 2025 16:09:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 67830343118 for ; Wed, 19 Feb 2025 16:09:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC197273E for ; Wed, 19 Feb 2025 16:09:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1739981357.654191777a02ac9f9df0de603d69c3050e8d2e61.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/black/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/black/black-25.1.0.ebuild X-VCS-Directories: dev-python/black/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 654191777a02ac9f9df0de603d69c3050e8d2e61 X-VCS-Branch: master Date: Wed, 19 Feb 2025 16:09:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d8500cea-9309-4ad0-8b1d-3c43b1ea6547 X-Archives-Hash: 0d9dfaf5c362a0fb6afa9abcfd367ea9 commit: 654191777a02ac9f9df0de603d69c3050e8d2e61 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 16 16:14:50 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 19 16:09:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65419177 dev-python/black: Enable pypy3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/black/black-25.1.0.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dev-python/black/black-25.1.0.ebuild b/dev-python/black/black-25.1.0.ebuild index e6e7d264c730..1ce936c6f8c2 100644 --- a/dev-python/black/black-25.1.0.ebuild +++ b/dev-python/black/black-25.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) inherit distutils-r1 optfeature pypi @@ -45,6 +45,18 @@ BDEPEND=" distutils_enable_tests pytest python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/psf/black/issues/4582 + 'tests/test_format.py::test_simple_format[backslash_before_indent]' + 'tests/test_format.py::test_simple_format[form_feeds]' + ) + ;; + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # pytest-forked to workaround fd leakage in blackd # https://github.com/psf/black/issues/4504