NetBSD Problem Report #49694
From riz@xs2.lan Tue Feb 24 22:30:10 2015
Return-Path: <riz@xs2.lan>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id F2441A654C
for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Feb 2015 22:30:04 +0000 (UTC)
Message-Id: <20150224223003.EA5CD21EA78@xs2.lan>
Date: Tue, 24 Feb 2015 14:30:03 -0800 (PST)
From: riz@NetBSD.org
Reply-To: riz@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: py27-pip and py34-pip (and probably others) can't coexist
X-Send-Pr-Version: 3.95
>Number: 49694
>Category: pkg
>Synopsis: Can't have "pip" packages for python 2.7 and 3.4 installed at the same time
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: bsiegert
>State: closed
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Feb 24 22:35:00 +0000 2015
>Closed-Date: Sat Jul 04 14:16:28 +0000 2015
>Last-Modified: Sat Jul 04 14:16:28 +0000 2015
>Originator: riz@NetBSD.org
>Release: NetBSD 7.0_BETA
>Organization:
>Environment:
System: NetBSD xs2.lan 7.0 NetBSD 7.0 (GENERIC) #0: Sat Feb 14 11:49:54 PST 2015 riz@xs2.lan:/tmp/amd64/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
While I can install python2.7 and python3.4 packages at the same
time, when I try to install "pip" packages, they conflict:
---Feb 24 14:00:35: installing py34-pip-1.5.6...
pkg_add: Conflicting PLIST with py27-pip-1.5.6: bin/pip
pkg_add: 1 package addition failed
>How-To-Repeat:
Install python27-2.7.9 and python34-3.4.2 at the same time, then install
py27-pip, then try to install py34-pip.
>Fix:
None given; it probably involves not installing "pip" for either of them, and
relying on whatever selection method to make one the default (pip2.7 vs pip3.4)
>Release-Note:
>Audit-Trail:
From: Mark Davies <mark@ecs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/49694: py27-pip and py34-pip (and probably others) can't coexist
Date: Wed, 25 Feb 2015 13:22:08 +1300
On Tue, 24 Feb 2015 22:35:01 you wrote:
> >Fix:
> None given; it probably involves not installing "pip" for either
of
> them, and relying on whatever selection method to make one the
> default (pip2.7 vs pip3.4)
Don't install pip and use the ALTERNATES mechanism to create it. See
the similar changes I did to the py-docutils and py-sphinx packages
last night.
cheers
mark
From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49694 CVS commit: pkgsrc/devel/py-pip
Date: Sat, 4 Jul 2015 14:12:03 +0000
Module Name: pkgsrc
Committed By: bsiegert
Date: Sat Jul 4 14:12:03 UTC 2015
Modified Files:
pkgsrc/devel/py-pip: Makefile PLIST
Added Files:
pkgsrc/devel/py-pip: ALTERNATIVES
Log Message:
Use ALTERNATIVES for bin/pip so that this package can be installed
for multiple Python versions in parallel. Fixes PR pkg/49694.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pip/ALTERNATIVES
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-pip/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-pip/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 04 Jul 2015 14:16:28 +0000
Responsible-Changed-Why:
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 04 Jul 2015 14:16:28 +0000
State-Changed-Why:
Fixed, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.