Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2020 09:34:39 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: python 2.7 marked as deprecated and EOL while 2.7.18 RC is available
Message-ID:  <bb862ff4-33f2-f5af-450a-72a33105759e@FreeBSD.org>
In-Reply-To: <24218.25496.502886.46431@jerusalem.litteratus.org>
References:  <CAGnMC6rNeUT2wQ=DsrvkNtVz_SGqfKA8Yh=1rbeMS8XtxB3naw@mail.gmail.com> <102F7F34-78D0-45D8-A6CD-54C90BD46791@FreeBSD.org> <24218.18351.39302.604589@jerusalem.litteratus.org> <b16f5e5c-5283-9a14-b738-eff635c14109@m5p.com> <24218.25496.502886.46431@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fpYIaznjJoItMIs0wvIuMkFLgmGd3dFmX
Content-Type: multipart/mixed; boundary="MxSALFrPRRJnuj0Db4lwGPdvPKA1rBqHd"

--MxSALFrPRRJnuj0Db4lwGPdvPKA1rBqHd
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable

On 18/04/2020 03:19, Robert Huff wrote:
> 	a) according to the Makefile, is it possible to build this with
> 		python-37?  (Or even -36?)=20

If the Makefile for the port says:

USES=3D python:27

then the port is for python-2.7.x only.  All other python ports will
support python-3.x (which practically speaking means python-3.7).  Note
that ports that are python-2.7.x only are now as rare as hen's teeth as
there has been an active program of deleting such.

> 	b) will doing so break any port for which this port is a dependency?

There are very few things still in the ports that use python and that
only work with python-2.7.  So, yes, everything can be upgraded to
python-3.  Whether that works entirely smoothly is another matter.

Personally, I just changed my default settings in make.conf to make
python-3.7 the default, and did a full rebuilt of my personal poudriere
repo.  A subsequent `pkg upgrade` replaced most of the python 2.7 bits
installed with python 3.7 equivalents.  I had to delete some python-2.7
ports that were no-longer needed, but on the whole everything pretty
much just worked.  Your milage may vary, so be sure to make use of ZFS
snapshots or even good old backups to make sure you have a way of
un-fubarring your system if it all does go a bit pear-shaped.

	Cheers,

	Matthew


--MxSALFrPRRJnuj0Db4lwGPdvPKA1rBqHd--

--fpYIaznjJoItMIs0wvIuMkFLgmGd3dFmX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl6au59fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5
RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp
5OfmCg//QDfmcDDs8NIgV5B+LWFTNnBXm+K2Eb1iVAT8EebUGUDpmJJ5/kV3G/1Q
JljLF8ezJumIkSUtrPE0VyB+n+5TmhbMQZX5fxMxRSeNNqEgqlT8hV1l4xWufYgw
lJKzOd5O2eB3AItxZz4qKHPvMgAWi7+S3l9dV1sXoaAW4rGLHUgdxVsO3C0ih1uX
i8A0whAnlHKWU7JTipyICZG89XxiwGWworW8lXDe5cP4KvB863xda0RpYe6qny2G
u+4EqlaiptzrW/RYlFMjsOIQk97rMjiTVme0FeryZ+kDqIQD1kKXUKxabNwbcuxX
LUTt+5Qp/1svQ7b0x3kwxD75Do3n3wnm3ugq5ORmGbGGn8XbOeN82ttHGN2Q8TdP
ZlggWE3Qm5UsjBZtPKUHlVya7g0MvYQSxn5zPZojwdqoxpxL6vjgz9Z+LIaU/yrW
BlyDOOeB6mI99RhdaLQ9es4vNW0R7VEFZBFcN7+hhBJhzUQa/RR/CTx92nJsorjj
ujTOo0XLk0314wQDuNP9XXUbEhGVMuk31zQnS5OKo79SOUt7zajuH1VligVsos+i
3P+uo2oAxgUgpZgwkMS8MOGSMkvJT9OR6x7WGztVK2WXf+Bqdu8Gez7ILJS8+1nt
l68QmC2gqIk78x2gR2QQRnCROR7G3QNZTUFQRrMarExz7K3WOak=
=VgnG
-----END PGP SIGNATURE-----

--fpYIaznjJoItMIs0wvIuMkFLgmGd3dFmX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb862ff4-33f2-f5af-450a-72a33105759e>