Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2020 23:14:08 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        portmaster@bsdforge.com
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: ln -s python3 python2 && ln -s python37 python27?
Message-ID:  <CAN6yY1ujR4OVC0kL9D8XECv3zQ1h4K-o7nDcUQ=OSaS=bD%2BdKg@mail.gmail.com>
In-Reply-To: <41d2c79b9cbf000d700fddde4117cebe@udns.ultimatedns.net>
References:  <41d2c79b9cbf000d700fddde4117cebe@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Short answer is NO.

There were significant changes made in python3 that require significant
changes in most programs written in python2. This has been a huge issue
that will continue until at least the end of the year when python27 is
scheduled for removal. Unless a few ports still requiring python2 get
updated, the removal will almost certainly be delayed. For example, both
chrome and firefox require python2. In most cases, the changes required are
trivial, but not always.

Since this is a change in the Python language, it applies to all operating
systems... Linux, Windows, MacOS as well as FreeBSD.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


On Fri, Aug 7, 2020 at 8:04 PM Chris <portmaster@bsdforge.com> wrote:

> I'm currently performing a big buildup for a large deployment.
> I built world && kernel in the build jail, and performed the
> install into another jail for the port/package buildup that
> will in turn be used for the deployment STABLE-12@363918 &&
> PORTS@544342, respectively.
> Problem _appears_ to be with Python as maintained in the ports
> tree. make.conf(5) defines only:
> DEFAULT_VERSIONS+=python=3.7 python3=3.7
> performing a make config-recursive in xorg-server/ until dialogs
> no longer appear. Followed by a make package-recursive install clean
> goes as anticipated, building python-3.7 && py-37 additions, llvm,
> ...
> But towards the end I'm greeted by a large python2.7 session with
> all the expected warnings about EOL and installing to the same
> place.
> Can I simply avoid all this BS by deleting python2.7 and family,
> and simply link all references to python3.7. This is quite maddening.
> There must be a way out. No?
>
> Thank you in advance for any, and all clues to salvation! :-)
>
> --Chris
>
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1ujR4OVC0kL9D8XECv3zQ1h4K-o7nDcUQ=OSaS=bD%2BdKg>