Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543968 - dev-python/pylint-1.4.3 needs a higher version of dev-python/astroid
Summary: dev-python/pylint-1.4.3 needs a higher version of dev-python/astroid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 21:26 UTC by Ellison Marks
Modified: 2015-03-22 08:19 UTC (History)
1 user (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 Ellison Marks 2015-03-20 21:26:01 UTC
On upgrading pylint to 1.4.3 today (~), it fails to run, giving a stack trace that indicates that it requires version 1.3.6 of dev-python/astroid. No higher version than 1.3.4 is available in portage at the moment and the ebuild only requires >=dev-python/astroid-1.3.3[${PYTHON_USEDEP}].

Reproducible: Always

Steps to Reproduce:
1. Upgrade dev-python/pylint to 1.4.3
2. Attempt to run `pylint somefile.py`
Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/pkg_resources/__init__.py", line 612, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.3/site-packages/pkg_resources/__init__.py", line 918, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.3/site-packages/pkg_resources/__init__.py", line 810, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (astroid 1.3.4 (/usr/lib/python3.3/site-packages), Requirement.parse('astroid>=1.3.6'), {'pylint'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.3/pylint", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.3/site-packages/pkg_resources/__init__.py", line 3018, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.3/site-packages/pkg_resources/__init__.py", line 614, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.3/site-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.3/site-packages/pkg_resources/__init__.py", line 805, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: astroid>=1.3.6

Expected Results:  
The pylint report is printed.
Comment 1 Patrick Lauer gentoo-dev 2015-03-22 08:19:27 UTC
Fixed