oasis-open / cti-stix-elevator

OASIS Cyber Threat Intelligence (CTI) TC Open Repository: Convert STIX 1.2 XML to STIX 2.x JSON
https://stix2-elevator.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
49 stars 23 forks source link

Add required ReadTheDocs configuration #294

Open clenk opened 8 months ago

clenk commented 8 months ago

Should fix broken RTD doc builds. Needed because of https://blog.readthedocs.com/migrate-configuration-v2/

@rpiazza

clenk commented 8 months ago

Failing due to

AttributeError: module 'lxml.etree' has no attribute '_ElementStringResult'

clenk commented 8 months ago

More info on failure: stixmarx uses that etree property here: https://github.com/mitre/stixmarx/blob/4f906eb15af431c12c36c8683f9bcd60d39c364e/stixmarx/xml.py#L59 But it was removed in this commit: https://github.com/lxml/lxml/commit/eba79343d0e7ad1ce40169f60460cdd4caa29eb3

We could pin lxml to <5.1.1 here or fix that line in stixmarx and make a new release.