Re: Python version dependencies in pkg

From: Tatsuki Makino <>
Date: Thu, 29 Sep 2022 21:35:46 UTC
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
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? :)