Skip to content

fix(dep): lxml version to support proper path parsing - #44

Merged
tuunit merged 1 commit into
tuunit:mainfrom
Aric5301:main
Nov 16, 2025
Merged

fix(dep): lxml version to support proper path parsing #44
tuunit merged 1 commit into
tuunit:mainfrom
Aric5301:main

Conversation

@Aric5301

Copy link
Copy Markdown
Contributor

Bump lxml dependency to >=4.8.0 for the relied-upon support of lxml::etree::parse accepting a path-like object.
In mkdocs-drawio source code, in plugin.py line 107, lxml::etree::parse function is called with a path-like object (specifically I had it be called with PosixPath).
parse's support of accepting such an object and not just a string was only added in lxml version 4.8.0 (see line 581 here https://github.com/lxml/lxml/blob/master/CHANGES.txt).
Therefore, my PR bumps the dependency, as well of updating pyproject.toml towards the release of version 1.12.1, as instructed in the README.
Thank you!

@tuunit tuunit changed the title Bump lxml dependency version fix(dep): lxml version to support proper path parsing Nov 16, 2025
@tuunit

tuunit commented Nov 16, 2025

Copy link
Copy Markdown
Owner

Thanks for contributing

@tuunit
tuunit merged commit 9f46035 into tuunit:main Nov 16, 2025
1 check 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