Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677074 - dev-python/autopep8-1.4.3 should depend in >=dev-python/pycodestyle-2.4.0 - pkg_resources.DistributionNotFound: The 'pycodestyle>=2.4.0' distribution was not found and is required by autopep8
Summary: dev-python/autopep8-1.4.3 should depend in >=dev-python/pycodestyle-2.4.0 - p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-01 22:36 UTC by Jan Ziak (atomsymbol)
Modified: 2019-11-29 19:54 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 Jan Ziak (atomsymbol) 2019-02-01 22:36:10 UTC
autopep-1.4.3.ebuild currently depends on >=dev-python/pycodestyle-2.3, but it should depend on >=dev-python/pycodestyle-2.4

$ autopep8 mandelbrot.py 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/autopep8", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3161, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3145, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3174, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 668, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 681, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycodestyle>=2.4.0' distribution was not found and is required by autopep8
Comment 1 Larry the Git Cow gentoo-dev 2019-11-29 19:54:51 UTC
The bug has been closed via the following commit(s):

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

commit f360f79329c6bc6d9294e6ebf79266ff03727036
Author:     Zamarin Arthur <arthurzam@gmail.com>
AuthorDate: 2019-11-10 06:51:46 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-11-29 19:54:27 +0000

    dev-python/autopep8: bump v1.4.4
    
    remove dev-python/pep8 dependency
    add python3_7,python3_8 support
    use distutils_enable_tests for tests
    
    Closes: https://bugs.gentoo.org/697084
    Closes: https://bugs.gentoo.org/677074
    Closes: https://bugs.gentoo.org/660446
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/autopep8/Manifest              |  1 +
 dev-python/autopep8/autopep8-1.4.4.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)