Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Increase valid version range for lxml dependency #1215

Open
CalebCourier opened this issue Jan 16, 2025 · 0 comments
Open

[feat] Increase valid version range for lxml dependency #1215

CalebCourier opened this issue Jan 16, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@CalebCourier
Copy link
Collaborator

Description
Increase valid version range for lxml dependency

Why is this needed
When building for slim linux platforms, older versions (<5.x) of lxml only have prebuilt wheels for python 3.11 and below.

Implementation details
Upgrade to lxml 5.x and test. If everything still works as expected, increase range to allow 5.x in pyproject.toml

End result
End users can use a larger version range of lxml with guardrails-ai.

Bonus points if we can make lxml an optional dependency on a rail extra, but this would require a rather large refactor.

@CalebCourier CalebCourier added the enhancement New feature or request label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant