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(guardrails): limit support to versions <0.5.2 #941

Merged
merged 8 commits into from
Aug 22, 2024
Merged

Conversation

harrisonchu
Copy link
Contributor

@harrisonchu harrisonchu commented Aug 21, 2024

after version 0.5.2 guardrails has major changes that makes the autoinstrumentor here useless. The package after that version also has native instrumentation that works quite well so we'll limit our tox testing to versions < 0.5.2 and for anyone that uses this instrumentor with a version of guardrails >= 0.5.2 the auto instrumentor will be a no op.

@harrisonchu harrisonchu requested a review from a team as a code owner August 21, 2024 19:33
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 21, 2024
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Aug 21, 2024
@harrisonchu harrisonchu changed the title feat(guardrails): limit support to versions <0.5.0 feat(guardrails): limit support to versions <0.5.2 Aug 21, 2024
@@ -35,7 +35,7 @@ dependencies = [

[project.optional-dependencies]
instruments = [
"guardrails-ai >= 0.4.5",
"guardrails-ai",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this just be a range?

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 21, 2024
@harrisonchu harrisonchu merged commit 3729e09 into main Aug 22, 2024
4 checks passed
@harrisonchu harrisonchu deleted the guardrails-fix branch August 22, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants