Re: Python version dependencies in pkg

From: Shane Ambler <FreeBSD_at_ShaneWare.Biz>
Date: Fri, 30 Sep 2022 04:54:30 UTC
On 30/9/22 7:05 am, Tatsuki Makino wrote:
> 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.

You can install as many python major versions as you want or need, that
means you can also install many of the py modules for each version. Note
that some have conflicts and some only need concurrent option added to
them to prevent conflicts.

% pkg info -x python3
python3-3_3
python310-3.10.4_2
python311-3.11.0.a2
python37-3.7.10
python38-3.8.9
python39-3.9.4

% pkg info -x 'py3[0-9]*-numpy-'
py310-numpy-1.22.4,1
py37-numpy-1.16.6_1,1
py38-numpy-1.16.6_1,1
py39-numpy-1.16.6_1,1

Being the maintainer of some py modules, I have them all installed so
I can verify that all py versions build and install without conflict.


-- 
FreeBSD - the place to B...Software Developing

Shane Ambler