Hi ports@,
After an upgrade to OpenBSD 6.9, flake8 no longer works:
---
[...]
File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 585, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py",
line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyflakes<2.3.0,>=2.2.0'
distribution was not found and is required by flake8
---
packages installed:
flake8-3.8.4 modular python code checker wrapping pep8 and pyflakes
pyflakes-2.3.1 passive checker of Python programs
python-3.8.8p0 interpreted object-oriented programming language
A problem with my machine or perhaps a flake8 package problem?
Thanks,
--Kor