Open
Description
Blueliv dependendcy breaks full-test in CI:
+ pip install -r intelmq/bots/collectors/blueliv/REQUIREMENTS.txt
intelmq/bots/collectors/blueliv/REQUIREMENTS.txt
Collecting git+https://github.com/Blueliv/api-python-sdk (from -r intelmq/bots/collectors/blueliv/REQUIREMENTS.txt (line 4))
Cloning https://github.com/Blueliv/api-python-sdk to /tmp/pip-req-build-k84fqhvt
Running command git clone --filter=blob:none --quiet https://github.com/Blueliv/api-python-sdk /tmp/pip-req-build-k84fqhvt
Resolved https://github.com/Blueliv/api-python-sdk to commit d1228945ecf44b5a93df2e51c4255aee2987ad32
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting requests<=2.5.1,>=2.4.0 (from blueliv-python-sdk==2.3.0->-r intelmq/bots/collectors/blueliv/REQUIREMENTS.txt (line 4))
Downloading requests-2.5.1-py2.py3-none-any.whl.metadata (28 kB)
Requirement already satisfied: python-dateutil>=2.4.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from blueliv-python-sdk==2.3.0->-r intelmq/bots/collectors/blueliv/REQUIREMENTS.txt (line 4)) (2.9.0.post0)
Requirement already satisfied: six>=1.5 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from python-dateutil>=2.4.0->blueliv-python-sdk==2.3.0->-r intelmq/bots/collectors/blueliv/REQUIREMENTS.txt (line 4)) (1.17.0)
Downloading requests-2.5.1-py2.py3-none-any.whl (464 kB)
Building wheels for collected packages: blueliv-python-sdk
Building wheel for blueliv-python-sdk (setup.py): started
Building wheel for blueliv-python-sdk (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'test_requires'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for blueliv-python-sdk
Running setup.py clean for blueliv-python-sdk
Failed to build blueliv-python-sdk
ERROR: Failed to build installable wheels for some pyproject.toml based projects (blueliv-python-sdk)
The library blueliv-python-sdk
isn't maintained any more: https://github.com/Blueliv/api-python-sdk and their website doesn't work: https://blueliv.com so we probably have to remove it from IntelMQ.
However, it doesn't really explain the issue - do we need to install wheel
in CI manually now?