summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pint_0.17.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pint: Upgrade 0.17 -> 0.18Leon Anavi2021-11-041-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 0.18: - Implement use of Quantity in the Quantity constructor (convert to specified units). - Rename .readthedocs.yml to .readthedocs.yaml, update MANIFEST.in - Fix a few small typos. - Fix babel format for `Unit`. - Fix handling of positional max/min arguments in clip function. - Fix string formatting of numpy array scalars. - Fix default format for Measurement class - Fix parsing of pretty units with same exponents but different sign. - Convert the application registry to a wrapper object. - Add documentation for the string format options. - Support custom units formats. - Autoupdate pre-commit hooks. - Improved the application registry. - Improved testing isolation using pytest fixtures. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python3-pint: Upgrade 0.16.1 -> 0.17Leon Anavi2021-03-261-0/+35
Upgrade to release 0.17: - Add the Wh unit for battery capacity measurements - Fix issue with reducable dimensionless units when using power (Quantity**ndarray) - Fix comparisons between Quantities and Measurements. - UnitsContainer returns false if other is str and cannnot be parsed - Fix numpy.linalg.solve unit output. - Support numpy.lib.stride_tricks.sliding_window_view. - NEP29 Support docs. - Move all tests to pytest. - Fix to __pow__ and __ipow__ - Migrate to Github Actions. - Update linter to use pre-commit. - Quantity comparisons now ensure other is Quantity. - Add sign function compatibility. - Fix scalar to ndarray tolist. - Fix tolist function with scalar ndarray. - Corrected typos and dacstrings - Implements a first benchmark suite in airspeed velocity (asv). - Power for pseudo-dimensionless units. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>