-
Notifications
You must be signed in to change notification settings - Fork 23
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
RHIROS-987 - upgrade flask,werkzeug to newer versions #301
Conversation
This updates flask to 2.2.3, I am yet to go through change matrix of 2.2.1, 2.2.2 and 2.2.3 https://github.com/pallets/flask/releases |
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.
@upadhyeammit, PR jobs are not happy. There is failure related to pytest.
The sqlalchemy query api has been deprecated and we will need to migrate the queries as per new 2.0 specification : https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#migration-20-query-usage . I will checking this further. |
We are using https://github.com/smurfix/flask-script |
/retest |
2d81b7a
to
e84407c
Compare
After rebase I can see test failures :\ I am still working on to get all queries based on 2.0 spec |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #301 +/- ##
==========================================
+ Coverage 72.52% 72.91% +0.38%
==========================================
Files 28 29 +1
Lines 1354 1377 +23
==========================================
+ Hits 982 1004 +22
- Misses 372 373 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
/retest |
2 similar comments
/retest |
/retest |
As per the discussion with @yash2189 the EE failures should not be related to this change. He is checking further on this. |
/retest |
/retest |
/retest |
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.
@upadhyeammit Could you add some unittests for the code changes for example, the subquery change?
IMO it would be better to assert behavior consistency this way.
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.
@upadhyeammit Shall we add the Poetry changes here, after #331 is approved? Or vice versa?
1cbfbf5
to
66e1616
Compare
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.
Looks good to me now 👍🏻.
Thanks @upadhyeammit for resolving the comments!
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.
Few suggestions added. Please feel free to address those in same or separate pull-request.
@upadhyeammit - jobs are not happy :) |
I rebased, squashed and looks like we are green! |
Thank you @kgaikwad @r14chandra and @saltgen for reviews! I am merging this one now! |
Why do we need this change? 💭
markupsafe = "==2.0.1"
as I don't see any of the latest dependencies usingsoft_unicode
from markupsafe. More about issue at ImportError: cannot import name 'soft_unicode' from 'markupsafe' in Release 1.38.0 aws/aws-sam-cli#3661Documentation update? 📝
Security Checklist 🔒
Upon raising this PR please go through RedHatInsights/secure-coding-checklist
💂♂️ Checklist 🎯