optional dependency reportlab is not optional
Open
Nobody has claimed this yet.
S: diagnosed
T: enhancement
- Dominant language
- Python
- Stars
- 491
- Forks
- 290
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 3
Description
reportlab is an optional dependency of the reportlab_generator:
But the imported Flowable is then a hard requirement:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open pymisp/tools/reportlab_generator.py and inspect lines 22-37 and line 52 to trace how reportlab and Flowable are imported. Verify that the generator can be imported and used without reportlab installed, while reportlab-dependent behavior remains available when the optional dependency is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100