-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bump mysql-connector-python from 8.1.0 to 8.3.0 #890
Bump mysql-connector-python from 8.1.0 to 8.3.0 #890
Conversation
fb80a7c
to
9aa2d15
Compare
eb72c0b
to
5cf10b0
Compare
e68926f
to
18f3458
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #890 +/- ##
========================================
Coverage 91.12% 91.13%
========================================
Files 61 61
Lines 4261 4265 +4
Branches 469 469
========================================
+ Hits 3883 3887 +4
Misses 312 312
Partials 66 66 ☔ View full report in Codecov by Sentry. |
@dependabot rebase |
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
@dependabot recreate |
@dependabot rebase |
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
8afc757
to
8e275f7
Compare
@dependabot recreate |
Bumps [mysql-connector-python](http://dev.mysql.com/doc/connector-python/en/index.html) from 8.1.0 to 8.3.0. --- updated-dependencies: - dependency-name: mysql-connector-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
0d8902e
to
410edfb
Compare
Code changes are related to the following updates: |
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.
My main concern here is having to add so many additional mock methods just because our external dependency decided to change their internal functionality. I think perhaps this is a bit of a code smell at this point. Perhaps we should look at how we might wrap the MySQLConnection so we only have to mock the methods we actually call on it during testing. Something like https://stackoverflow.com/a/42799362
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 like a surprisingly difficult minor upgrade!
The frequent use of casting strike's me as a (possibly unavoidable) code smell, but there is one particular place where it can be easily cleaned up.
I personally feel that the developers didn't communicate enough the breadth of the changes they have done. These changes aren't even in their changelogs. I basically had to check out their source code and compare the diffs to figure this out. |
I agree with this. I'll try to write to write a wrapper on top of |
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.
Thanks for the changes. It looks really good.
If the wrapper turns out to be a bit of a task, don't do it here. Make a new ticket for it as technical debt and bring it up in the retrospective next week.
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.
Thanks for the refactoring, much better!
Bumps mysql-connector-python from 8.1.0 to 8.3.0.
You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)