Skip to content

Blueliv dependendcy breaks full-test in CI #2593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kamil-certat opened this issue Apr 3, 2025 · 1 comment
Open

Blueliv dependendcy breaks full-test in CI #2593

kamil-certat opened this issue Apr 3, 2025 · 1 comment
Labels
bug Indicates an unexpected problem or unintended behavior component: tests

Comments

@kamil-certat
Copy link
Contributor

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?

@sebix
Copy link
Member

sebix commented Apr 3, 2025

I have looked at that dependency too some weeks ago and also came to the conclusion that we need to remove the bot. It's not working anyway with the broken dependency.

@sebix sebix added this to the 3.4.1 Patch release milestone Apr 3, 2025
@sebix sebix added bug Indicates an unexpected problem or unintended behavior component: tests labels Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: tests
Projects
None yet
Development

No branches or pull requests

2 participants