From nobody Sat Jun 4 11:40:33 2022 X-Original-To: python@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 878281B521D8; Sat, 4 Jun 2022 11:40:41 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LFd9N4YGWz4XLx; Sat, 4 Jun 2022 11:40:40 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654342840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gaWR/1i5BVfZ8fGaFA50qXUEboTUo3x/p7e+qFmoj/c=; b=kdmxk4oe7TwCdwsnsGVeBPKwHlTkvz7DRB9kDLLY8fx9HjSbDzOJ/KCWe+fnJBo7WaRx5i 4I+EccJ5VfnkUw5b+f9hsykS8yG8bo6G3qNDU5ggX83g1LqIRsQMWKflth6jFgu09ZIq+/ C5tC1/TyujDKxgGQmMmWQHA9Aum+2EiaTj/fg4c3R5SwiG/OXGM5rwrA9pJ4rUJSoiww6c Do3+1tGZDw1fFvAFkcZR7IwGWeIxZeEmQ3FOQyvto95bVxwOb0o1v6tjC3LnLgFuWbinlN 6+EdASfTun+jzKFvhOspLM9QsAyKOpcMfu112OjeA+OKgdik6eI73uODjJTCHQ== Received: from [IPV6:2003:cd:5f19:1300:d946:64e5:3e25:54bf] (p200300cd5f191300d94664e53e2554bf.dip0.t-ipconnect.de [IPv6:2003:cd:5f19:1300:d946:64e5:3e25:54bf]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 5BBC7E38B; Sat, 4 Jun 2022 11:40:38 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: <6e363656-99b1-b0a0-846e-954738a0febc@FreeBSD.org> Date: Sat, 4 Jun 2022 13:40:33 +0200 List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: unknown flavor py37 Content-Language: en-US To: koobs@FreeBSD.org Cc: freebsd-ports , python , Tatsuki Makino , Chris References: <2A99B1E9-BAEC-463D-B933-1ED5F09763E5@cs.huji.ac.il> <73DBCA36-27D4-4BF0-9D04-D859316D0C8E@cs.huji.ac.il> <350ac74130b6aa98eaed716a3b5e9679@bsdforge.com> <97e227bf-09f9-c563-6626-9354c49fca64@FreeBSD.org> From: Stefan Esser In-Reply-To: <97e227bf-09f9-c563-6626-9354c49fca64@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------J8dgen6lBgQJ5OmSgKPX28mC" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654342840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gaWR/1i5BVfZ8fGaFA50qXUEboTUo3x/p7e+qFmoj/c=; b=ukbHGdBdc/1XcM4ol2kX/fO8IACf4skCIMUr2zYL7uYTXKfb3OSQFPaKEptg9YZYynNlWR 4SaRppCrkVka2OGBGK9IhN2kLof9WxwsmftpvWOTXa9BRAXFHHzzf9njltqbu3ZFL9czRi WZovYYemeB+q2jRgS0QJNpDytae41CWI1nXBxwkew7aMpXUDuDIiaHLGY2UIvzzfgtOgm4 RXRMdqA1/e63PbcrAdxHzEU+deQL6Nc98o1lyzkUwOFYBiIbUICuUYelFYNIfLfEn/0FsY JF900wKdQsrZf4coFQbYCy7aYp7kMaHHADYIAIS2qn71Ar4trZ6MECfuO9nB/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654342840; a=rsa-sha256; cv=none; b=oeHFLbOHDHEiWYW+PTgLYgV1hnTnN0nUf9H4pjBABhds7xl5BakR8JiJEAYhoKjZz/4TO0 2OaJJTjQ9iUqcQ+6oYrpbtEQvpECGRmdz0bDv+dlNGeqVu9qoNmg7CLHQJV7fyb5/DtBHK AnANqrKWtue2yB1xVnBmG0GEio5KnSu4zcwSF0RKt8Lq20xzfzo/U0XBcTOzcdsptjs427 3XDoSgym/wzF7YIheHTCl+tDyuJixPN4XV39m27oxTyOCngIwekiPUpDaQXSajHMtiP7jQ C6kZkLI8NILqd96mSocqJVXzTCjVS9nldpKNf7wMNitfL8+9tBgnHpLsyuE0ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------J8dgen6lBgQJ5OmSgKPX28mC Content-Type: multipart/mixed; boundary="------------ixYcimHWmIq7jMuntW8fEjA0"; protected-headers="v1" From: Stefan Esser To: koobs@FreeBSD.org Cc: freebsd-ports , python , Tatsuki Makino , Chris Message-ID: <6e363656-99b1-b0a0-846e-954738a0febc@FreeBSD.org> Subject: Re: unknown flavor py37 References: <2A99B1E9-BAEC-463D-B933-1ED5F09763E5@cs.huji.ac.il> <73DBCA36-27D4-4BF0-9D04-D859316D0C8E@cs.huji.ac.il> <350ac74130b6aa98eaed716a3b5e9679@bsdforge.com> <97e227bf-09f9-c563-6626-9354c49fca64@FreeBSD.org> In-Reply-To: <97e227bf-09f9-c563-6626-9354c49fca64@FreeBSD.org> --------------ixYcimHWmIq7jMuntW8fEjA0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 04.06.22 um 01:02 schrieb Kubilay Kocak: > BUILD_ALL_PYTHON_FLAVORS was implemented in the reverse of what it shou= ld have > been (DONT_BUILD_ALL_PYTHON_FLAVORS or other). >=20 > It was implemented ostensibly as a convenience for poudriere, such that= the > default was for poudriere *not* build all possible supported Python pac= kage > flavours. This has bothered me for a long time, too. And it is a problem not only for the Python ports. IMHO there should have been FLAVORS (covering all availble flavors) and e.g. DEFAULT_FLAVORS meant to contain the subset selected for official packages. But there should not have been a limit on what flavor is available when building a port (as long as the selected port can work with that flavor).= > The net effect however, was/is: >=20 > 1) The burden implicitly shifted to everyone else needing to opt into > BUILD_ALL_PYTHON_FLAVORS, when the default ought to have been a port bu= ilds any > supported, available or installed Python version, derived as the inters= ection > of the ports USES=3Dpython:, DEFAULT_VERSION value, and w= hat a user > has installed, if any any. I could live with an ALL_FLAVORS variable to generally list all flavors for all flavored ports (often identical to FLAVORS). Then FLAVORS could keep its role of controlling the selection for the package builders, and ALL_FLAVORS could be used to identify valid flavors for all other purpose= s. > 2) It forced ports to depend on and match, *exactly*, the of all > of their dependencies, otherwise causing "bulk -a" errors [1], even whe= n ports > supported Python versions were a *superset* of their underlying depende= nts > supported versions. This resulted in Python ports being= > incorrectly updated [1], limiting user choice of Python version support= , > reversing a goal and progress the Python team has had to more correctly= , > completely and declaratively, and eventually automatically, specify sup= ported > Python versions. >=20 > 3) A substantial reduction in the UX, and increase in the support overh= ead, for > Python packaging and use on FreeBSD, examples being the "errors" above.= >=20 > What needs to happen from here: >=20 > - The BUILD_ALL_PYTHON_FLAVORS option needs to go away. Before that can= happen... Yes, and as explained above, I'd really like to have FLAVORS always cover= all supported flavors, and a new macro like DEFAULT_FLAVORS (or any other= name that is then used by the package builders) for the selection provide= d as packages. > - Poudriere needs the ability to only build a single flavor package (no= t all > flavors) without requiring the ports default to be only one. This might= take > the form of some notion of 'default flavor' (derived from default_versi= on), or > something else. I thought that this was already the case? At least when building a port on the base system ... (I do not use poudri= ere except for pre-commit testing of port changes, but I'm still affected by = the FLAVOR issues.) --------------ixYcimHWmIq7jMuntW8fEjA0-- --------------J8dgen6lBgQJ5OmSgKPX28mC Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmKbRLIFAwAAAAAACgkQR+u171r99UTr bggAw1m2HLFdj381sLNPhYa3JPDOlzLxFxkXxv7jynY6YliD8k5CnwgcUT52lBpWFu8UlIvl7I/y a1w5Id53aQWKAVZrtWRcGEU3VrSwBgOr+jqyFB81al6gDltFCRb6Ihw9eA96pdtigw/z1le7Ehwl h09/+Jnr7XeqswTVLzix1haf+wbwZfU9zRuItcO8XSuN5Ut8I1Js1lM21x5vyC0AqGMB0E3fRmO9 /5nOsBIFzmAdVPsNPNy+s03unplrQbp4+dnDSQ3tLzBLecFHAvmbrOli79XamIGCZjteO5xg8OSZ srYk6CADIF4fqjA126nYYg/CmKEkBFg1Fn/au3MoyA== =501U -----END PGP SIGNATURE----- --------------J8dgen6lBgQJ5OmSgKPX28mC--