Bug: Installing misp-stix
and stix2
in the same environment breaks misp_stix_converter export --version 2.1
#69
Labels
bug
Something isn't working
MISP-STIX usage
CLI
Expected behavior
When installing
misp-stix
andstix2
in the same Python environment, I would expect to still be able to usemisp_stix_converter export --version 2.1
and produce a STIX 2.1 Bundle.Actual behavior
When running
misp_stix_converter export --version 2.1
on a MISP Event file after installingstix2
I get:This seems to be due to
misp-lib-stix2
andstix2
both using the samestix2
package name. So when installingstix2
aftermisp-lib-stix2
,misp-lib-stix2
gets overwritten. Ideallymisp-lib-stix2
would use it's own package name so both can be used in the same environment.Steps to reproduce
pip
andsetuptools
, then installmisp-stix
, then installstix2
.misp_stix_converter export --version 2.1 --file misp.event.json
against a valid MISP Eventpip freeze
of my Python 3.11 environment:Version
2025.2.14
Python version
3.11
Relevant log output
Extra attachments
Sample MISP event from https://www.circl.lu/doc/misp/feed-osint/0b988513-9535-42f0-9ebc-5d6aec2e1c79.json:
misp.event.circl-osint-feed-0b988513-9535-42f0-9ebc-5d6aec2e1c79.json
Code of Conduct
The text was updated successfully, but these errors were encountered: