py-flake8 in main requires package in testing
cat /etc/alpine-release
3.9.2
# apk add py-flake8
(1/10) Installing py-mccabe (0.6.1-r1)
(2/10) Installing py3-mccabe (0.6.1-r1)
(3/10) Installing py3-pyflakes (1.6.0-r3)
(4/10) Installing py3-flake8 (3.4.1-r2)
(5/10) Installing py3-pep8 (1.7.1-r0)
(6/10) Installing py-pep8 (1.7.1-r0)
(7/10) Installing py-pyflakes (1.6.0-r3)
(8/10) Installing py-flake8 (3.4.1-r2)
(9/10) Installing py2-pyflakes (1.6.0-r3)
(10/10) Installing py2-mccabe (0.6.1-r1)
Executing busybox-1.29.3-r10.trigger
OK: 1042 MiB in 266 packages
# flake8 --help
Traceback (most recent call last):
File "/usr/bin/flake8", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3126, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 581, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 898, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 784, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycodestyle<2.4.0,>=2.0.0' distribution was not found and is required by flake8
(from redmine: issue id 10137, created on 2019-03-19, closed on 2019-06-19)