From owner-freebsd-python@FreeBSD.ORG Thu Aug 29 11:09:35 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F368FC; Thu, 29 Aug 2013 11:09:35 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A51EC2C7B; Thu, 29 Aug 2013 11:09:34 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id x12so266924wgg.11 for ; Thu, 29 Aug 2013 04:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wX8z2nRE5e71atDMSM1uOheenrI/X88FBM7G0w5RJ1U=; b=ZDeB5mNK7L9CmmXnDl9MHWH99zAIuIcRXlX4qPtyXCX1nHYQegIHX13bhdmFqHJktG kd++EI6mCtvuUS9OLYAVkFp8NXfrZerNckNneq+XOrXe/infhkiwpoos9e5DbYkiYViw a2hwonw4EWDp/52U8Frtjwpu2xU1124f8pHfB8Wfb/Hf5cSrN0e6+AGx5Qb1jIT/L46M ixfSj4UJH3Wg6V6rtT1U3vYqeQhqOQTBU1yRAkQdzL498sQpv2xzJf2rld/QxW47qex7 0OwnwRzMntpceVrufVJe+j5i+O8NXvaMvCR/MNp6l3fU0zbl34ANxFC/DoVZ1oRLXsDJ VhQg== MIME-Version: 1.0 X-Received: by 10.194.85.198 with SMTP id j6mr5072327wjz.51.1377774572728; Thu, 29 Aug 2013 04:09:32 -0700 (PDT) Received: by 10.194.157.69 with HTTP; Thu, 29 Aug 2013 04:09:32 -0700 (PDT) In-Reply-To: <20130829125019.Horde.5pW5RxSvT0j4fFfwAac4xA1@webmail.df.eu> References: <20130802180059.GA1278@medusa.sysfault.org> <20130829125019.Horde.5pW5RxSvT0j4fFfwAac4xA1@webmail.df.eu> Date: Thu, 29 Aug 2013 13:09:32 +0200 Message-ID: Subject: Re: [CFT] lang/python becoming a python binary wrapper From: David Demelier To: mva@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 11:09:35 -0000 2013/8/29 Marcus von Appen : > David Demelier : > > [...] > >> It's weird, I still have some conflicts with the new wrappers: >> >> Proceed with installing packages [y/N]: y >> Checking integrity... >> Conflict found on path /usr/local/bin/2to3-3 between >> python2-3(lang/python2) and python3-3(lang/python3) >> >> Conflict found on path /usr/local/bin/idle3 between >> python2-3(lang/python2) and python3-3(lang/python3) >> >> Conflict found on path /usr/local/bin/pydoc3 between >> python2-3(lang/python2) and python3-3(lang/python3) >> >> Conflict found on path /usr/local/bin/python-shared3 between >> python2-3(lang/python2) and python3-3(lang/python3) >> >> Conflict found on path /usr/local/bin/python-shared3-config between >> python2-3(lang/python2) and python3-3(lang/python3) >> >> Conflict found on path /usr/local/bin/python3 between >> python2-3(lang/python2) and python3-3(lang/python3) >> >> Conflict found on path /usr/local/bin/python3-config between >> python2-3(lang/python2) and python3-3(lang/python3) >> >> Why 2to3-3 conflicts since it should only be installed by python3.3 ? > > > How do you install the packages exactly? Where do you take them from and > what are your relevant settings in /etc/make.conf and friends? > > The installation/deinstallation procedure using the ports tree works > flawlessly (to my knowledge and tests), so I would guess that you are using > pkgng? If oyu are using pkgng and are building the packages yourself, your > poudriere settings or whatever you are using to build the packages would > be relevant as well. > > Cheers > Marcus > Hi, the poudriere settings were from the last mail I've sent you on the list a few weeks ago. I typically have : * One jail called "desktop". No make.conf, it uses the defaults. (Except for databases version but it does not matter here) * One jail called python-33. The make.conf has : PYTHON_DEFAULT_VERSION= python3.3 PYTHON3_DEFAULT_VERSION= python3.3 * One jail clled python-27. The make.conf has: PYTHON_DEFAULT_VERSION= python2.7 * Finally I have a experimental jail for mate desktop, with no make.conf so python 2.7 is chosen and built as default. Then I use all of these repositories, the desktop is the default packagesite, while python-27 python-33 and mate are other repositories but enabled. And the pkg upgrade does the following : # pkg upgrade Updating repository catalogue Uprgades have been requested for the following 94 packages: Installing python3: 3 [python33] Upgrading curl: 7.31.0 -> 7.31.0_1 [python33] Upgrading ffmpeg1: 1.2.1_1 -> 1.2.2 [python33] Upgrading firefox: 22.0,1 -> 23.0.1,1 [packagesite] Upgrading firefox-i18n: 22.0 -> 23.0.1 [packagesite] Upgrading libgd: 2.0.35_9,1 -> 2.1.0_1,1 [python33] Upgrading git: 1.8.3.3_1 -> 1.8.3.4 [python27] Upgrading glew: 1.9.0 -> 1.10.0 [python27] Upgrading gnupg: 2.0.20_1 -> 2.0.21 [python33] Upgrading graphviz: 2.30.1 -> 2.32.0 [python27] Upgrading gsl: 1.15_1 -> 1.16 [packagesite] Upgrading iceauth: 1.0.5 -> 1.0.6 [packagesite] Upgrading libXfont: 1.4.5,1 -> 1.4.6,1 [python33] Upgrading liblqr-1: 0.4.1_4 -> 0.4.1_5 [python33] Upgrading libwpd: 0.9.8 -> 0.9.9 [packagesite] Upgrading lua: 5.1.5_5 -> 5.1.5_6 [python33] Upgrading lua: 5.2.2 -> 5.2.2_1 [packagesite] Upgrading mercurial: 2.6.3 -> 2.7_1 [python33] Upgrading p5-Socket: 2.010 -> 2.011 [python33] Upgrading python: 2.7_1,2 -> 3.3_1,2 [python33] Upgrading python2: 2 -> 3 [python33] Upgrading qt4-corelib: 4.8.4_3 -> 4.8.4_4 [python33] Upgrading thunderbird: 17.0.7 -> 17.0.8 [packagesite] Upgrading tmux: 1.8 -> 1.8_1 [packagesite] Upgrading xprop: 1.2.1 -> 1.2.2 [python33] Upgrading xset: 1.2.2_1 -> 1.2.3_1 [python33] Upgrading xwd: 1.0.5 -> 1.0.6 [packagesite] Upgrading zsh: 5.0.2 -> 5.0.2_1 [packagesite] Upgrading p5-IO-Socket-IP: 0.21 -> 0.22 [python33] Upgrading p5-IO-Socket-SSL: 1.94 -> 1.953 [python33] ... I think the problem comes from here: Upgrading python: 2.7_1,2 -> 3.3_1,2 [python33] Upgrading python2: 2 -> 3 [python33] Is the make.conf incorrect for the jail python3.3 ? I just want to be able to produce both versions of pythons modules to 2.7 and 3.3 so I can develop with python 3.3 and still use some applications that requires python 2.7. Just to recall the beginning of our discuss, the idea was to be able to pkg upgrade / install both python interpreter without regarding if they are the default (so no 2to3 are installed as conflicts). Regards, -- Demelier David