Skip to content

deps: bump mpmath from 1.3.0 to 1.4.1 - #332

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/mpmath-1.4.1
Open

deps: bump mpmath from 1.3.0 to 1.4.1#332
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/mpmath-1.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps mpmath from 1.3.0 to 1.4.1.

Release notes

Sourced from mpmath's releases.

1.4.1

Bug fixes:

  • Fix test_hexadecimal_with_libc_bulk(), see #1049 (Doug Torrance)
  • Keep available deprecated aliases for mpc/mpf_log() (Sergey B Kirpichev)
  • Use version_file option of setuptools-scm to keep version info, see #1048 (Sergey B Kirpichev)
  • Add workaround for test on s390x, see #1061 (Sergey B Kirpichev)

Full Changelog: mpmath/mpmath@1.4.0...1.4.1

1.4.0

Features:

  • Support underscores as digit separators per PEP 515, see #661 (Sergey B Kirpichev)
  • Add rationals converter for mpf's, see #666 (Sergey B Kirpichev)
  • Rewrite bernpoly/eulerpoly to avoid dependency on bernoulli(1) convention, see #700 (Sergey B Kirpichev)
  • Support base kwarg for from_str(), see #703 (Jonathan Warner, Sergey B Kirpichev)
  • Support randmatrix() for mp.iv and mp contexts, see #527 (Maximilian Gaukler)
  • Added rank() function for matrices, see #610 (Jan-Philipp Hoffmann)
  • Add plus flag to select the B_1 sign convention for bernoulli/bernfrac, see #724 (Jeremy Tan Jie Rui, Sergey B Kirpichev)
  • Add mpf.as_integer_ratio() method, support construction of mpf from Decimal objects, see #731 (Sergey B Kirpichev)
  • Expose lower/upper_gamma functions, see #740 (Sergey B Kirpichev)
  • Support mpc initialization from string, see #743 (Sergey B Kirpichev)
  • Support asinh/acosh/atanh in the fp context, see #750 (Sergey B Kirpichev)
  • Support binary/octal/hexadecimal string output, see #711 (Jonathan Warner, Sergey B Kirpichev)
  • Support pickling for matrices and mpi, see #761 (Sergey B Kirpichev)
  • Support matrix.__array__() dunder method, see #767 (Sergey B Kirpichev)
  • Support more number syntaxes, see #778 (Sergey B Kirpichev)
  • Run mpmath as a module for interactive work, see #773, #923, #931, #936, #939 and #954 (Sergey B Kirpichev)
  • Add signed option to to_man_exp(), see #783 (Sergey B Kirpichev)
  • Add fp.hypot, see #798 (Sergey B Kirpichev)
  • Support inf/nan's in ctx.almosteq(), #802 (Sergey B Kirpichev)
  • Implement mpf.__format__(), see #819, #831, #850, #859, #857, #862, #881, #944 and #966 (Javier Garcia, Sergey B Kirpichev)
  • Support conversion from scalar ndarray's, see #821 (Sergey B Kirpichev)
  • Support rounding modes in mpf.__format__, see #823, #831, #834 and #969 (Javier Garcia, Sergey B Kirpichev)
  • Support '%' presentation type for mpf, see #847 (Sergey B Kirpichev)
  • Support gmpy2-like rounding modes in to_str(), see #830 (Javier Garcia)
  • Implement 'a'/'A' formating types for mpf.__format__, see #841 and #870 (Sergey B Kirpichev)
  • Add mpc.__format__(), see #855 (Sergey B Kirpichev)
  • Now mpf.__round__() returns mpf, see #826 and #966 (Sergey B Kirpichev)
  • Support 'b' (binary) format type for mpf/mpc, see #867 (Sergey B Kirpichev)
  • Implement mpf.__floordiv__() and mpf.__divmod__(), see #873 (Sergey B Kirpichev)
  • Add parameters for MPContext constructor, see #876 and #963 (Sergey B Kirpichev)
  • Add MPFR-compatible aliases for rounding modes, see #892 (Sergey B Kirpichev)
  • Support negative indexes in matrix, see #897 (Riccardo Orsi)
  • Better introspection support for decorated functions, see #900 (Sergey B Kirpichev)
  • Add moving sofa demo, see #924 (Sergey B Kirpichev)
  • Support spherical Bessel functions (jn/yn), #935 (Sergey B Kirpichev)
  • Add pretty_dps context property to control number of printed digits, see #933 (Sergey B Kirpichev)

... (truncated)

Changelog

Sourced from mpmath's changelog.

--1.5.0-- Released TBD

