Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599500 - =dev-python/flake8-3.0.4-r2 should depend on <pycodestyle-2.1.0 instead <=pycodestyle-2.1.0
Summary: =dev-python/flake8-3.0.4-r2 should depend on <pycodestyle-2.1.0 instead <=pyc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-11 16:36 UTC by Oleh
Modified: 2016-11-11 16:44 UTC (History)
0 users

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 Oleh 2016-11-11 16:36:02 UTC
as in summary

Reproducible: Always

Actual Results:  
➜  ~ flake8 Workspace/cocoonr_experimental/dynadm/signals.py
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 658, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 966, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pycodestyle 2.1.0 (/usr/lib64/python3.4/site-packages), Requirement.parse('pycodestyle<2.1.0,>=2.0.0'), {'flake8'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/flake8", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2994, in <module>
    @_call_aside
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2980, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 3007, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 660, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 673, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 852, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycodestyle<2.1.0,>=2.0.0' distribution was not found and is required by flake8
Comment 1 Mike Gilbert gentoo-dev 2016-11-11 16:44:04 UTC
commit 8eb8c7a7951a9487f2cab596edb788b0b7a50618
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Fri Nov 11 11:42:58 2016 -0500

    dev-python/flake8: fix pycodestyle dependency

    Bug: https://bugs.gentoo.org/599500

    Package-Manager: portage-2.3.2_p5

 dev-python/flake8/flake8-3.0.4-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)