Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 567748

Summary: >=dev-python/pbr-1.0: revalidate pip dependency
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal CC: jlec, openstack
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rafał Mużyło 2015-12-08 01:42:24 UTC
I'm not quite sure about it, but part of the entry under Dependencies on http://docs.openstack.org/developer/pbr/packagers.html might suggest that pip isn't a dep since 1.0.

Please check that - dev-python/linecache2 seems to install without it.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-01-05 15:06:58 UTC
While it is optional, it's still needed at times (bad packages mainly).  Therefore I will keep it as a dep for now.
Comment 2 Rafał Mużyło 2016-01-05 16:33:56 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #1)
> While it is optional, it's still needed at times (bad packages mainly). 
> Therefore I will keep it as a dep for now.

Sorry, could you clarify ?

Cause the way I understand the note, "bad packages mainly" translates to "packages with unstated/automagical deps", so IOW packages with *ebuilds*, that need fixing, not such workarounds.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-01-05 16:35:31 UTC
ebuilds won't merge because we block the net access and the like.  This is for people using pbr locally to develop something (installing something to their home folder for instance)
Comment 4 Rafał Mużyło 2016-01-05 19:29:51 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #3)
> ebuilds won't merge because we block the net access and the like.  This is
> for people using pbr locally to develop something (installing something to
> their home folder for instance)

1. shouldn't they know by themselves that they might need pip in such case ?

2. again, the note says "Since 1.0.0 we now document that dependencies should be installed before installing a pbr using package."

3. even if you disregard 2, that should be at most a conditional dep
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2016-01-07 12:46:19 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #1)
> While it is optional, it's still needed at times (bad packages mainly). 
> Therefore I will keep it as a dep for now.

there is nothing in the pbr package suggesting that pip is directly needed. Also the quoted notes say the same. If some badly packaged package needs pip the dep belongs there.
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-01-18 01:09:26 UTC
try pbr-1.8.1-r1