Closed patrick-austin closed 6 months ago
@patrick-austin the newer version of lxml is more strict and causes those errors. You can avoid that by pip install 'lxml<5'
.
Marius has fixed that already but we need to release new Galaxy packages to pypi. Everyone is on vacation so this can take a few days.
Thanks @bgruening , good to know there's already awareness/fix of this - I couldn't see an issue about it here so thought it better to report it than not.
I'm using lxml==4.9.4
locally, but the CI will still fail. Though having said that I suppose adding a step to GHA pinning lxml
would be a workaround if needed. Probably easiest to just wait for the release.
Packages are released, this should work now.
Running
planemo lint
/planemo shed_lint
locally or by CI fails (when reaching the xsd section) with:When the latest version of
lxml
(5.0.0) is installed (which the CI does automatically). Installing an older version (tested with 4.9.4 locally) does not cause the same error.Perhaps this is an underlying problem with
lxml
that will be fixed in time, but if not then I would've thought the version just needs to be pinned to fix this: https://github.com/galaxyproject/planemo/blob/f6ce25ca689e7dc4f03e67d7b40fdd4d98e204b2/requirements.txt#L12