-
Notifications
You must be signed in to change notification settings - Fork 55
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
Upgrade to pydantic v2 #286
Conversation
resource_ids={"RolePolicy"}, | ||
resource_types={"AWS::IAM::Policy"}, | ||
), | ||
Failure( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two new failures are added. Review if they are correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are, they come from Skyscanner/pycfmodel#133 which is not included in the latest release yet
@@ -17,7 +17,6 @@ def bad_template_no_configuration(): | |||
"template_path", | |||
[ | |||
"rules/S3LifecycleConfiguration/good_template.yaml", | |||
"rules/S3LifecycleConfiguration/allowed_template_malformed_lifecycle_rules.yaml", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's a malmormed policy, pycfmodel must not parse it. This test is wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great 🚀
resource_ids={"RolePolicy"}, | ||
resource_types={"AWS::IAM::Policy"}, | ||
), | ||
Failure( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are, they come from Skyscanner/pycfmodel#133 which is not included in the latest release yet
will continue in #289 as for some reason tests are not being run as we expected |
Upgrade to pydantic v2 (#286)
Depends on: Skyscanner/pycfmodel#141