meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.25.2.bb
Wang Mingyu b41e1ded7e
python3-pint: upgrade 0.25 -> 0.25.2
Changelog:
===========
- Revert typing change in 'pint.Unit'
- Fix raising exception in 'Quantity.from_tuple' with invalid units
- Several unit definition fixes.
- Add devcontainer.json to add GitHub Codespace support
- Add support for 'numpy.geomspace'
- Add support for 'linalg.diagonal', 'linalg.matrix_transpose', 'diag', 'tril', 'triu', 'linalg.eigvals', 'linalg.eigvalsh', 'linalg.matrix_norm' and 'linalg.vector_norm'
- An example of performing currency conversions that change over time has been added to the docs.
- Add support for 'pint.Quantity' being used as Generic.
- Add a typing and IDE autocomplete page to the documentation.
- Fixed 'nan'/'nan' to return 'nan' rather than 1 in unit conversion

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-11 10:19:43 -08:00

36 lines
884 B
BlitzBasic

SUMMARY = "Physical quantities module"
DESCRIPTION = "Physical quantities Python module"
HOMEPAGE = "https://github.com/hgrecco/pint"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
inherit pypi python_hatchling ptest-python-pytest python_setuptools_build_meta
SRC_URI[sha256sum] = "85a45d1da8fe9c9f7477fed8aef59ad2b939af3d6611507e1a9cbdacdcd3450a"
DEPENDS += "python3-setuptools-scm-native python3-hatch-vcs-native"
BBCLASSEXTEND = "native nativesdk"
PTEST_PYTEST_DIR = "pint"
RDEPENDS:${PN} += " \
python3-setuptools \
python3-packaging \
python3-platformdirs \
"
# python3-misc for timeit.py
RDEPENDS:${PN}-ptest += " \
python3-appdirs \
python3-attrs \
python3-flexcache \
python3-flexparser \
python3-misc \
python3-pytest-benchmark \
python3-pytest-subtests \
python3-statistics \
"