Revisions of python-Pint

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1143987 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 18)
- update to 0.23:
  * Add _get_conversion_factor to registry with cache.
  * Homogenize input and ouput of internal regitry functions to
    facility typing, subclassing and wrapping.
    (_yield_unit_triplets, )
  * Generated downstream_status page to track the
    state of downstream projects.
  * Improve typing annotation.
  * Updated to flexparser 0.2.
  * Faster wraps
  * Add codspeed github action.
  * Move benchmarks to pytest-benchmarks.
  * Support pytest on python 3.12 wrt Fraction formatting change
  * Fixed Transformation type protocol.
  * Documented to_preferred and created added an
    autoautoconvert_to_preferred registry option.
  * Enable Pint to parse uncertainty numbers.
  * Optimize matplotlib unit conversion for Quantity arrays
  * Add numpy.linalg.norm implementation.

  * Better support for pandas and dask.
  * Implements a first benchmark suite in airspeed velocity (asv).
  - Improved behaviour in ScaleConverter, OffsetConverter
  - Reimplemented loading of default definitions to allow Pint in
  - Added UnitRegistry () operator to parse
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1057861 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 15)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 886518 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 12)
- Update to 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. (Issue #1246)
  * Support numpy.lib.stride_tricks.sliding_window_view. (Issue #1255)
  * Move all tests to pytest.
  * Quantity comparisons now ensure other is Quantity.
  * Add sign function compatibility.
  * Fix scalar to ndarray tolist.
  * Fix tolist function with scalar ndarray.
  * Implements a first benchmark suite in airspeed velocity (asv). 
  * Power for pseudo-dimensionless units.
- No longer build for Python 3.6, due to no NumPy.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 835385 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 10)
- update to 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
  - 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. (Issue #1136)
  - 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 819352 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 9)
- update to 0.14
  * Changes required to support Pint-Pandas 0.1.
  * Reinstated support for pickle protocol 0 and 1, which is required by pytables
    (Issue #1036, Thanks Guido Imperiale)
  * Fixed bug with multiplication of Quantity by dict (Issue #1032)
  * Bare zeros and NaNs (not wrapped by Quantity) are now gracefully accepted by all numpy
    operations; e.g. np.stack([Quantity([1, 2], "m"), [0, np.nan]) is now valid, whereas
    np.stack([Quantity([1, 2], "m"), [3, 4]) will continue raising DimensionalityError.
    (Issue #1050, Thanks Guido Imperiale)
  * NaN is now treated the same as zero in addition, subtraction, equality, and
    disequality (Issue #1051, Thanks Guido Imperiale)
  * Fixed issue where quantities with a very large magnitude would throw an IndexError
    when using to_compact()
  * Fixed crash when a Unit with prefix is declared for the first time while a Context
    containing unit redefinitions is active
    (Issues #1062 and #1097, Thanks Guido Imperiale)
  * New implementation of 'Lx' String Format Type Option
    The old implementation treated 'Lx' as 'S' as produced by 'uncertainties'
    package, but that is not fully compatible with SIunitx. The new code protects
    SIunitx by fixing what unceratinties produces.
    (Issue #814)
  * Added link to budding `pint-xarray` interface library to the docs, next to
    the link to pint*pandas. (Thanks Tom Nicholas.)
  * Removed outdated `_dir` attribute of `UnitsRegistry`, and added `__iter__`
    method so that now `list(ureg)` returns a list of all units in registry.
    (Issue #1072, Thanks Tom Nicholas)
  * Replace pkg_resources.version to importlib.metadata.version. (Issue #1083)
  * Fix typo in docs for wraps example with optional arguments. (Issue #1088)
  * Add momentum as a dimension
  * Fixed a bug where unit exponents were only partially superscripted in HTML format
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 811107 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 8)
- update to 0.11:
  - Added pint-convert script.
  - Remove `default_en_0.6.txt`.
  - Make `__str__` and `__format__` locale configurable.
  (Issue #984)
  - Quantities wrapping NumPy arrays will no longer warning for the changed
  array function behavior introduced in 0.10.
  (Issue #1029, Thanks Jon Thielen)
  - **BREAKING CHANGE**:
  The array protocol fallback deprecated in version 0.10 has been removed.
  (Issue #1029, Thanks Jon Thielen)
  - Now we use `pyproject.toml` for providing `setuptools_scm` settings
  - Remove `default_en_0.6.txt`
  - Reorganize long_description.
  - Moved Pi to definitions files.
  - Use ints (not floats) a defaults at many points in the codebase as in Python 3
  the true division is the default one.
  - **BREAKING CHANGE**:
  Added `from_string` method to all Definitions subclasses. The value/converter
  argument of the constructor no longer accepts an string.
  It is unlikely that this change affects the end user.
  - Added additional NumPy function implementations (allclose, intersect1d)
  (Issue #979, Thanks Jon Thielen)
  - Allow constants in units by using a leading underscore (Issue #989, Thanks
  Juan Nunez-Iglesias)
  - Fixed bug where to_compact handled prefix units incorrectly (Issue #960)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 805763 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 7)
- Package requires pytest 4.x or newer
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 795783 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 6)
- Remove py2 dep as the package is marked as python3 only
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 690080 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 4)
- Fix funcsigs dependency
- Remove unused devel package dep
- Remove test bconds

- Update to version 0.9:
  - Add support for registering with matplotlib’s unit handling
    (gh#hgrecco/pint#317, thanks dopplershift)
  - Add converters for matplotlib’s unit support.
    (gh#hgrecco/pint#317, thanks Ryan May)
  - Fix unwanted side effects in auto dimensionality reduction.
    (gh#hgrecco/pint#516, thanks Ben Loer)
  - Allow dimensionality check for non Quantity arguments.
  - Make Quantity and UnitContainer objects hashable.
    (gh#hgrecco/pint#286, thanks Nevada Sanchez)
  - Fix unit tests errors with numpy >=1.13.
    (gh#hgrecco/pint#577, thanks cpascual)
  - Avoid error in in-place exponentiation with numpy > 1.11.
    (gh#hgrecco/pint#577, thanks cpascual)
  - fix compatible units in context. (thanks enrico)
  - Added warning for unsupported ufunc. (gh#hgrecco/pint#626,
    thanks kanhua)
  - Improve IPython pretty printers. (gh#hgrecco/pint#590, thanks
    tecki)
  - Drop Support for Python 2.6, 3.0, 3.1 and 3.2.
    (gh#hgrecco/pint#567)
  - Prepare for deprecation announced in Python 3.7
    (gh#hgrecco/pint#747, thanks Simon Willison)
  - Added several new units and Systems (gh#hgrecco/pint#749,
    gh#hgrecco/pint#737)
  - Started experimental pandas support (gh#hgrecco/pint#746 and
Displaying all 18 revisions
openSUSE Build Service is sponsored by