summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.15.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pint: Upgrade 0.15 -> 0.16Leon Anavi2020-09-151-36/+0
| | | | | | | | | | | | | | | Upgrade to release 0.16: - Fixed issue where performing an operation of a Quantity with certain units would perform an in-place unit conversion that modified the operand in addition to the returned value - Implements Logarithmic Units like dBm, dB or decade - Drop dependency on setuptools pkg_resources to read package resources, using std lib importlib.resources instead. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pint: Upgrade 0.14 -> 0.15Leon Anavi2020-08-251-0/+36
Upgrade to release 0.15: - Change `Quantity` and `Unit` HTML (i.e., Jupyter notebook) repr away from LaTeX to a simpler, more performant pretty-text and table based repr inspired by Sparse and Dask. - Add `case_sensitive` option to registry for case (in)sensitive handling when parsing units. - Implement Dask collection interface to support Pint Quantity wrapped Dask arrays. - Started automatically testing examples in the documentation - Fixed an exception generated when reducing dimensions with three or more units of the same type. - Fixed right operand power for dimensionless Quantity to reflect numpy behavior. - Eliminated warning when setting a masked value on an underlying MaskedArray. - Add `sort` option to `formatting.formatter` to permit disabling sorting of component units in format string. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>