Features:

  • Support special numbers in mpf_frexp() like math.frexp(), see #1081 (Sergey B Kirpichev)
  • Add ModAB rootfinding algorithm, see #1093 (Ayush Baranwal)
  • Add Brent root-finding algorithm, see #1103 (Ayush Baranwal)
  • Correct integral path of the lerchphi() to use Laplace transform integral, see #1109 (Sergey B Kirpichev)

Compatibility:

  • Drop support for CPython 3.9, see #1058 (Sergey B Kirpichev)
  • Remove deprecated math2 and rational modules, see #1057 (Sergey B Kirpichev)
  • Remove deprecated mp.mpnumeric alias, see #1057 (Sergey B Kirpichev)
  • Remove deprecated bitcount(), fp.is_special() and to/from_pickable() functions, see #1057 (Sergey B Kirpichev)
  • Drop DeprecationWarning for force_type kwarg for matrix(), see #1057 (Sergey B Kirpichev)
  • Use signed=True per default in to_man_exp(), see #1057 (Sergey B Kirpichev)
  • Use asc=True per default for polynomial functions, see #1057 (Sergey B Kirpichev)
  • Restrict libmp exports to public API, see #1089 (Sergey B Kirpichev)

Bug fixes:

  • Fix test_hexadecimal_with_libc_bulk(), see #1049 (Doug Torrance)
  • Keep available deprecated aliases for mpc/mpf_log() (Sergey B Kirpichev)
  • Use version_file option of setuptools-scm to keep version info, see #1048 (Sergey B Kirpichev)
  • Add workaround for test on s390x, see #1061 (Sergey B Kirpichev)
  • Fix signature of root(), see #1072 (Sergey B Kirpichev)
  • Speedup removal trailing zeros in _normalize/from_man_exp(), see #1074 (Fredrik Johansson and Sergey B Kirpichev)
  • Improve documentation about rounding in the mp context, see #1079 (Sergey B Kirpichev)
  • Correct to_float() conversion for double-rounding cases (e.g. subnormals), see #1082 (Sergey B Kirpichev)
  • Fix qr_solve() failure on well-conditioned matrices with zero pivot, see #1083 (Jam Balaya)
  • Clarify to_float() docstring, see #1087 (Sergey B Kirpichev)
  • Add extra precision for summation in mpf_hypot(), see #1088 (Sergey B Kirpichev)
  • Fix typo and function names for sin/cospi(), see #1091 (Sergey B Kirpichev)
  • Raise ValueError when same sign at interval boundaries in bisection rootfinding algorithm, see #1092 (Ayush Baranwal)
  • Correct interval update for Ridder's method, see #1096 (Sergey B Kirpichev)
  • Set dynamic maxsteps value for the bisect method, see

... (truncated)

Commits
  • c1131e2 Merge pull request #1053 from skirpichev/release-1.4.1
  • d3d3eb9 Update CHANGES
  • 629daff Add a workaround for test on s390x
  • 96272f3 Revert "Add backport action"
  • e129480 Test frozen package version (#1055)
  • 1ef88b4 Amend docstring for round_digits()
  • 650520b Use version_file option of setuptools-scm to keep version info
  • 501af4a Keep forever deprecated aliases for mpc/mpf_log()
  • 6887127 Set argtypes for sprintf from ctypes
  • f3e9cf0 Update CHANGES (free-threading support)
  • 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)

Bumps [mpmath](https://github.com/mpmath/mpmath) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/mpmath/mpmath/releases)
- [Changelog](https://github.com/mpmath/mpmath/blob/master/CHANGES)
- [Commits](mpmath/mpmath@1.3.0...1.4.1)

---
updated-dependencies:
- dependency-name: mpmath
  dependency-version: 1.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 1, 2026
Dependabot bumped mpmath to 1.4.1 in the generated requirements/*.txt
exports but never ran `uv lock`, so the PR failed both Lint gates. The
resync alone was not enough here: sympy 1.14.0 (latest) declares
`mpmath>=1.1.0,<1.4`, which pinned the lock back to 1.3.0.

That bound is precautionary rather than a known incompatibility —
mpmath 1.4.1 imports under sympy 1.14.0 and evaluates correctly
(`sympy.sqrt(8).evalf()` -> 2.82842712474619, verified 2026-08-01 in a
clean venv). Nothing in this repo imports sympy or mpmath directly;
both arrive transitively through torch.

A [tool.uv] override-dependencies entry lets the package reach its
latest published release instead of staying frozen behind an upstream
bound that no longer reflects reality. Remove it once sympy widens the
range. Resynced with uv 0.11.3, the version ci.yml pins; the lock diff
touches mpmath and nothing else.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.

1 participant