Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2022 06:35:46 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        ports@freebsd.org
Cc:        Dan Mahoney <freebsd@gushi.org>
Subject:   Re: Python version dependencies in pkg
Message-ID:  <PSAPR03MB5639D5A4E9655F3AE61361E6FA579@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <F4395689-FFD7-4591-BE5C-3F15983BF82D@gushi.org>
References:  <8B490359-27A3-410C-AE98-C1362D4FA9F0@gushi.org> <CAN6yY1sGnDF-oReRMFeVz78oGoTfUvsvwUOQwoBZWN9ibjTw3A@mail.gmail.com> <B2A3A400-F21A-4E92-8116-41E7945E4E5C@gushi.org> <CAN6yY1ujCH9Xnv3QN-GF8hN75v%2BxGkOTHrsr25jzxGNGdYW2vQ@mail.gmail.com> <89D2B2D7-FA3D-46F5-A93B-4846950A157C@gushi.org> <65597c37-813b-d0ed-ea9f-8591b68cf097@gwdg.de> <20220929083939.Horde.Viq2uLBgUctcrsgmaJxN_1u@webmail.leidinger.net> <F4395689-FFD7-4591-BE5C-3F15983BF82D@gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.
I cannot explain it in a long sentence in English...
Part of my understanding of the Python version and FLAVOR is that

Dan Mahoney wrote on 2022/09/30 04:52:
> 
> That's ports.  I'm asking about packages.  
> 

Currently, two versions of Python are allowed to be installed on FreeBSD.
One is Python 2.7 but EOL.
The other of the two is Python 3.x.
3.x is the one selected by PYTHON3_DEFAULT in bsd.default-versions.mk.
In summary, only 2.7 and 3.9 can be installed now.

And there are exceptions.
For example, graphics/blender requires newer Python by USES=python:3.10.
Python libraries and modules that are dependent on such exceptions require a USE_PYTHON=allflavors definition.

Maintainers like me (maintained multimedia/libopenshot) usually don't need to consider Python other than the default version.
However, it is important to confirm that there are no problems with respect to the other versions using the USE_PYTHON=allflavors and equivalent make -D BUILD_ALL_PYTHON_FLAVORS.
This would facilitate the change of the default version.

My perception is as above.
Did you find anything interesting? :)

Regards.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB5639D5A4E9655F3AE61361E6FA579>