[PR #32402] chore(deps): bump gmpy2 from 2.2.1 to 2.3.0 in /api #33719

Closed
opened 2026-02-21 20:53:46 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/32402

State: closed
Merged: Yes


Bumps gmpy2 from 2.2.1 to 2.3.0.

Release notes

Sourced from gmpy2's releases.

Release gmpy2 2.3.0a1

Version bump from 2.2.2a1 to 2.3.0a1.

Release gmpy2 2.2.2a1

Release 2.2.2 provide preliminary support for free-threaded Python. And many bug fixes.

Release gmpy2 2.2.0

Release of gmpy2 2.2.0 with support for Cpython 3.12 and 3.13.

Release gmpy2 2.2.0a2

Release of gmpy2 2.2.0a2.

Release gmpy2 2.2.0a1

First release of gmpy2 2.2.0a1 with support for CPython 3.12.

Release gmpy2 2.1.5

Final (?) release of the 2.1.x series. No code changes since 2.1.3. Fixes to build Apple Silicon binary builds are the only changes since 2.1.3.

Release gmpy2 2.1.3

Latest release with minor bug fixes and support for Python 3.11

Release gmpy2 2.1.2

Added binary wheels for Apple silicon.

Release gmpy2-2.1.0b6

Test release for 2.1.0b6 including binary wheels for multiple platforms.

Release gmpy2-2.1.0b5

Various bug fixes and tested with GMP 6.2.0, MPFR 4.1.0, and MPC 1.2.0rc1.

Release gmpy2 2.1.0 beta1

The first beta release of gmpy2 2.1.0.

Release gmpy2 2.1.0a4

This is bug fix for Cython and adds fmma() and fmms() from MPFR 4.

gmpy2 2.1.0 alpha 1

First public release of gmpy2 2.1.0 series.

Changelog

Sourced from gmpy2's changelog.

Changes in gmpy2 2.3.0

  • Drop support for CPython < 3.9, experimental support for PyPy. (skirpichev)
  • Improved support for mixed mpfr and mpc arithmetic. (skirpichev)
  • Preliminary support for free-threaded builds. (skirpichev)
  • Fix behavior and memory leaks for contexts. (skirpichev)
  • Fix memory leaks for mpfr caching. (skirpichev)
  • Fix rounding errors in float(mpz) and float(mpq). (skirpichev)
  • Add missing methods to mpz and mpq. (skirpichev)
  • Fix round(mpz, ndigits) if ndigits is negative. (skirpichev)
  • Use context's rounding mode per default in format and round. (skirpichev)
  • Use setuptools_scm to manage versions. (skirpichev)
  • Fix exception for float(mpfr('inf')) (was: OverflowError). (skirpichev)
  • Ignore sign bit of NaN's in string output. (skirpichev)
  • Support '%' formatting type for mpfr's. (skirpichev)
  • Support floating-point formatting types for mpz's. (skirpichev)
  • Set default precision to 6 for 'e'/'E' format types. (skirpichev)
  • Support "alternate form" in floating-point formatting. (skirpichev)
  • Improve documentation for format support in gmpy2's types. (skirpichev)
  • Use 'g' (not 'f') as default formatting type for mpfr's. (skirpichev)
  • Specify case, when formatting type and precision are missing. (skirpichev)
  • Disable scripts/mp_bitcnt_t.diff in binary wheels. (skirpichev)

Changes in gmpy2 2.2.2

  • Fix memory leak for mpfr/mpc cache, see issue 511.
  • Fix memory leak in GMPy_CTXT_Exit(), see issue 515.
  • Restore 'm' in library list, see issue 538.
  • Adjust to_bytes() behavior to match CPython.
  • Provide wheels for CPython v3.14.
  • Provide wheels for Linux and Windows ARM64.
Commits
  • 4a4237c Merge pull request #677 from skirpichev/release-v2.3.0
  • a6ec5f9 Simplify numpy deps
  • 25bd027 Drop docs.yml (now redundant)
  • f795d1f Merge pull request #675 from skirpichev/remove-bitcnt-patch/674
  • dacbcfe Disable mp_bitcnt_t.diff in binary wheels
  • 593b140 Merge pull request #670 from skirpichev/misc
  • 3cdfc1a Update src/pythoncapi_compat.h
  • 2181ec9 Merge pull request #672 from gmpy2/dependabot/github_actions/sorenlouv/backpo...
  • 8a3aea2 Workaround curl failures in scripts/cibw_before_all.sh
  • 8a16577 Merge pull request #671 from gmpy2/dependabot/github_actions/actions/upload-a...
  • Additional commits viewable in compare view

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 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)
**Original Pull Request:** https://github.com/langgenius/dify/pull/32402 **State:** closed **Merged:** Yes --- Bumps [gmpy2](https://github.com/gmpy2/gmpy2) from 2.2.1 to 2.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gmpy2/gmpy2/releases">gmpy2's releases</a>.</em></p> <blockquote> <h2>Release gmpy2 2.3.0a1</h2> <p>Version bump from 2.2.2a1 to 2.3.0a1.</p> <h2>Release gmpy2 2.2.2a1</h2> <p>Release 2.2.2 provide preliminary support for free-threaded Python. And many bug fixes.</p> <h2>Release gmpy2 2.2.0</h2> <p>Release of gmpy2 2.2.0 with support for Cpython 3.12 and 3.13.</p> <h2>Release gmpy2 2.2.0a2</h2> <p>Release of gmpy2 2.2.0a2.</p> <h2>Release gmpy2 2.2.0a1</h2> <p>First release of gmpy2 2.2.0a1 with support for CPython 3.12.</p> <h2>Release gmpy2 2.1.5</h2> <p>Final (?) release of the 2.1.x series. No code changes since 2.1.3. Fixes to build Apple Silicon binary builds are the only changes since 2.1.3.</p> <h2>Release gmpy2 2.1.3</h2> <p>Latest release with minor bug fixes and support for Python 3.11</p> <h2>Release gmpy2 2.1.2</h2> <p>Added binary wheels for Apple silicon.</p> <h2>Release gmpy2-2.1.0b6</h2> <p>Test release for 2.1.0b6 including binary wheels for multiple platforms.</p> <h2>Release gmpy2-2.1.0b5</h2> <p>Various bug fixes and tested with GMP 6.2.0, MPFR 4.1.0, and MPC 1.2.0rc1.</p> <h2>Release gmpy2 2.1.0 beta1</h2> <p>The first beta release of gmpy2 2.1.0.</p> <h2>Release gmpy2 2.1.0a4</h2> <p>This is bug fix for Cython and adds fmma() and fmms() from MPFR 4.</p> <h2>gmpy2 2.1.0 alpha 1</h2> <p>First public release of gmpy2 2.1.0 series.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gmpy2/gmpy2/blob/master/docs/history.rst">gmpy2's changelog</a>.</em></p> <blockquote> <h2>Changes in gmpy2 2.3.0</h2> <ul> <li>Drop support for CPython &lt; 3.9, experimental support for PyPy. (skirpichev)</li> <li>Improved support for mixed <code>mpfr</code> and <code>mpc</code> arithmetic. (skirpichev)</li> <li>Preliminary support for free-threaded builds. (skirpichev)</li> <li>Fix behavior and memory leaks for contexts. (skirpichev)</li> <li>Fix memory leaks for <code>mpfr</code> caching. (skirpichev)</li> <li>Fix rounding errors in float(mpz) and float(mpq). (skirpichev)</li> <li>Add missing methods to <code>mpz</code> and <code>mpq</code>. (skirpichev)</li> <li>Fix round(mpz, ndigits) if ndigits is negative. (skirpichev)</li> <li>Use context's rounding mode per default in <code>format</code> and <code>round</code>. (skirpichev)</li> <li>Use setuptools_scm to manage versions. (skirpichev)</li> <li>Fix exception for float(mpfr('inf')) (was: OverflowError). (skirpichev)</li> <li>Ignore sign bit of NaN's in string output. (skirpichev)</li> <li>Support '%' formatting type for mpfr's. (skirpichev)</li> <li>Support floating-point formatting types for mpz's. (skirpichev)</li> <li>Set default precision to 6 for 'e'/'E' format types. (skirpichev)</li> <li>Support &quot;alternate form&quot; in floating-point formatting. (skirpichev)</li> <li>Improve documentation for <code>format</code> support in gmpy2's types. (skirpichev)</li> <li>Use 'g' (not 'f') as default formatting type for mpfr's. (skirpichev)</li> <li>Specify case, when formatting type and precision are missing. (skirpichev)</li> <li>Disable scripts/mp_bitcnt_t.diff in binary wheels. (skirpichev)</li> </ul> <h2>Changes in gmpy2 2.2.2</h2> <ul> <li>Fix memory leak for mpfr/mpc cache, see issue 511.</li> <li>Fix memory leak in GMPy_CTXT_Exit(), see issue 515.</li> <li>Restore 'm' in library list, see issue 538.</li> <li>Adjust to_bytes() behavior to match CPython.</li> <li>Provide wheels for CPython v3.14.</li> <li>Provide wheels for Linux and Windows ARM64.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gmpy2/gmpy2/commit/4a4237c880caa3d2cd9831a10cac5c1a368d85a6"><code>4a4237c</code></a> Merge pull request <a href="https://redirect.github.com/gmpy2/gmpy2/issues/677">#677</a> from skirpichev/release-v2.3.0</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/a6ec5f9aba8044600081e0aa3b46aa85306c617b"><code>a6ec5f9</code></a> Simplify numpy deps</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/25bd0278161a192559dc998eb8b217b9f362be6c"><code>25bd027</code></a> Drop docs.yml (now redundant)</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/f795d1fe79cf4aea1ea3b9e1978231a3abaf8506"><code>f795d1f</code></a> Merge pull request <a href="https://redirect.github.com/gmpy2/gmpy2/issues/675">#675</a> from skirpichev/remove-bitcnt-patch/674</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/dacbcfe8cfc57b0787b20fd9de6f65f91aa1df96"><code>dacbcfe</code></a> Disable mp_bitcnt_t.diff in binary wheels</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/593b140a3988fb9a98ad330bcef4c038b5014b9c"><code>593b140</code></a> Merge pull request <a href="https://redirect.github.com/gmpy2/gmpy2/issues/670">#670</a> from skirpichev/misc</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/3cdfc1ae6532250dd593c1e57d7bd74f7f849c57"><code>3cdfc1a</code></a> Update src/pythoncapi_compat.h</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/2181ec9fd98e431ad5c8aba5414610371946af59"><code>2181ec9</code></a> Merge pull request <a href="https://redirect.github.com/gmpy2/gmpy2/issues/672">#672</a> from gmpy2/dependabot/github_actions/sorenlouv/backpo...</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/8a3aea22fe20e33d3c29bb94f36a30c29696a944"><code>8a3aea2</code></a> Workaround curl failures in scripts/cibw_before_all.sh</li> <li><a href="https://github.com/gmpy2/gmpy2/commit/8a16577b8e8dd15db8e677d23107d1c6e253dd86"><code>8a16577</code></a> Merge pull request <a href="https://redirect.github.com/gmpy2/gmpy2/issues/671">#671</a> from gmpy2/dependabot/github_actions/actions/upload-a...</li> <li>Additional commits viewable in <a href="https://github.com/gmpy2/gmpy2/compare/v2.2.1...v2.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=gmpy2&package-manager=uv&previous-version=2.2.1&new-version=2.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 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) </details>
yindo added the pull-request label 2026-02-21 20:53:46 -05:00
yindo closed this issue 2026-02-21 20:53:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#33719