Skip to content

Request for More Flexible Dependency Requirements #64

Open
@nihalshah-dev

Description

@nihalshah-dev

Hii maintainers🙋‍♂️,

Thanks for this amazing fork🤝

I'm currently using mkdocs-to-pdf==0.10.0 in a project where we have multiple MkDocs plugins. I've encountered dependency conflicts that make it challenging to use mkdocs-to-pdf alongside other plugins.

Current issue:

  • mkdocs-to-pdf==0.10.0 strictly requires weasyprint==62.3
  • weasyprint==62.3 strictly requires beautifulsoup4==4.9.3
  • This creates conflicts with other plugins that require newer versions of beautifulsoup4 (>=4.12.0)

Specific example:

  • mkdocs-inline-select-svg-plugin==0.1.0 requires beautifulsoup4>=4.12.0
  • Currently impossible to use both plugins together due to pinned dependencies

Current workaround:

  • I have temporarily uninstalled conflicting plugins to generate PDFs. but this isn't sustainable for production environments.

Would it be possible to:

  1. Test if the plugin works with newer versions of dependencies?
  2. Update the requirements to use version ranges instead of pinned versions where feasible?

This would greatly improve the plugin's compatibility with other MkDocs extensions and make it easier to maintain projects using multiple plugins.

Let me know if need anything else from me to resolve this issue!!

Awaiting your response😉

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions