Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2022 09:27:19 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Dan Mahoney <freebsd@gushi.org>
Cc:        ports@freebsd.org
Subject:   Re: Python version dependencies in pkg
Message-ID:  <CAN6yY1sGnDF-oReRMFeVz78oGoTfUvsvwUOQwoBZWN9ibjTw3A@mail.gmail.com>
In-Reply-To: <8B490359-27A3-410C-AE98-C1362D4FA9F0@gushi.org>
References:  <8B490359-27A3-410C-AE98-C1362D4FA9F0@gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b3b53c05e9970100
Content-Type: text/plain; charset="UTF-8"

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

--000000000000b3b53c05e9970100
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:tahoma,sans-serif;font-size:small">On Mon, Sep 26, 2022 at 2:58 AM=
 Dan Mahoney &lt;<a href=3D"mailto:freebsd@gushi.org">freebsd@gushi.org</a>=
&gt; wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex">All,<br>
<br>
A quick question:<br>
<br>
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 p=
kg was built, 3.8 right now), correct?<br>
<br>
If you have 3.9 installed, that will satifsfy dependencies, and it won&#39;=
t install python3.8, correct? Or are the dependent versions for interpretec=
 languages in pkg locked to whatever the default is?<br>
<br>
Assuming &quot;any python will work&quot;, If you have 3.8 installed, and l=
ater install 3.9 -- is there any easy way to point your package at the new =
version as the new dependency, without deinstalling/reinstalling it?<br>
<br>
-Dan<br>
</blockquote></div><br clear=3D"all"><div style=3D"font-family:tahoma,sans-=
serif;font-size:small" class=3D"gmail_default">It will use the version spec=
ified as default in /usr/ports/Mk/<a href=3D"http://bsd.default-versions.mk=
">bsd.default-versions.mk</a>.</div>-- <br><div dir=3D"ltr" class=3D"gmail_=
signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><di=
v><div dir=3D"ltr">Kevin Oberman, Part time kid herder and retired Network =
Engineer<br>E-mail: <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank=
">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C=
1694B318AB39EF1B055683</div></div></div></div></div></div></div></div></div=
>

--000000000000b3b53c05e9970100--



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