Re: Python version dependencies in pkg

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Mon, 26 Sep 2022 16:27:19 UTC
On Mon, Sep 26, 2022 at 2:58 AM Dan Mahoney <freebsd@gushi.org> wrote:

> All,
>
> A quick question:
>
> If a pkg depends on python, but not a specific version, it will simply
> pick a version to install (I guess, whatever version was the default when
> the pkg was built, 3.8 right now), correct?
>
> If you have 3.9 installed, that will satifsfy dependencies, and it won't
> install python3.8, correct? Or are the dependent versions for interpretec
> languages in pkg locked to whatever the default is?
>
> Assuming "any python will work", If you have 3.8 installed, and later
> install 3.9 -- is there any easy way to point your package at the new
> version as the new dependency, without deinstalling/reinstalling it?
>
> -Dan
>

It will use the version specified as default in /usr/ports/Mk/
bsd.default-versions.mk.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683