From nobody Fri Oct 06 14:44:40 2023 X-Original-To: freebsd-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 4S2B686Z0pz4wkRS; Fri, 6 Oct 2023 14:44:48 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S2B6826k9z3YCN; Fri, 6 Oct 2023 14:44:48 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 396EieGH068805 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 6 Oct 2023 16:44:40 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 396EieD5068804; Fri, 6 Oct 2023 16:44:40 +0200 (CEST) (envelope-from fuz) Date: Fri, 6 Oct 2023 16:44:40 +0200 From: Robert Clausecker To: Nuno Teixeira Cc: FreeBSD Mailing List , freebsd-go@freebsd.org Subject: Re: Respect go version from go.mod Message-ID: References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4S2B6826k9z3YCN Hi Nuno, I don't think so. Go has pretty good backwards compatibility and will on its own honour the toolchain version declared in go.mod. I.e. it won't apply later language changes to projects declaring an earlier Go version. Plus we don't ship some of the versions that can be declared (such as 1.16) anymore. Yours, Robert Clausecker Am Fri, Oct 06, 2023 at 01:00:42PM +0100 schrieb Nuno Teixeira: > Hello all, > > Do we need to respect go version from go.mod in USES=go:? > > example: > --- > module github.com/vmware/govmomi > > go 1.19 > > require ( > github.com/a8m/tree v0.0.0-20210115125333-10a5fd5b637d > github.com/dougm/pretty v0.0.0-20171025230240-2ee9d7453c02 > > --- > > Thanks, > > -- > Nuno Teixeira > FreeBSD Committer (ports) -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments