diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-02-23 17:19:37 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-24 22:30:26 -0800 |
| commit | 53636bd5f26351133324f8084a22de9e2186758a (patch) | |
| tree | d700ff9530c7b55a3372179c8842c66f2ef85f16 /meta-python/recipes-devtools/python/python3-mpmath_1.4.0.bb | |
| parent | 172c473caf11c00ce4221f786050f0b9805d868c (diff) | |
| download | meta-openembedded-53636bd5f26351133324f8084a22de9e2186758a.tar.gz | |
python3-mpmath: Upgrade 1.3.0 -> 1.4.0
Upgrade to release 1.4.0:
- Support underscores as digit separators per PEP 515
- Add rationals converter for mpf's
- Rewrite bernpoly/eulerpoly to avoid dependency on bernoulli(1)
convention
- Support base kwarg for from_str()
- Support randmatrix() for mp.iv and mp contexts
- Added rank() function for matrices
- Add plus flag to select the B_1 sign convention for
bernoulli/bernfrac
- Add mpf.as_integer_ratio() method, support construction of mpf
from Decimal objects
- Expose lower/upper_gamma functions
- Support mpc initialization from string
- Support asinh/acosh/atanh in the fp context
- Support binary/octal/hexadecimal string output
- Support pickling for matrices and mpi
- Support matrix.__array__() dunder method
- Support more number syntaxes
- Run mpmath as a module for interactive work
- Add signed option to to_man_exp()
- Add fp.hypot
- Support inf/nan's in ctx.almosteq()
- Implement mpf.__format__()
- Support conversion from scalar ndarray's
- Support rounding modes in mpf.__format__
- Support '%' presentation type for mpf
- Support gmpy2-like rounding modes in to_str()
- Implement 'a'/'A' formating types for mpf.__format__
- Add mpc.__format__()
- Now mpf.__round__() returns mpf
- Support 'b' (binary) format type for mpf/mpc
- Implement mpf.__floordiv__() and mpf.__divmod__()
- Add parameters for MPContext constructor
- Add MPFR-compatible aliases for rounding modes
- Support negative indexes in matrix
- Better introspection support for decorated functions
- Add moving sofa demo
- Support spherical Bessel functions (jn/yn)
- Add pretty_dps context property to control number of printed digits
- Support thousands separators for formatting of fractional part
- Use PyREPL, as fallback (no IPython)
- Add exp2() and log2()
- Support rounding property for the mp context
- Add Fox H-function with rational A/B parameters (foxh())
- Provide experimental support for free-threading builds
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-mpmath_1.4.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-mpmath_1.4.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-mpmath_1.4.0.bb b/meta-python/recipes-devtools/python/python3-mpmath_1.4.0.bb new file mode 100644 index 0000000000..12ded173e9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mpmath_1.4.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # This recipe is adapted from one in meta-jupyter: | ||
| 2 | # https://github.com/Xilinx/meta-jupyter/blob/master/recipes-python/python3-mpmath_0.19.bb | ||
| 3 | |||
| 4 | SUMMARY = "Python library for arbitrary-precision floating-point arithmetic" | ||
| 5 | HOMEPAGE = "https://pypi.org/project/mpmath/" | ||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a6607bd72611b702183473dfb4e6198b" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "d272b40c031ba0ee385e7e5fc735b48560d9838a0d7fbca109919efd23580a22" | ||
| 10 | |||
| 11 | CVE_PRODUCT = "mpmath" | ||
| 12 | |||
| 13 | inherit pypi python_setuptools_build_meta | ||
| 14 | |||
| 15 | DEPENDS += "python3-setuptools-scm-native" | ||
| 16 | RDEPENDS:${PN} += " \ | ||
| 17 | python3-image \ | ||
| 18 | python3-math \ | ||
| 19 | " | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
