From nobody Fri Sep 30 07:07:54 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mf1XZ4Cmwz4YCRv for ; Fri, 30 Sep 2022 07:08:14 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01olkn2072.outbound.protection.outlook.com [40.92.52.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mf1XY25Tkz44hs for ; Fri, 30 Sep 2022 07:08:13 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e7BOxtCNSTkgmFPL0WhqDhSNFppY6MndYGDDLhZbMjnjwP75hYQMO2IZaMxGdMYc9JTkQXHUDDS2jXtk86R2Deye4UnBv+fROU1KNp7cXfkW038IPUgwx8TFz9I47ZJWSNE7iQK/TMICO1g+TKRaz38L85j30tEFgZxdByxcB7ruXcDcgMCn/ZdyGJjAnId3daS9SiRdhA7mfIJ3M+Ioc6vv0mUFnBYGH28T4/Gg51702psOyGJgKVcK7QlI59oJgcRZ5MibpyWczM2LVd6a6wfRiaJZnAB+j9KYjSMBioi/fZWHImCJP17uMKjHQRE6IlUgqvvlh0ET3Q+CHuGABQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LCTkSHbcI4Yp+cgDPGjw/M9322YE9SPg2E817/fXGyE=; b=m5eUV5UhHO+uXogwJXjSVTnxMaQUvIfY7bxS7HvVBcIuUdxqiJaIAZy4zORFl6TD4NcwPPuzPh4Eim2CDITUsVnnKE7znCLhYYphq0B7n+S2cGeR2Eqx0NLiSorJVsC2bssLcIeiUa/b/lJefug88sm+4BgYmrGTpjL/jeEPDHv1dJtkz5g9ouaMrHPnW6g5qyCPCr9XWo+SBMiyMykvre7z2+7Q20NYeDbc9reqMlLx14qF0ZMnyiCIh/S1FcpyYkT3iCxzUCHurhLJ26o+ybi+c1tEJxShycn4jJBAZYSbSHHaVGpKSHYKeaS9OV79CeWOef9mZuebgHPg9nRJWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LCTkSHbcI4Yp+cgDPGjw/M9322YE9SPg2E817/fXGyE=; b=qS5L4q5DCuTJ7ODmjIWtyKuxLy4pVrSY4TphoWa4G0rdiaqZc81oj1NcdZFnqf/ySNHzU2CJKW9p9LeDsWIELus08RnoBr/h+FrV+7pzXVKaOHhy2tLbn8Eqoh7Y/EBFI/EDlZfaHSDMtsal4/HHxXCSRKFbgTsBtj5U1mWLvdL5mXne0cfHybMMGkNCzNwYDlqe+20m2mSz2PUfz8P2sVZUWlNY0pErXkPD9ahjBlfb9kRTPw72pAOs81Y+drCtwT2lgdDZ9VEQyFBjdJy0n9A9F/sIzYmDaf6q2v1CryXHjdOHoAjWrOekwzIcyXuGoj5dAcoqoW/YCAl5Mzg0SQ== Received: from PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) by SG2PR03MB3449.apcprd03.prod.outlook.com (2603:1096:4:19::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.13; Fri, 30 Sep 2022 07:08:09 +0000 Received: from PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::22bb:c12b:79b3:7486]) by PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::22bb:c12b:79b3:7486%9]) with mapi id 15.20.5676.023; Fri, 30 Sep 2022 07:08:08 +0000 Subject: Re: Python version dependencies in pkg To: Shane Ambler , ports@freebsd.org References: <8B490359-27A3-410C-AE98-C1362D4FA9F0@gushi.org> <89D2B2D7-FA3D-46F5-A93B-4846950A157C@gushi.org> <65597c37-813b-d0ed-ea9f-8591b68cf097@gwdg.de> <20220929083939.Horde.Viq2uLBgUctcrsgmaJxN_1u@webmail.leidinger.net> <1fdde4e6-fa80-720f-7c85-8417d2a3b642@ShaneWare.Biz> From: Tatsuki Makino Message-ID: Date: Fri, 30 Sep 2022 16:07:54 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: <1fdde4e6-fa80-720f-7c85-8417d2a3b642@ShaneWare.Biz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [A7it9le3SBOzetciEM+XqiJnl12VV8Oq] X-ClientProxiedBy: TYCPR01CA0089.jpnprd01.prod.outlook.com (2603:1096:405:3::29) To PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) X-Microsoft-Original-Message-ID: <3d30a356-3104-d608-a7aa-18e3bd37410b@hotmail.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PSAPR03MB5639:EE_|SG2PR03MB3449:EE_ X-MS-Office365-Filtering-Correlation-Id: febc37c4-7704-4c83-a609-08daa2b28515 X-MS-Exch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UblN4OXZwUDhSTEd3U3VQSndZQ0FwWnhVZXc1?= =?utf-8?B?ZThXS2drYktxTkxocDdOZE4yaHoxRjByclFBMHZpK3RvTHhVb3M5ZENYWlBv?= =?utf-8?B?Nm8rbTJsMkc0ZnFpMXBGL1Nnc3h4S1VUY0hOa09FbGlwZno1RkRhdXVsSXVp?= =?utf-8?B?bE1QWUhiMHl0UThvOEgzbVo0blg3blNxc3B5MU84dDJnTy95Wm9IVXNJdTlM?= =?utf-8?B?WS9RSUZuQ3ZZMHpjTGZieXRiV1UxWWZPR0RYRGxTZDZSWXVNNFJPYUkrbGlr?= =?utf-8?B?U0s4YVZGVzdDYTY0WVgrQUZ4ZnRIb0dTekQ5Y2hnQlRIOUJrZlhuckRWMk1q?= =?utf-8?Q?K3NoLs2EiJSTZDZXXU=3D?= X-OriginatorOrg: sct-15-20-4734-24-msonline-outlook-c0b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: febc37c4-7704-4c83-a609-08daa2b28515 X-MS-Exchange-CrossTenant-AuthSource: PSAPR03MB5639.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 07:08:08.3380 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR03MB3449 X-Rspamd-Queue-Id: 4Mf1XY25Tkz44hs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=qS5L4q5D; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 40.92.52.72 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.52.72:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[hotmail.com]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Shane Ambler wrote on 2022/09/30 13:54: > On 30/9/22 7:05 am, Tatsuki Makino wrote: >> Currently, two versions of Python are allowed to be installed on FreeBSD. >> One is Python 2.7 but EOL. > > You can install as many python major versions as you want or need, that > means you can also install many of the py modules for each version. Note > that some have conflicts and some only need concurrent option added to > them to prevent conflicts. > > Being the maintainer of some py modules, I have them all installed so > I can verify that all py versions build and install without conflict. Yes, we need to consider with regard to conflicts. But it is difficult to cause conflicts unless we go the extra way. Because... USES=python means USES=python:3.7+. It is so by default value of _PYTHON_ARGS. If we want to use 2.7, we need to deliberately make them use it. And there is only one FLAVOR for Python, the default version. This can be checked with a command like the following make -C /usr/ports/multimedia/libopenshot/ -V USE_PYTHON:Mallflavors -V FLAVORS This means that it is not possible to propagate FLAVOR other than the default version. No packages other than the default version will be created. It is USE_PYTHON=allflavors that allows the use of FLAVOR other than the default version. Such a port will produce multiple FLAVORs with the following command. make -C /usr/ports/math/py-numpy/ -V USES:Mpython\* -V USE_PYTHON:Mallflavors -V FLAVORS The results will vary depending on the version range. make -C /usr/ports/math/py-numpy/ -V USES:Mpython\* -V USE_PYTHON:Mallflavors -V FLAVORS USES=python:2.7-3.8 ... Conflicts can only happen intentionally. And, I wrote the earlier email because I think "this is a great mechanism" :) Regards.