Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660446 - dev-python/autopep8 should not RDEPEND on pep8
Summary: dev-python/autopep8 should not RDEPEND on pep8
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: 2018-07-05 12:19 UTC by Hanno Böck
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 Hanno Böck gentoo-dev 2018-07-05 12:19:05 UTC
The autopep8 ebuild depends on both pep8 and pycodestyle.
pep8 is the deprecated predecessor of pycodestyle, the modern versions of autopep8 only use pycodestyle. Having pep8 in the dependencies is thus not necessary and only installing a package that is deprecated.

See the setup.py from autopep8:

INSTALL_REQUIRES = (
    ['pycodestyle >= 2.3'] +
    (['argparse'] if sys.version_info < (2, 7) else [])
)
Comment 1 Larry the Git Cow gentoo-dev 2019-11-29 19:54:39 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(+)