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 1857F158099 for ; Fri, 24 Nov 2023 20:06:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06CC72BC058; Fri, 24 Nov 2023 20:06:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E30242BC058 for ; Fri, 24 Nov 2023 20:06:22 +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 2335C340441 for ; Fri, 24 Nov 2023 20:06:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38D8913D5 for ; Fri, 24 Nov 2023 20:06:20 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1700856351.89e49c9e04d878f627e9f88eebac5124d649db3c.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: lib/portage/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/__init__.py X-VCS-Directories: lib/portage/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 89e49c9e04d878f627e9f88eebac5124d649db3c X-VCS-Branch: prefix Date: Fri, 24 Nov 2023 20:06:20 +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: 7e356672-3811-408b-99dd-033c26f8a40b X-Archives-Hash: a15d1247b856acb8cf1ca680b3a5f9d2 commit: 89e49c9e04d878f627e9f88eebac5124d649db3c Author: Fabian Groffen gentoo org> AuthorDate: Fri Nov 24 19:28:01 2023 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Nov 24 20:05:51 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=89e49c9e lib/portage: drop multiprocessing fork force After Zac's efforts we should be able to use spawn now. Signed-off-by: Fabian Groffen gentoo.org> lib/portage/__init__.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/portage/__init__.py b/lib/portage/__init__.py index 4cd465f9e5..2886bd29cc 100644 --- a/lib/portage/__init__.py +++ b/lib/portage/__init__.py @@ -53,16 +53,6 @@ except ImportError as e: sys.stderr.write(f" {e}\n\n") raise -# BEGIN PREFIX LOCAL -# for bug #758230, on macOS the default was switched from fork to spawn, -# the latter causing issues because all kinds of things can't be -# pickled, so force fork mode for now -try: - multiprocessing.set_start_method('fork') -except RuntimeError: - pass -# END PREFIX LOCAL - try: import portage.proxy.lazyimport import portage.proxy as proxy