[PR #2407] [MERGED] Update mysqlclient requirement from <2.0.4 to <2.1.1 #2549

Closed
opened 2026-02-27 12:11:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/modoboa/modoboa/pull/2407
Author: @dependabot[bot]
Created: 11/18/2021
Status: Merged
Merged: 4/20/2022
Merged by: @tonioo

Base: masterHead: dependabot/pip/mysqlclient-lt-2.1.1


📝 Commits (1)

  • 49c316a Update mysqlclient requirement from <2.0.4 to <2.1.1

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 mysql-requirements.txt (+1 -1)

📄 Description

Updates the requirements on mysqlclient to permit the latest version.

Release notes

Sourced from mysqlclient's releases.

v2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/PyMySQL/mysqlclient/compare/v2.0.3...v2.1.0

Changelog

Sourced from mysqlclient's changelog.

What's new in 2.1.0

Release: 2021-11-17

  • Add multistatement=True option. You can disable multi statement. (#500).
  • Remove unnecessary bytes encoder which is remained for Django 1.11 compatibility (#490).
  • Deprecate passwd and db keyword. Use password and database instead. (#488).
  • Windows: Binary wheels are built with MariaDB Connector/C 3.2.4. (#508)
  • set_character_set() sends SET NAMES query always. This means all new connections send it too. This solves compatibility issues when server and client library are different version. (#509)
  • Remove escape() and escape_string() from MySQLdb package. (#511)
  • Add Python 3.10 support and drop Python 3.5 support.

====================== What's new in 2.0.3

Release: 2021-01-01

  • Add -std=c99 option to cflags by default for ancient compilers that doesn't accept C99 by default.
  • You can customize cflags and ldflags by setting MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS. It overrides mysql_config.

====================== What's new in 2.0.2

Release: 2020-12-10

  • Windows: Update MariaDB Connector/C to 3.1.11.
  • Optimize fetching many rows with DictCursor.

====================== What's new in 2.0.1

Release: 2020-07-03

  • Fixed multithread safety issue in fetching row.
  • Removed obsolete members from Cursor. (e.g. messages, _warnings, _last_executed)

====================== What's new in 2.0.0

... (truncated)

Commits

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/modoboa/modoboa/pull/2407 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/18/2021 **Status:** ✅ Merged **Merged:** 4/20/2022 **Merged by:** [@tonioo](https://github.com/tonioo) **Base:** `master` ← **Head:** `dependabot/pip/mysqlclient-lt-2.1.1` --- ### 📝 Commits (1) - [`49c316a`](https://github.com/modoboa/modoboa/commit/49c316a98e0f59d1b4e545eacbb1878f4976f15b) Update mysqlclient requirement from <2.0.4 to <2.1.1 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `mysql-requirements.txt` (+1 -1) </details> ### 📄 Description Updates the requirements on [mysqlclient](https://github.com/PyMySQL/mysqlclient) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/PyMySQL/mysqlclient/releases">mysqlclient's releases</a>.</em></p> <blockquote> <h2>v2.1.0</h2> <h2>What's Changed</h2> <ul> <li>Use unittest.mock instead of mock by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/469">PyMySQL/mysqlclient#469</a></li> <li>Actions: Fix pytest args. by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/470">PyMySQL/mysqlclient#470</a></li> <li>Actions: Fix measuring coverage by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/471">PyMySQL/mysqlclient#471</a></li> <li>Let multi statements be optional by <a href="https://github.com/simlun"><code>@​simlun</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/500">PyMySQL/mysqlclient#500</a></li> <li>Remove bytes encoder that was specifically for Django 1.11 by <a href="https://github.com/rsiemens"><code>@​rsiemens</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/490">PyMySQL/mysqlclient#490</a></li> <li>update remnants of passwd and db also in docs by <a href="https://github.com/ziegenberg"><code>@​ziegenberg</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/488">PyMySQL/mysqlclient#488</a></li> <li>Better support for building on Windows by <a href="https://github.com/sparkyb"><code>@​sparkyb</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/484">PyMySQL/mysqlclient#484</a></li> <li>Fix tests with MySQL 8.0 by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/501">PyMySQL/mysqlclient#501</a></li> <li>Windows: Update MariaDB Connector to 3.2.4 by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/508">PyMySQL/mysqlclient#508</a></li> <li>set_character_set() sends &quot;SET NAMES&quot; always. by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/509">PyMySQL/mysqlclient#509</a></li> <li>Remove escape() and escape_string() from MySQLdb. by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/511">PyMySQL/mysqlclient#511</a></li> <li>_mysql: db -&gt; database, passwd -&gt; password by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/513">PyMySQL/mysqlclient#513</a></li> <li>Always set MULTI_RESULTS flag by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/515">PyMySQL/mysqlclient#515</a></li> <li>Actions: Add Python 3.10 and remove 3.5. by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/516">PyMySQL/mysqlclient#516</a></li> <li>Action: Run Django tests by <a href="https://github.com/methane"><code>@​methane</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/519">PyMySQL/mysqlclient#519</a></li> <li>Fix typos by <a href="https://github.com/kianmeng"><code>@​kianmeng</code></a> in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/520">PyMySQL/mysqlclient#520</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/simlun"><code>@​simlun</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/500">PyMySQL/mysqlclient#500</a></li> <li><a href="https://github.com/rsiemens"><code>@​rsiemens</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/490">PyMySQL/mysqlclient#490</a></li> <li><a href="https://github.com/ziegenberg"><code>@​ziegenberg</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/488">PyMySQL/mysqlclient#488</a></li> <li><a href="https://github.com/sparkyb"><code>@​sparkyb</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/484">PyMySQL/mysqlclient#484</a></li> <li><a href="https://github.com/kianmeng"><code>@​kianmeng</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/pull/520">PyMySQL/mysqlclient#520</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PyMySQL/mysqlclient/compare/v2.0.3...v2.1.0">https://github.com/PyMySQL/mysqlclient/compare/v2.0.3...v2.1.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyMySQL/mysqlclient/blob/main/HISTORY.rst">mysqlclient's changelog</a>.</em></p> <blockquote> <h1>What's new in 2.1.0</h1> <p>Release: 2021-11-17</p> <ul> <li>Add <code>multistatement=True</code> option. You can disable multi statement. (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/500">#500</a>).</li> <li>Remove unnecessary bytes encoder which is remained for Django 1.11 compatibility (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/490">#490</a>).</li> <li>Deprecate <code>passwd</code> and <code>db</code> keyword. Use <code>password</code> and <code>database</code> instead. (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/488">#488</a>).</li> <li>Windows: Binary wheels are built with MariaDB Connector/C 3.2.4. (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/508">#508</a>)</li> <li><code>set_character_set()</code> sends <code>SET NAMES</code> query always. This means all new connections send it too. This solves compatibility issues when server and client library are different version. (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/509">#509</a>)</li> <li>Remove <code>escape()</code> and <code>escape_string()</code> from <code>MySQLdb</code> package. (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/511">#511</a>)</li> <li>Add Python 3.10 support and drop Python 3.5 support.</li> </ul> <h1>====================== What's new in 2.0.3</h1> <p>Release: 2021-01-01</p> <ul> <li>Add <code>-std=c99</code> option to cflags by default for ancient compilers that doesn't accept C99 by default.</li> <li>You can customize cflags and ldflags by setting <code>MYSQLCLIENT_CFLAGS</code> and <code>MYSQLCLIENT_LDFLAGS</code>. It overrides <code>mysql_config</code>.</li> </ul> <h1>====================== What's new in 2.0.2</h1> <p>Release: 2020-12-10</p> <ul> <li>Windows: Update MariaDB Connector/C to 3.1.11.</li> <li>Optimize fetching many rows with DictCursor.</li> </ul> <h1>====================== What's new in 2.0.1</h1> <p>Release: 2020-07-03</p> <ul> <li>Fixed multithread safety issue in fetching row.</li> <li>Removed obsolete members from Cursor. (e.g. <code>messages</code>, <code>_warnings</code>, <code>_last_executed</code>)</li> </ul> <h1>====================== What's new in 2.0.0</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/5340191feb16b1f99a7b43fe7c74a2f690138cb1"><code>5340191</code></a> 2.1.0</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/6ebc1a1972dee69fb54b56867fc795ee220b5d79"><code>6ebc1a1</code></a> Fix typos (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/520">#520</a>)</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/8b920774f27d9d17bc85d1593e5d4a36a7ce3f65"><code>8b92077</code></a> Action: Run Django tests (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/519">#519</a>)</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/267e784e5abe202862e679b27705c9ae03c7d096"><code>267e784</code></a> black</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/8ff7f8f355bebd0603dadb31dd6590b1f84a1a0b"><code>8ff7f8f</code></a> Update HISTORY</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/4b48f627b31a34250188dca6e4f73cea3fee2ac1"><code>4b48f62</code></a> 2.1.0rc1</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/f837c5e00df1115002b4361f1b5ce6b07076faf5"><code>f837c5e</code></a> Update metadata to support Python 3.10.</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/cda3b37e9ef894c8913e33620471580fcf13c09a"><code>cda3b37</code></a> Actions: Add Python 3.10 and remove 3.5. (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/516">#516</a>)</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/5c04abf87d32a3254dd481c03740a8c56520bc3a"><code>5c04abf</code></a> Always set MULTI_RESULTS flag (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/515">#515</a>)</li> <li><a href="https://github.com/PyMySQL/mysqlclient/commit/204fb123683454cdb670e0065f09e50d425b94c8"><code>204fb12</code></a> _mysql: db -&gt; database, passwd -&gt; password (<a href="https://github-redirect.dependabot.com/PyMySQL/mysqlclient/issues/513">#513</a>)</li> <li>Additional commits viewable in <a href="https://github.com/PyMySQL/mysqlclient/compare/MySQLdb-0.3.3...v2.1.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 12:11:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#2549
No description provided.