- Update to 0.24.1:

* Fix custom formatter needing the registry object.
  * Support python 3.9 following difficulties installing with NumPy 2.
  * Fix default formatting of dimensionless unit issue.
  * Fix bug preventing custom formatters with modifiers working.
  * Fix detection of invalid conversion between offset and delta units.
  * Added dBW, decibel Watts, which is used in RF high power applications.
  * NumPy 2.0 support
  * Implement numpy roll (Related to issue #981)
  * Implement numpy correlate
  * Add `dim_sort` function to _formatter_helpers.
  * Add `dim_order` and `default_sort_func` properties to FullFormatter.
  * Fixed bug causing operations between arrays of quantity scalars and
    quantity holding array resulting in incorrect units.
  * Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal.
  * Added refractive index units.
  * Fix converting to offset units of higher dimension e.g. gauge pressure
  * Fix unhandled TypeError when auto_reduce_dimensions=True and
    non_int_type=Decimal
  * Improved error message in `get_dimensionality()` when non existent units
    are passed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=35
This commit is contained in:
2024-07-08 01:30:38 +00:00
committed by Git OBS Bridge
parent 60632a5f1b
commit f67c65551d
4 changed files with 44 additions and 11 deletions

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Mon Jul 8 01:28:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.24.1:
* Fix custom formatter needing the registry object.
* Support python 3.9 following difficulties installing with NumPy 2.
* Fix default formatting of dimensionless unit issue.
* Fix bug preventing custom formatters with modifiers working.
* Fix detection of invalid conversion between offset and delta units.
* Added dBW, decibel Watts, which is used in RF high power applications.
* NumPy 2.0 support
* Implement numpy roll (Related to issue #981)
* Implement numpy correlate
* Add `dim_sort` function to _formatter_helpers.
* Add `dim_order` and `default_sort_func` properties to FullFormatter.
* Fixed bug causing operations between arrays of quantity scalars and
quantity holding array resulting in incorrect units.
* Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal.
* Added refractive index units.
* Fix converting to offset units of higher dimension e.g. gauge pressure
* Fix unhandled TypeError when auto_reduce_dimensions=True and
non_int_type=Decimal
* Improved error message in `get_dimensionality()` when non existent units
are passed.
-------------------------------------------------------------------
Sun Feb 4 10:46:35 UTC 2024 - Dirk Müller <dmueller@suse.com>