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

Bump mysqlclient from 2.2.0 to 2.2.7 #1375

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 10, 2025

Bumps mysqlclient from 2.2.0 to 2.2.7.

Release notes

Sourced from mysqlclient's releases.

v2.2.7

What's Changed

New Contributors

Full Changelog: PyMySQL/mysqlclient@v2.2.6...v2.2.7

v2.2.6

What's Changed

  • MariaDB Connector/C 3.4 and MairaDB 11.4 had enabled SSL and CA verification by default. It affected 2.2.5 windows wheels. This release disables SSL and CA verification by default for backward compatibility. (#731)

  • Add server_public_key_path option. It is needed to connect MySQL server with sha256_password or caching_sha2_password authentication plugin without secure connection. (#744)

Full Changelog: PyMySQL/mysqlclient@v2.2.5...v2.2.6

v2.2.5

What's Changed

New Contributors

Full Changelog: PyMySQL/mysqlclient@v2.2.4...v2.2.5

v2.2.4

What's Changed

Full Changelog: PyMySQL/mysqlclient@v2.2.3...v2.2.4

v2.2.3

What's Changed

... (truncated)

Changelog

Sourced from mysqlclient's changelog.

What's new in 2.2.7

Release: 2025-01-10

  • Add user, host, database, and db attributes to Connection. opentelemetry-instrumentation-(dbapi|mysqlclient) use them. (#753)

====================== What's new in 2.2.6

Release: 2024-11-12

  • MariaDB Connector/C 3.4 and MairaDB 11.4 enabled SSL and CA verification by default. It affected 2.2.5 windows wheel. This release disables SSL and CA verification by default. (#731)

  • Add server_public_key_path option. It is needed to connect MySQL server with sha256_password or caching_sha2_password authentication plugin without secure connection. (#744)

====================== What's new in 2.2.5

Release: 2024-10-20

  • (Windows wheel) Update MariaDB Connector/C to 3.4.1. #726
  • (Windows wheel) Build wheels for Python 3.13. #726

====================== What's new in 2.2.4

Release: 2024-02-09

  • Support ssl=True in connect(). (#700) This makes better compatibility with PyMySQL and mysqlclient==2.2.1 with libmariadb. See #698 for detail.

====================== What's new in 2.2.3

Release: 2024-02-04

  • Fix Connection.kill() method that broken in 2.2.2. (#689)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Summary by Sourcery

Update mysqlclient to version 2.2.7.

New Features:

  • Add user, host, database, and db attributes to Connection.

Enhancements:

  • Add support for OpenTelemetry instrumentation.
  • Disable SSL and CA verification by default for backward compatibility.
  • Add server_public_key_path option for connecting to MySQL server with sha256_password or caching_sha2_password authentication without a secure connection.
  • Update MariaDB Connector/C to 3.4.1.
  • Add support for building against Percona Server builds of MySQL client library libperconaserverclient.
  • Support ssl=True in connect() for better compatibility with PyMySQL and mysqlclient==2.2.1 with libmariadb.
  • Fix Connection.kill() method.

Bumps [mysqlclient](https://github.com/PyMySQL/mysqlclient) from 2.2.0 to 2.2.7.
- [Release notes](https://github.com/PyMySQL/mysqlclient/releases)
- [Changelog](https://github.com/PyMySQL/mysqlclient/blob/main/HISTORY.rst)
- [Commits](PyMySQL/mysqlclient@v2.2.0...v2.2.7)

---
updated-dependencies:
- dependency-name: mysqlclient
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 10, 2025
Copy link
Contributor

sourcery-ai bot commented Jan 10, 2025

Reviewer's Guide by Sourcery

This pull request bumps the version of mysqlclient from 2.2.0 to 2.2.7. This addresses several issues, including MariaDB Connector/C compatibility, support for newer authentication plugins, and general performance improvements. The changes are limited to updating the version number in setup.py.

Class diagram showing Connection class changes in v2.2.7

classDiagram
    class Connection {
        +str user
        +str host
        +str database
        +str db
        +kill()
        +connect()
    }
    note for Connection "New attributes added for OpenTelemetry support"

    class ConnectionOptions {
        +bool ssl
        +str server_public_key_path
    }

    Connection -- ConnectionOptions
Loading

File-Level Changes

Change Details Files
Update mysqlclient dependency
  • The version of mysqlclient is updated from 2.2.0 to 2.2.7 in the dependency list for both "mysql" and "all" installation options.
setup.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants