Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2024 10:45:10 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Charlie Li <vishwin@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:  <p4oqlbl6ou3zidsvkdrevjy7ts5fxk72uhuwsd6w7lf6njq3tq@wun5kelrgmsa>
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 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p4oqlbl6ou3zidsvkdrevjy7ts5fxk72uhuwsd6w7lf6njq3tq>