From nobody Mon Jun 3 15:42:14 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 4VtHzD05FYz5MjQS; Mon, 03 Jun 2024 15:42:16 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4VtHzC6jsNz3xYg; Mon, 3 Jun 2024 15:42:15 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717429335; 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=d53M4TrOZe9NMRf1pivueVYouQuTm+AE3VDoLs1WpOg=; b=XnKyAd1hALE7zvW9QI42W40i60tGstbBvOIZLe/vTFpgwV22WCeh/HvhtgUBmLVJL+FIf/ Dt8Hl8IahMOE9/qvhIDZW/e6H8FZzkH20Q6oZFeCT2b3By9WTClCzNX23SKtYrXB07oRnQ tihQ1D38TOfT6OyRilrBoX6Xgj+HHm5EonSTTvq45Ex9CUXrfP4D/Bm7Kfha0LzH9nYSj0 Jwyv2EGQe42PgmXR2yUj2xqNcki0KuOFUmHXxJG5NdSqBBGgCCOBOHsM/o3tlrTIrpVvHE toDeUN6SdSbhjAd/KZlamh7hjhFrmuw8G90SJZiEqsxEkHr68aGswplGOoCKUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717429335; a=rsa-sha256; cv=none; b=sRen8tArpfiqGcqoYfvtZxSsPlAkwNTR/yHCpmdR2bVC8ZAvRNyl6knrXzJWyTjESSt5Lt +t9KVpds4iRkFbIyccWWMtx9HM5OZZp2znSOJ2AFbxtTVxRHjsKh7Fx9flRzKvQN6hLD9o 30qql4R9YL5K2Tsm73WjNmMzYpNocclICNnWsh/O42jI9NKgKpMC6G74zVMK9svZORCjdA li5PLGWYg7UP1gBRhKEObuZcwOJKvxwy90ZaOKrfWWO0AnLZtneREPtf0fTcWYaTQkhFPc gPjyHZu20UMWlMnRLJvDrgivwIKMZECywtO2yov0edBQBEc+CYwsPlmejBLG2w== 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=1717429335; 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=d53M4TrOZe9NMRf1pivueVYouQuTm+AE3VDoLs1WpOg=; b=QvVohVmGR8HkrdbDXPmXaJc91jJtuueKvxWforlKf6ZmOXa/aL5UHX15bTDynro4Nv3xZ7 rGs/whc/movVOTyyTOu4UzA3DcEv+FTo/rEXZMiK9GgA3qufdmFBqpBCQfCYk547UYpIgl wo+s91QpTEhy3xoRzGr7GaaHUHhM5K77juqqY+vuLqTO15WW6lb+Byk1fZklK3dY8nwKfF yRgZYST+PRRNm29gvRE6HiZHfOIbCStcCAbYyHGGdjAfZKi4cjINtLDPPpFx/IVbxwcWOV UU721ojdG1QFabtzL5DuHytKtSApbgguPVC0dAl4vdDNqEVj0npK9FF88jYP8A== 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)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VtHzC5n7Tzj76; Mon, 3 Jun 2024 15:42:15 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id C96EBD104A; Mon, 3 Jun 2024 17:42:14 +0200 (CEST) Date: Mon, 3 Jun 2024 17:42:14 +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: <8d5be29c-94a7-4edd-bc61-c50e8b0ff754@freebsd.org> On Mon 03 Jun 11:25, Charlie Li wrote: > Baptiste Daroussin wrote: > > On Mon 03 Jun 10:07, Joseph Mingrone wrote: > > > We gave similar advice when the emacs ports had version information in > > > the package name (other than PKGVERSION at the end). > > > > And I find the advice on emacs problematic as well and make things complicated > > for users. > > > > In the case of python, final packages should not wear a pyXXX prefix, so during > > upgrades for users pkg upgrade will just propose to install the new set of > > dependencies which will conflicts with the old one and as such propose to remove > > them. (this is not done in the python world, at least not always and causes tons > > of problems). > > > The way we do Python packaging is partially emblematic of how not every > (current supported upstream) Python package in the wild is compatible with > every supported Python interpreter/distribution. But there are valid use > cases for having multiple Python distributions in the same environment, with > their own package sets (so long as said packages are USE_PYTHON=concurrent > safe). > > lwhsu@, jrm@ and myself briefly discussed at BSDCan having something like > the lang/python3 and lang/python meta-ports for individual Python packages, > but implementing it in a way that doesn't make maintainers' lives hell > especially without subpackages is a problem. 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. 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. Best regards, Bapt