Date: Fri, 7 Apr 2023 13:34:14 -0400 From: Paul Mather <paul@gromit.dlib.vt.edu> To: Olivier Certner <olivier.freebsd@free.fr> Cc: Julien Cigar <julien@perdition.city>, Matthew Seaman <matthew@freebsd.org>, questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Message-ID: <6938F646-19CD-4291-A420-EA48C609D729@gromit.dlib.vt.edu> In-Reply-To: <2210609.NtcAQq7lVP@ravel> References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> <zt6xfastbfa7l6egqxfhhguekeksslhgt3sebhu7cekpklpbow@y5bp6tp7ngjb> <lnqv3saoei3t6yfgcjttyvsd2sge2xpdh3l7247gnifzli6mkv@ikycn23so37v> <2210609.NtcAQq7lVP@ravel>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 7, 2023, at 10:36 AM, Olivier Certner <olivier.freebsd@free.fr> = 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6938F646-19CD-4291-A420-EA48C609D729>