When using the latest pinned version (as everyone should be doing in production) the
python-dev makefile target fails with setuptools errors
ImportError: cannot import name 'Feature' from 'setuptools' (/private/tmp/foo/lib/python3.8/site-packages/setuptools/__init__.py)
You can recreate this problem by cloning the repo, checking out v7.9.1 and running
python -m venv myenv myenv/bin/pip install -r /path/to/beat/libbeat/tests/system/requirements.txt
It appears that this has been fixed on the
master branch but the entire python environment seems to have been updated so it's hard to pinpoint exactly which change will fix this as a patch.
The build environment for beats is really, really complicated. Why are there not CI tests for the current release? Is v7.9.1 the current release?