summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.25.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pint: upgrade 0.25 -> 0.25.2Wang Mingyu2025-11-111-35/+0
| | | | | | | | | | | | | | | | | | 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>
* python3-pint: Upgrade 0.24.4 -> 0.25Leon Anavi2025-10-061-0/+35
Upgrade to release 0.25: - Bump minimum Python version to 3.11 - Upgrade code to Python 3.11 - Move to pixi/uv/ruff - Refactor compat to make it easier to test - Implemented several pixi environment and tasks to simplify development - Add docs to the functions in pint.testing - Fix round function returning float instead of int - Fix return type of PlainQuantity.to - Update constants to CODATA 2022 recommended values - Fixed issue with .to_compact and Magnitudes with uncertainties / Quantities with units - Fixed issue in unit conversion which led to loss of precision when using decimal - Add conductivity dimension - Add absorbance unit and dimension - Add membrane filtration flux and permeability dimensionality, and shorthand "LMH" - Fix find_shortest_path to use breadth first search - Fix typo in pyproject.toml: rename AS_MIP to HAS_MIP so that MIP support is correctly detected - Fix handling of extra arguments in conversion with enabled contexts - Fix swapped left and right arguments in interp - Fix formatted scientific notation bug in Python 3.13 - Fix ability to add dB units, and to add dB (dimensionless) to referenced dB units, such as dBm or dBW - Improve pressure unit definitions in default definition file - Avoid and document known issues with MIP during install, testing and runtime - Fix issue with Dask by restricting its version to < 2025.3.0 - Skip false xfail tests linked to a known numpy issue - Improve Contributing documentation - Add Quantity.to_unprefixed` and `ito_unprefixed methods that remove SI prefixes without converting to base units Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>