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.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 4C92E1580FD for ; Sun, 22 Dec 2024 00:34:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E066E08BB; Sun, 22 Dec 2024 00:34:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD379E08BB for ; Sun, 22 Dec 2024 00:34:24 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 001CC335D6A for ; Sun, 22 Dec 2024 00:34:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52D7C1AB5 for ; Sun, 22 Dec 2024 00:34:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1734827610.bd9fbe99c67b8b0399a8af212b36308d44b36d54.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/, dev-python/mypy/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mypy/files/mypy-1.14.0-no-werror.patch dev-python/mypy/mypy-1.14.0.ebuild X-VCS-Directories: dev-python/mypy/ dev-python/mypy/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bd9fbe99c67b8b0399a8af212b36308d44b36d54 X-VCS-Branch: master Date: Sun, 22 Dec 2024 00:34:22 +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: 433e9dd7-b692-4b81-b84c-8995f4135229 X-Archives-Hash: 0694f9d6380ce50d6e8d4a9d3536d4a3 commit: bd9fbe99c67b8b0399a8af212b36308d44b36d54 Author: Sam James gentoo org> AuthorDate: Sun Dec 22 00:33:30 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 22 00:33:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9fbe99 dev-python/mypy: don't pass -Werror Closes: https://bugs.gentoo.org/916577 Closes: https://bugs.gentoo.org/944118 Signed-off-by: Sam James gentoo.org> dev-python/mypy/files/mypy-1.14.0-no-werror.patch | 11 +++++++++++ dev-python/mypy/mypy-1.14.0.ebuild | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/dev-python/mypy/files/mypy-1.14.0-no-werror.patch b/dev-python/mypy/files/mypy-1.14.0-no-werror.patch new file mode 100644 index 000000000000..038c1964020e --- /dev/null +++ b/dev-python/mypy/files/mypy-1.14.0-no-werror.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/916577 +--- a/mypyc/build.py ++++ b/mypyc/build.py +@@ -551,7 +551,6 @@ def mypycify( + cflags += [ + f"-O{opt_level}", + f"-g{debug_level}", +- "-Werror", + "-Wno-unused-function", + "-Wno-unused-label", + "-Wno-unreachable-code", diff --git a/dev-python/mypy/mypy-1.14.0.ebuild b/dev-python/mypy/mypy-1.14.0.ebuild index da0b9a425592..e86f197574bc 100644 --- a/dev-python/mypy/mypy-1.14.0.ebuild +++ b/dev-python/mypy/mypy-1.14.0.ebuild @@ -56,6 +56,10 @@ distutils_enable_tests pytest # test files (https://github.com/mypyc/mypyc/issues/1014) export CCACHE_DISABLE=1 +PATCHES=( + "${FILESDIR}"/${PN}-1.14.0-no-werror.patch +) + src_prepare() { distutils-r1_src_prepare