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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE4DF1581C1 for ; Mon, 15 Jul 2024 08:01:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B9DC2BC03E; Mon, 15 Jul 2024 08:01:52 +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 11E85E2AC9 for ; Mon, 15 Jul 2024 08:01:52 +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 3C35B340943 for ; Mon, 15 Jul 2024 08:01:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 964E91E23 for ; Mon, 15 Jul 2024 08:01:49 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1721030491.55194e9841234d00a03c2b9d6717c2b8d615dc12.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/psycopg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/psycopg/psycopg-3.1.19.ebuild dev-python/psycopg/psycopg-3.2.0.ebuild dev-python/psycopg/psycopg-3.2.1.ebuild X-VCS-Directories: dev-python/psycopg/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 55194e9841234d00a03c2b9d6717c2b8d615dc12 X-VCS-Branch: master Date: Mon, 15 Jul 2024 08:01:49 +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: 9bd5440d-93e4-4973-8ba1-77539916cf51 X-Archives-Hash: ea52520d538575f6b3e0cd65c6e21a0c commit: 55194e9841234d00a03c2b9d6717c2b8d615dc12 Author: Eli Schwartz gentoo org> AuthorDate: Mon Jul 15 07:52:38 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Mon Jul 15 08:01:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55194e98 dev-python/psycopg: mark as strict-aliasing unsafe Closes: https://bugs.gentoo.org/935401 Signed-off-by: Eli Schwartz gentoo.org> dev-python/psycopg/psycopg-3.1.19.ebuild | 10 +++++++++- dev-python/psycopg/psycopg-3.2.0.ebuild | 10 +++++++++- dev-python/psycopg/psycopg-3.2.1.ebuild | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/dev-python/psycopg/psycopg-3.1.19.ebuild b/dev-python/psycopg/psycopg-3.1.19.ebuild index d1c0ba870de9..15b4a76bbc7e 100644 --- a/dev-python/psycopg/psycopg-3.1.19.ebuild +++ b/dev-python/psycopg/psycopg-3.1.19.ebuild @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( pypy3 python3_{10..13} ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic DESCRIPTION="PostgreSQL database adapter for Python" HOMEPAGE=" @@ -52,6 +52,14 @@ BDEPEND=" distutils_enable_tests pytest python_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/935401 + # https://github.com/psycopg/psycopg/issues/867 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + # Python code + ctypes backend cd psycopg || die distutils-r1_python_compile diff --git a/dev-python/psycopg/psycopg-3.2.0.ebuild b/dev-python/psycopg/psycopg-3.2.0.ebuild index 1bcf3b3ac2e0..d62b5590fa54 100644 --- a/dev-python/psycopg/psycopg-3.2.0.ebuild +++ b/dev-python/psycopg/psycopg-3.2.0.ebuild @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( pypy3 python3_{10..13} ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic DESCRIPTION="PostgreSQL database adapter for Python" HOMEPAGE=" @@ -54,6 +54,14 @@ BDEPEND=" distutils_enable_tests pytest python_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/935401 + # https://github.com/psycopg/psycopg/issues/867 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + # Python code + ctypes backend cd psycopg || die distutils-r1_python_compile diff --git a/dev-python/psycopg/psycopg-3.2.1.ebuild b/dev-python/psycopg/psycopg-3.2.1.ebuild index 1bcf3b3ac2e0..d62b5590fa54 100644 --- a/dev-python/psycopg/psycopg-3.2.1.ebuild +++ b/dev-python/psycopg/psycopg-3.2.1.ebuild @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( pypy3 python3_{10..13} ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic DESCRIPTION="PostgreSQL database adapter for Python" HOMEPAGE=" @@ -54,6 +54,14 @@ BDEPEND=" distutils_enable_tests pytest python_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/935401 + # https://github.com/psycopg/psycopg/issues/867 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + # Python code + ctypes backend cd psycopg || die distutils-r1_python_compile