From nobody Mon Sep 26 16:27:19 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mbp7z1CQdz4YCWt for ; Mon, 26 Sep 2022 16:27:43 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mbp7y1rYnz480s for ; Mon, 26 Sep 2022 16:27:42 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-il1-x12a.google.com with SMTP id v1so3804812ilq.1 for ; Mon, 26 Sep 2022 09:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=JZes7ri1vENNyCfCrgX+iXubV+Xl7lHwztNJYi/jHXE=; b=Oo9YHcPuWnP5Mc/fcpMSLtN6+Bl8kPE//PGXG8cHzv4KYvW0fYKgs2Ezr//nEwPVSg AF9Ny1xATcJPUT6VhmgAwYbhkLZbKOK0raoc9XPnX4uuxICqqDpWLV0qkjSZe70wuTrh 9LNr3d0s6G//cxjuIfuojVp1vQ9O8aC4I5sKH9sIcV+gpZ8EShUTfth0IsZ2fnVfU5w+ OJAqZM5EOGm44ptG2d4M/pW4OINGiXTabLT331FnefrceKt1WWzIezO6rb5J9YpTbVR6 h3oXoT0P5T8fYJ9HwSgBq144CmQH11tppTKBFcwijBGEJeJAdrEbELDoG9LW2P2F1lvy QXIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=JZes7ri1vENNyCfCrgX+iXubV+Xl7lHwztNJYi/jHXE=; b=VMQzMm/ZB2tWLzDAYjNQq2Dgp5+umy6bzr6ppuc56ve3D2z9TRNJOk7Xjz7LL/EJMr oIxlrFykhcl5jFjpQH9Cvj/rWw+BD9ijKP8Tc7hyPfHWx4xpGHM0A1nWXy8kABQdf2K2 0mKB/mv18465Pf3iuYIcK/k5/1LbUMdYvxuJCWnUiqY/Eae78nQLpZoTyFIAgYrzv+PK 9hbfSRBYw0qwcBBpUqeBufi1d7QQDPdu9BAvvgoTl3TKLsjBFSo5UPXuWTYIqYRwIPyb RIPk/9j3pQMHOKyZfoY8DzN8w1711oXz3vv9lNGVukwEaBka977MTp3XAN064MhXM1da qzWA== X-Gm-Message-State: ACrzQf3SqT8iOfiYc3Lm9FZd3V/HXroZEaJqsqeVumqd7TgavlkLOPGY HhVU4I+WdbX8j1pNadHTD/L0UJOXRW2XXkWdlAurSyzuft4= X-Google-Smtp-Source: AMsMyM5Qypkjcgwg7oml+R2oDpkSeVORXYZpddILrf5yw9yzEUt3CWIAn1WzyYD2UpWt/9b8IUijaiqofZyllvhSipc= X-Received: by 2002:a92:c64e:0:b0:2f5:9ba:8055 with SMTP id 14-20020a92c64e000000b002f509ba8055mr10747799ill.290.1664209661439; Mon, 26 Sep 2022 09:27:41 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: <8B490359-27A3-410C-AE98-C1362D4FA9F0@gushi.org> In-Reply-To: <8B490359-27A3-410C-AE98-C1362D4FA9F0@gushi.org> From: Kevin Oberman Date: Mon, 26 Sep 2022 09:27:19 -0700 Message-ID: Subject: Re: Python version dependencies in pkg To: Dan Mahoney Cc: ports@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b3b53c05e9970100" X-Rspamd-Queue-Id: 4Mbp7y1rYnz480s X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Oo9YHcPu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::12a as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.63 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.93)[-0.932]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12a:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[ports@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000b3b53c05e9970100 Content-Type: text/plain; charset="UTF-8" On Mon, Sep 26, 2022 at 2:58 AM Dan Mahoney 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
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 p= kg 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 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?

-Dan

It will use the version spec= ified 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: D03FB98AFA78E3B78C= 1694B318AB39EF1B055683
--000000000000b3b53c05e9970100--