Skip to content

Conversation

@frankovo
Copy link
Owner

  • guard pdfexporter with runtime check for missing weasyprint
  • raise clear runtimeerror when pdf export requested without dependency
  • silence traceback in click cli, showing only concise error message
  • add pytest skip logic for pdf export tests when weasyprint not installed
  • add coverage test for missing weasyprint branch in pdfexporter
  • update readme and readme-pypi.md with new sections:
    • 📄 optional pdf export
    • ⚠️ weasyprint setup (linux, macos, windows instructions)

breaking change: weasyprint is no longer a hard dependency. users who need pdf export must install with:
pip install dns-benchmark-tool[pdf]

…p instructions

- guard pdfexporter with runtime check for missing weasyprint
- raise clear runtimeerror when pdf export requested without dependency
- silence traceback in click cli, showing only concise error message
- add pytest skip logic for pdf export tests when weasyprint not installed
- add coverage test for missing weasyprint branch in pdfexporter
- update readme and readme-pypi.md with new sections:
  - 📄 optional pdf export
  - ⚠️ weasyprint setup (linux, macos, windows instructions)

breaking change: weasyprint is no longer a hard dependency. users who need pdf export must install with:
  pip install dns-benchmark-tool[pdf]
@frankovo frankovo merged commit 63eed03 into main Nov 29, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants