Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547342 - dev-python/pbr-0.10.8 includes packages in requires.txt which are part of the standard library
Summary: dev-python/pbr-0.10.8 includes packages in requires.txt which are part of the...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 546776
  Show dependency tree
 
Reported: 2015-04-21 21:09 UTC by Mike Gilbert
Modified: 2015-11-23 10:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2015-04-21 21:09:13 UTC
dev-python/pbr-0.10.8 includes packages in requires.txt which are part of the standard library for modern python versions. For example: argparse.

This causes problems when a package is loaded using pkg_resources, or on installation of related packages (see bug 546776).

This issue was introduced here:

https://github.com/openstack-dev/pbr/commit/c2aab3b27f03887606b49711a7db9a21b72a60c1

And was made worse here:

https://github.com/openstack-dev/pbr/commit/ee94082d4884dafea419c321bec40aa22244d07f
Comment 1 Arfrever Frehtes Taifersar Arahesis 2015-04-22 11:43:00 UTC
It was just deletion of a misfeature, which was causing that incorrect data in requirements.txt etc. were being corrected by pbr itself, but it is not the job of pbr to do it. Upstreams of other packages should fix their requirements.txt etc.

$ grep argparse /usr/lib64/python*/site-packages/*.egg-info/requires.txt
/usr/lib64/python2.6/site-packages/autopep8-1.1.1-py2.6.egg-info/requires.txt:argparse
/usr/lib64/python2.6/site-packages/fanstatic-1.0a4-py2.6.egg-info/requires.txt:argparse
/usr/lib64/python2.6/site-packages/pytest-2.7.0-py2.6.egg-info/requires.txt:argparse
/usr/lib64/python2.6/site-packages/unittest2-1.0.1-py2.6.egg-info/requires.txt:argparse
/usr/lib64/python3.1/site-packages/pytest-2.7.0-py3.1.egg-info/requires.txt:argparse
/usr/lib64/python3.1/site-packages/unittest2-1.0.1-py3.1.egg-info/requires.txt:argparse
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-11-23 10:06:39 UTC
commit f154c6ff1114a45204f0081bd5a548a232c2363c
Author: Justin Lecher <jlec@gentoo.org>
Date:   Mon Nov 23 10:56:19 2015 +0100

    dev-python/pbr: Drop old

    obsoletes:

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=547342
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=551596

    Package-Manager: portage-2.2.25
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f154c6ff1114a45204f0081bd5a548a232c2363c