From owner-freebsd-python@freebsd.org Fri Feb 2 06:35:45 2018 Return-Path: <owner-freebsd-python@freebsd.org> Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 232D4EE898A for <freebsd-python@mailman.ysv.freebsd.org>; Fri, 2 Feb 2018 06:35:45 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from mail.ze.tum.de (mail.ze.tum.de [IPv6:2001:4ca0:2e03::1:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.ze.tum.de", Issuer "Zertifizierungsstelle der TUM" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2E697CD83 for <freebsd-python@freebsd.org>; Fri, 2 Feb 2018 06:35:44 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from [192.168.71.66] (ppp-188-174-112-222.dynamic.mnet-online.de [188.174.112.222]) (authenticated bits=0) by mail.ze.tum.de (8.15.2/8.15.2) with ESMTPSA id w126ZfI4025404 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 2 Feb 2018 07:35:41 +0100 (CET) (envelope-from schmidt@ze.tum.de) X-Authentication-Warning: hades.ze.tum.de: Host ppp-188-174-112-222.dynamic.mnet-online.de [188.174.112.222] claimed to be [192.168.71.66] Subject: Re: Installing a port to a specific python version To: rsmith@xs4all.nl, FreeBSD Python <freebsd-python@freebsd.org> References: <6825a87e-60ec-f3bd-3368-2a6a519667bb@ze.tum.de> <20180201151021.GA52705@slackbox.erewhon.home> <799f50a9-4cb5-7e71-a3fb-bb030d80d864@ze.tum.de> <20180201215959.GB56934@slackbox.erewhon.home> From: Gerhard Schmidt <schmidt@ze.tum.de> Message-ID: <2d3a9040-4a0c-0210-f734-e71515320821@ze.tum.de> Date: Fri, 2 Feb 2018 07:35:36 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180201215959.GB56934@slackbox.erewhon.home> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OPKVWeGR8JrPjFap3PMoHBXxgJnIm0o4u" X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 02 Feb 2018 06:35:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OPKVWeGR8JrPjFap3PMoHBXxgJnIm0o4u Content-Type: multipart/mixed; boundary="ntXVouN2eBBcRUi7CEIvGe2l4MkBEqcBG"; protected-headers="v1" From: Gerhard Schmidt <schmidt@ze.tum.de> To: rsmith@xs4all.nl, FreeBSD Python <freebsd-python@freebsd.org> Message-ID: <2d3a9040-4a0c-0210-f734-e71515320821@ze.tum.de> Subject: Re: Installing a port to a specific python version References: <6825a87e-60ec-f3bd-3368-2a6a519667bb@ze.tum.de> <20180201151021.GA52705@slackbox.erewhon.home> <799f50a9-4cb5-7e71-a3fb-bb030d80d864@ze.tum.de> <20180201215959.GB56934@slackbox.erewhon.home> In-Reply-To: <20180201215959.GB56934@slackbox.erewhon.home> --ntXVouN2eBBcRUi7CEIvGe2l4MkBEqcBG Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 01.02.2018 um 22:59 schrieb Roland Smith: > If you look at pkg.freebsd.org you'll see that e.g. python packages are= now > built for each supported version of python. So you can now do things li= ke:: >=20 > # pkg install py36-aniso8601 >=20 > and that will find and install the python 3.6 version of the package ev= en > though the default python is still 2.7. This is a huge win, IMHO. # pkg install py36-aniso8601 reports on my system Installed packages to be REMOVED: xmlto-0.0.28 w3m-0.5.3.20170102_1 New packages to be INSTALLED: py36-aniso8601: 1.3.0 [FreeBSD] py36-dateutil: 2.6.1 [FreeBSD] py36-six: 1.11.0 [FreeBSD] Installed packages to be DOWNGRADED: boehm-gc: 7.6.2 -> 7.6.0 [FreeBSD] Number of packages to be removed: 2 Number of packages to be installed: 3 Number of packages to be downgraded: 1 The operation will free 1 MiB. 254 KiB to be downloaded. Why removing anything while installing new packages. Downgrading i could understand if binaries are involved, but removing? Sorry but pkg is only usable to install or update things if you only use pkg. Installing packages via port kills pkg. And BTW the same command has installed the correct package since pkg exists. So flavors haven't improved anything here. As said I'm doing this since mid 1990s and rely heavily on pkg when installing new systems. Worked like charm since it arrived but only for fresh install. After some month of updating and installing via ports the problems shown above start to appear. So i hope the portupgrade guys are fixing this soon. Regards Estartu --ntXVouN2eBBcRUi7CEIvGe2l4MkBEqcBG-- --OPKVWeGR8JrPjFap3PMoHBXxgJnIm0o4u Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEEPVa8SM32TGPJTcIIdNJDzEVwDaMFAlp0BrgSHHNjaG1pZHRA emUudHVtLmRlAAoJEHTSQ8xFcA2jGS4P/isjK3C1pebcyeu9zIm5j5lkNGoUJj51 LIIkRViYoL0B4TuMZw+Ragg4HW7AOWKUQC41zVvtSDsq/lVgomMEDi0gwLWLWpUS 5DGkPR5rMLR8waLGb/Dy160fb2XhNA9VMjNHOfAOTnIFE/UZ3jJ8CDMVLqBfuQ4k II+gqSYbMQvuOZZdcTUQVJYowTgizDcs0G6hDi3Hmp7FswMPGQpU3+RkqGDLp9je u1/BoV9lIPgHpUl8vhM7hyaqaZh6xx76bjF6X0Ji5As9gvzDHrTqVbHO4i9m7emR XjlFGScSK2lx2MZhfTXpDi8dTEVOw2gm9bF5/n3LaVyeF6RtjV1CcvObxUkHZjQ4 xoaSR0bOGAXmIvJBadj1DzjV7hA6c3nu9NACxSU/6oOqQUVrvoizi9cBELaViV0M mMfNMD8ra7SSopyAHQcE6rI5Yf0RTy6p+YjaU7kX7ZO6oy8cvJfTFn6hLYejRW01 LqnLSz8vduWAK9iKoF5d2hM5l/xuspEbb01XYMRLXboC/uKggdRAVQCo/8ceXYtj aKGWbg+6Oj0apktYsccyMP0WEpG3d+XYuENeHpokWQDc6O4noCRtsBre1oyCNQV8 66AOoApbeXw+b/ydBrLUC96bEBjfrfBM+Sog7RdkS63aCYxP3cg5makNV0BqMgPD XkaUIYNFiuBY =40Sb -----END PGP SIGNATURE----- --OPKVWeGR8JrPjFap3PMoHBXxgJnIm0o4u--