Date: Sat, 15 Dec 2018 11:38:57 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: flavor set to python 3.6 but still getting python 2.7 Message-ID: <3f5b9c48-4ec9-aa8c-5d55-0acd7b254f0b@FreeBSD.org> In-Reply-To: <CAPORhP4SGivMfmuxmex=LHVT3aDKYQ%2BHE6p%2BD_qE_x4=jw-ZNw@mail.gmail.com> References: <CAPORhP4SGivMfmuxmex=LHVT3aDKYQ%2BHE6p%2BD_qE_x4=jw-ZNw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bBQ1bklMxV9bLL9nLI6jmXgbfysFmqOoS Content-Type: multipart/mixed; boundary="sJo6f8dICWMQBHWa1ZAZ7xz9lQXhf1KYc"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <3f5b9c48-4ec9-aa8c-5d55-0acd7b254f0b@FreeBSD.org> Subject: Re: flavor set to python 3.6 but still getting python 2.7 References: <CAPORhP4SGivMfmuxmex=LHVT3aDKYQ+HE6p+D_qE_x4=jw-ZNw@mail.gmail.com> In-Reply-To: <CAPORhP4SGivMfmuxmex=LHVT3aDKYQ+HE6p+D_qE_x4=jw-ZNw@mail.gmail.com> --sJo6f8dICWMQBHWa1ZAZ7xz9lQXhf1KYc Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 15/12/2018 00:24, David Mehler wrote: > I'm running 11.2, i've got python 3.6 set in DEFAULT_VERSIONS of > make.conf for both python and python3 I thought i'd just be getting > python 3.6 and it's package, but a a port is pulling in python 2.7. Is > this right? Which port is pulling in python-2.7? A very few ports are still incompatible with python-3.6 and those would cause python-2.7 to be pulled in. That shouldn't be a problem, as you can have parallel python-2.7 and python-3.6 installs very readily. On the other hand, if the port that is pulling in python-2.7 is meant to be python-3.6 capable, then it's probably something in your setup that needs modification. How exactly are you installing ports / pkgs? If you are building your own pkg repo, then you'll need to make sure everything that depends on python is rebuilt. poudriere will do this rebuild automatically. Pkgs that depend directly on python should have a name change from py27-* or *-py27 to py36-* or *-py36 and will need to be reinstalled -- on the whole pkg(8) should mostly be able to handle that automatically, but it may need some things to be force updated to help it along. Cheers, Matthew --sJo6f8dICWMQBHWa1ZAZ7xz9lQXhf1KYc-- --bBQ1bklMxV9bLL9nLI6jmXgbfysFmqOoS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlwU59JfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Ofg0Q//W0Gw86NquJISPuXZohxv2hMxOCxHysDaYmhPbThenIQGyUlQl2oyREeq x1s89bKNRwTLTfgClfpdt45mCNwAkEb4+nTa9ZwARv8LtNPAbxcczYJoGsS/F7R0 Zz30eSbhM+1swdCZGvLbfDkd3XqPYHODSHvreXVFa2hNlGuWgsiaUxY3thksvQPW Tn2PlXQ0kQhj0deQ8zd2gofQaJscqxJdup6CkJ14eBqkc72dRuf8WIamemDhErr4 Q/uLxw7HiWFQTFmhALcrXZ90o3oY2524j4Rtzbmv0rKJbBi478duAvbhwZin4XQi L5biVBLZMstB7GkYo1IFtKOyEf1zJwLOUu2q5j4iJdQOJPATz2zVGmk4dRn8ShAW /FqbDYxTdEWQceSuBezWAaIeGa7LsUlwC+T7eHEN5LArOq17bu2VP2FJRJ9ZERHl By2yloIYIeAERmtxCug3D2FCKJnBB+7YuuXtp3lFoXuVIWb/zCdWgQ1j2WeekMoX JSxD5e1fIvNyPnwyrhPz6iWG5WcHBs4pJMIy04L0NH3uGnzMZhBngWj4IGT+2C3B bkfhsrxOtKa+V4n8yN7wQmakcrX38wEUYGOlI4ho2/PXetcvvrhWDUosZ3lgW5TW N+YeKT6wmDID6q8LYn5v1+AgKAY6GHhCgHYcw8bqrQdN+mkREb0= =IMDE -----END PGP SIGNATURE----- --bBQ1bklMxV9bLL9nLI6jmXgbfysFmqOoS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3f5b9c48-4ec9-aa8c-5d55-0acd7b254f0b>