From nobody Tue Jun 4 08:45:10 2024 X-Original-To: dev-commits-ports-all@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 4VtkgX0Cvfz5MtTX; Tue, 04 Jun 2024 08:45:12 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VtkgW6hxdz43yL; Tue, 4 Jun 2024 08:45:11 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717490711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wAIfmvqbSPbpEQvPS0Sy0qzKguZwJH6573Gqqvtgcx4=; b=YixaN7dTWSm5WGhnZrCngkBK+FL5KuMCaBCCtfMEKRf411dsB8ZiOYymjThOoZf4F19OMW xnUKWU/DvyaOrjBRw7V4xl62HTafYage4kN60wgOO4n9sCiKIycpSJbrwyQGCYMzNds4lK 90br/GMrTnf4ZZtzfXC9Chs6toJYWEFsTskm0zrBs1lDfW98Wgc7H1z17ZZSfayNZxod9G 6xDrcOP9Z9mpZr2HqcQOFgOt6TY+j4GGGuwgOccdfUiB/c4jkop9BpNslRJMTb+OBVs+RA /dGPLuL1rqZB6oh5fL3Fs0vZ4j+rZeSjA7rEZxSIOatJWDm/SV3vCTpbrNPjqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717490711; a=rsa-sha256; cv=none; b=ScL+mb0/O1qSZpC+TyBOO/JPxqsZ4Is633FSL7CfKMHm8PyME1qb57DekZw8TNU3se6aCa sdTUeYfEFwCRy9ETujap7c2eR+8RA8OtRAzH92l5Hj/GLye8r7C3/fRQqp4vmId/+ziD5J E1/0VWVF0Be5fkO/mTNR/cA5LsmUvf2OWOWdT5ns4pyjRYaoRwOXn721J8A5MPzPMe5Vxn G6KEwo6ho/MJMkgVZT3KsDhaMuB7O5omuzoqS5P1MVe/sufjkdH9w/Qd4jwEdLq3vZg+SJ ARMjNxcyaJB5riJ9xMor4Vgr9xBY6XmjrmBFD/VZZ/VbX1VQgz5t0ErpNVXPiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717490711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wAIfmvqbSPbpEQvPS0Sy0qzKguZwJH6573Gqqvtgcx4=; b=cAlh7oXQOZuFN3KxwpDyXR8ODwJxnyPvIbAEV8ETyac/n4Mj9YIWci0g8bWCuFQzn2OAYF 9B0t231EujetjIB5aHOQFUZKddem/6e3QZyKgXGUTcD/RyoR4nUjXNLVyn8phomBRyvGYx VaJwU1Zp5/cmvqin+Ni1bZ5EeEif4Lh4WyFZJQXFfKCyDpEAoa/pjBFh5qISn6phaDkiDj TowTNWMNGLaAWg4I/iZEkU0t7JfdvAOl1rTuXdgHOABBG3zOKA+ziGO7haxTHDx2pXDjtX ID9UQSAr4wd921VL+VDflktFLBRAEGGuKpoOhi4voGUqKVQG55suSlxajsQXgQ== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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 did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VtkgW5cFyz1KyC; Tue, 4 Jun 2024 08:45:11 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 348E5D220F; Tue, 4 Jun 2024 10:45:10 +0200 (CEST) Date: Tue, 4 Jun 2024 10:45:10 +0200 From: Baptiste Daroussin To: Charlie Li Cc: Joseph Mingrone , Ruslan Makhmatkhanov , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 988da7290c99 - main - ./UPDATING: mention the python default version change Message-ID: References: <202405291420.44TEKdBd073352@gitrepo.freebsd.org> <86frtu6rxz.fsf@phe.ftfl.ca> <8d5be29c-94a7-4edd-bc61-c50e8b0ff754@freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue 04 Jun 00:20, Charlie Li wrote: > Baptiste Daroussin wrote: > > I am not saying that allowing concurrent version is a bad idea, but in that area > > php packaging does a better job, I have no idea what is supposed to make sense > > in the end, but the current situation is clearly unfriendly to any package > > manager. > > > I actually have this issue with explicitly installed PHP packages here too. I personnally fine the php situation quite ok, it is not perfect but better than what I have seen anywhere else and we don't need anymore the notion of "default php" which is great, in regards of how the php eco system works. that said I am well aware that the ecosystem is different in python and php, applying straight what we do in php to python is probably a bad idea, my example here of php, was more as an example on, we managed to find a pkg friendly way of dealing with the php ecosystem, and most of the time this is ok. > > There is a reason why on most linux distros they do support only one major > > version of python for packaging and encourage users to use virtual env or alike > > for other versions, I am not saying we should do that, but we need to find > > something that is upgrade friendly and do not rely on hacks like pkg set. > > > virtualenvs are encouraged in the Python ecosystem regardless of any > operating system distribution considerations, but the ability to use > different Python interpreter/distribution versions still hinge on having > them and requisite packages available in the system. > I am not saying we should have only 1 version of python installed and I clearly don't know enough the python world to provide an actual proposal on how it should be done, to become pkg friendly, just the current situation is clearly pkg unfriendly each change of default version generates a huge amount of conflicts which makes it painful for the package manager to deal with it properly and we have to hack a pkg set to get it "more smooth", we for sure find a smarter way to deal with all of this. Best regards, Bapt