From nobody Fri Apr 07 17:34:14 2023 X-Original-To: questions@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 4PtQV63BLQz43hDT for ; Fri, 7 Apr 2023 17:34:38 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2001:468:c80:a103:2:5000:5555:5555]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtQV60BwJz3wdV; Fri, 7 Apr 2023 17:34:38 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id D45D2561A9; Fri, 7 Apr 2023 13:34:25 -0400 (EDT) Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Poudriere and Python FLAVORS From: Paul Mather In-Reply-To: <2210609.NtcAQq7lVP@ravel> Date: Fri, 7 Apr 2023 13:34:14 -0400 Cc: Julien Cigar , Matthew Seaman , questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6938F646-19CD-4291-A420-EA48C609D729@gromit.dlib.vt.edu> References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> <2210609.NtcAQq7lVP@ravel> To: Olivier Certner X-Mailer: Apple Mail (2.3731.500.231) X-Rspamd-Queue-Id: 4PtQV60BwJz3wdV X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Apr 7, 2023, at 10:36 AM, Olivier Certner = wrote: >> with BUILD_ALL_PYTHON_FLAVORS=3D yes Poudriere builds the py39 = flavours of >> the packages (although the default version is 3.11) if no flavour is >> specified for a port. So it looks like I have to @py311 all my Python >> ports if I'm having a DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11= python=3D3.11 >=20 > Then most probably your 'make.conf' is not taken into account by = poudriere. >=20 > That said, some ports explicitly require Python 3.9 or less (e.g., = openjdk11 =3D> llvm12 =3D> python39), but according to what you're = saying, this is not the problem you're facing right now. This was the problem I was running into when trying to build ports = locally with a default Python flavour of 3.10 when the FreeBSD default = was 3.9. For some ports there would be some Python dependency that = explicitly required a <3.10 version of Python. It's my understanding = that when building a Python port of some given flavour, ALL the = dependencies must support building that flavour. In other words, you = can't, say, have a mixture of 3.9 and 3.10 dependent packages installed = to fulfil a working 3.10 Python port: the port and all its dependencies = must be 3.10. Cheers, Paul.=