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

fix(deps): upgrade PyMySQL to v1.1.1 to resolve connection reset bug #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ro0tkid00
Copy link

Description of change

This PR upgrades the PyMySQL dependency to v1.1.1 to resolve an issue where connections reset during database operations caused a NoneType error due to the connection being closed unexpectedly. This issue was fixed in PyMySQL commit bd3bd014. The bug manifested as an AttributeError: 'NoneType' object has no attribute 'settimeout' when the connection was reset during an operation.

QA steps

  • automated tests passing
  • manual qa steps passing (list below)

Risks

  • Major version upgrade of PyMySQL: Could introduce breaking changes in tap-mysql. The backward-incompatible changes (e.g., positional arguments in connect()) have been audited and handled, but there is still a risk of issues if there are any unhandled edge cases.

  • Older MySQL versions: MySQL 5.5 is no longer officially supported by PyMySQL, so users running this version may encounter problems.

Rollback steps

  • revert this branch

AI generated code

https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code

  • this PR has been written with the help of GitHub Copilot or another generative AI tool

@singer-bot
Copy link

Hi @ro0tkid00, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@singer-bot
Copy link

You did it @ro0tkid00!

Thank you for signing the Singer Contribution License Agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants