Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2024 09:42:50 +0200
From:      Torsten Zuehlsdorff <freebsd@toco-domains.de>
To:        Charlie Li <vishwin@freebsd.org>, Baptiste Daroussin <bapt@freebsd.org>
Cc:        Joseph Mingrone <jrm@freebsd.org>, Ruslan Makhmatkhanov <rm@freebsd.org>, 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:  <a8bc8f14-3975-4c15-918d-0088d476358a@toco-domains.de>
In-Reply-To: <c0002bdd-92e3-4052-a53f-4ad39a9b3707@freebsd.org>
References:  <202405291420.44TEKdBd073352@gitrepo.freebsd.org> <pupckib4hcq2tiqesuyxfodzz7q6rcjnzn6625qhsazzehaotd@gxm54qjiyxuq> <86frtu6rxz.fsf@phe.ftfl.ca> <xu6munpe2xqir4iwk7k4suprjvxym7dob5ebqz5yodphbaxe56@cf63vkgioyqe> <8d5be29c-94a7-4edd-bc61-c50e8b0ff754@freebsd.org> <lri7xdt6hkxf2udachtafxqijaa7lp2kbshhv7mi7ityqkc3mj@h63p5raqu4yr> <c0002bdd-92e3-4052-a53f-4ad39a9b3707@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 04.06.24 06: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.

Indeed. But after years of seeing FreeBSD usage parallel to various 
Linux Distributions and Windows Versions: i like the FreeBSD way best.

While it involve stuff like pkg set (or a simple script like grep the 
pkg packages, do a search & replace and than do pkg delete + add), it is 
a consistent way you can also automate.

PHP Updates are very smooth in comparison to other plattforms.

Also it seems like a crazy "i can not believe this" fact, when we say, 
we have actually all supported PHP versions with just a simple "install 
it". No Third-Party-Repos, no compilation, no hacking.

>> 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.

Indeed!

Best,
Torsten



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a8bc8f14-3975-4c15-918d-0088d476358a>