Revisions of python-unyt

buildservice-autocommit accepted request 1158535 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 12)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 11)
- update to 3.0.2:
  * BUG: explicitly forbid destructive edits to the default unit
    registry
  * BLD: fix minimal requirement on setuptools_scm
  * TST: cleanup an unused skip condition
  * TST: fix usage of legacy numpy.random API in tests
  * BUG: fix an issue where array functions would raise
    UnitInconsistencyError when operands' units differ by some
    dimensionless factor
  * (NEP 18) Implement and test array functions new in numpy 2.0
  * BUG: fix compat with numpy dev for np.trapezoid (previously
    named np.trapz)
  * BUG: implement missing support for `np.cbrt`
  * BUG: fix compatibility with numpy 2.0 copy semantics
  * REL: prepare release 3.0.2
  * Fix an issue where arithmetic operations on units defined in different registries and having the conversion defined in one direction would lead to a crash. See PR #164. Thank you to Clément Robert (@neutrinoceros on GitHub) for the initial bug report and fix.
buildservice-autocommit accepted request 1146748 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 10)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 1146658 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 9)
- Update to 3.0.1
  * BUG: fix backward compatibility for calling np.histogram with
    implicit range units by @neutrinoceros in #466
  * BUG: fix an issue where array functions would raise
    UnitConsistencyError on unyt arrays using non-default unit
    registries by @neutrinoceros in #463
  * TST: minimize build time in tox runs by @neutrinoceros in #426
  * BUG: fix an issue where array functions would crash
    (AttributeError) when passed non-ndarray array like objects
    (e.g. Python lists) by @neutrinoceros in #464
- Release 3.0.0
  * This new major release of unyt fixes a number of issues and
    adds a number of new features. Major contributions include:
  * Support for Python 3.8 has been dropped.
  * Support for Python 3.12 has been added.
  * Support for NumPy <1.19.3 has been dropped.
  * Support for SymPy <1.7 has been dropped.
  * NEP 18 support
  * A new unyt_dask_array class, which implements a subclass of
    standard dask arrays with units attached, has been added (PR
    #185). See :ref:`dask` for more details. Thank you to Chris
    Havlin (@chrishavlin on Github) for the contribution.
  * A number of new metric and non-metric units have been added in
    PR #441. Thank you to John ZuHone (@jzuhone on GitHub) for the
    contribution.
  * A number of common values for the solar metallicity found in
    the literature have been added as new metallicity units (PR
    #315). See :ref:`metal_conversions` for more details. Thank you
    to John ZuHone (@jzuhone on GitHub) for the contribution.
  * The "liter" unit has been added (PR #305). Thank you to Nathan
buildservice-autocommit accepted request 1089953 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 8)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 7)
- update to 2.9.5:
  * Fix a regression where arrays elements with dtype ``'int8'``
    would not compare to floats as intended.
  * Raise an error in case an array element is assigned to a new
    value with incompatible units.
buildservice-autocommit accepted request 1063758 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 6)
baserev update by copy to link target
Daniel Garcia's avatar Daniel Garcia (dgarcia) committed (revision 5)
- Update to 2.9.4:
  * Make unyt_quantity.from_string parse ints. See PR #278. Thank you to Nahan
    Goldbaum (@ngoldbaum on GitHub) for the contribution.
  * TST: migrate from tox-pyenv to tox-gh-actions #344 See PR #344. Thank you
    to Clément Robert (@neutrinoceros on GitHub) for the contribution.
  * Correctly test string comparison depending on numpy version #358 See PR
    #358. Thank you to Clément Robert (@neutrinoceros on GitHub) for the
    contribution.
  * Multiple fixes for unyt_quantity.from_string
    - fix a bug where unyt_quantity.from_string would drop part of the unit
      expression
    - fix a bug where unyt_quantity.from_string would choke on unit expressions
      starting with '*' or '/'
    - fix a bug where unyt_quantity.from_string would choke on space-separated
      unit expressions
    - fix roundtrip for unyt_quantity.from_string and unyt_quantity.to_string
      methods
    - simplify unit regexp ('**/2' isn't a valid exponent)
    - fix a bug where malformed string input would be incorrectly parsed by
      unyt_quantity.from_string
- 2.9.3:
  * Fix a future incompatibility with numpy 1.25 (unreleased) where comparing
    unyt_array objects to non-numeric objects (e.g. strings) would cause a
    crash. See PR #333. Thank you to Clément Robert (@neutrinoceros on GitHub)
    and Nathan Goldbaum (@ngoldbaum on GitHub) for the contribution.
- 2.9.2:
  * Fix an issue where taking powers of units was backwards-incompatible with
    previous versions of unyt when the exponent is not zero. See PR #249. Thank
    you to Clément Robert (@neutrinoceros on GitHub) for the contribution.
  * The import time for unyt has been reduced by skipping version checking of
buildservice-autocommit accepted request 888647 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 4)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 3)
- Update to 2.8.0:
  * Dropped support for Python 3.5.
  * Add delta_degC and delta_degF units to support temperature difference arithmetic. See PR #152. Thank you to Lee Johnston (@l-johnston on GitHub) for the contribution.
  * Fix an issue where a subsequent load of the unit registry with units that are equal but not identical leads to a crash. See PR #158. Thank you to Matthew Turk (@matthewturk on GitHub) for the initial bug report and fix.
  * Add force unit kip and pressure unit psi. Thank you to P. Talley (@otaithleigh on GitHub) for the contribution. See PR #162.
  * Fix an issue where arithmetic operations on units defined in different registries and having the conversion defined in one direction would lead to a crash. See PR #164. Thank you to Clément Robert (@neutrinoceros on GitHub) for the initial bug report and fix. 
- Do not build for Python 2, since no longer supported by upstream, and also
  do not build for Python 3.6, due to no NumPy.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 830789 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 2)
initialized devel package after accepting 830789
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 1)
- Initial commit, needed by python-yt
Displaying all 12 revisions
openSUSE Build Service is sponsored by