python-unyt

Edit Package python-unyt
No description set
Refresh
Refresh
Source Files
Filename Size Changed
python-unyt.changes 0000005794 5.66 KB
python-unyt.spec 0000002196 2.14 KB
unyt-2.9.4.tar.gz 0001632003 1.56 MB
Revision 3 (latest revision is 6)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1063758 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 3)
- 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
    other packages. See PR #251. Thank you to Clément Robert (@neutrinoceros on
    GitHub) for the contribution.
- 2.9.0:
  * Dropped support for Python 3.6 and 3.7.
  * Added support for Python 3.8, 3.9 and 3.10.
  * Fix an issue where SI prefixes of the degC units would give incorrect
    values in conversions. See PR #176. Thank you to Lee Johnston (@l-johnston
    on GitHub) for the contribution.
  * Fix an issue when using matplotlib_support, plot an empty unyt array, would
    result in an error when changing units. See PR #180. Thank you to Josh
    Borrow (@JBorrow on GitHub) for the contribution.
  * Fix an issue where units would be printed twice in formatted strings with
    an unyt_array embedded. See PR #188. Thank you to Clément Robert
    (@neutrinoceros on GitHub) for the contribution.
  * Add a method to parse a unyt_quantity from a string expression. See PR
    #191. Thank you to Clément Robert (@neutrinoceros on GitHub) for the
    contribution.
  * Fix an issue where a unyt_array with dtype int8 could not be converted to a
    different unit. See PR #197. Thank you to Clément Robert (@neutrinoceros on
    GitHub) for the contribution.
  * The import time for unyt has been reduced. See PR #199. Thank you to
    Clément Robert (@neutrinoceros on GitHub) for the contribution.
  * Fix an issue where taking an unyt_array or unyt_quantity to a zero power
    would retain the units of the original array or quantity instead of
    converting to a dimensionless array. See PR #204. Thank you to Josh Borrow
    (@JBorrow on GitHub) for the contribution.
  * Add support for coercing iterables of unyt_array objects with nonuniform
    dimensionally equivalent units to a single unyt_array. See PR #211. Thank
    you to Nathan Goldbaum (@ngoldbaum on GitHub) for the contribution.
  * Add the civil engineering units pli, plf, psf, kli, klf, and ksf. See PR
    #217. Thank you to @osnippet on GitHub for the contribution.
  * Fix typos in constants and unit prefixes. See PR #218. Thank you to Clément
    Robert (@neutrinoceros on GitHub) for the contribution.
  * Fix an issue where multiplying a 1-element unyt_array would return a
    unyt_quantity. See PR #225. Thank you to Clément Robert (@neutrinoceros on
    GitHub) for the contribution.
  * Add the Rydberg constant R_∞ and unit Ry, add the dimension
    angular_frequency and the unit rpm, and increase the precision of
    Avogadro's number. See PR #228.
  * Fix an issue where np.divide.reduce would return incorrect units for
    unyt_array instances. See PR #230. Thank you to Kyle Oman (@kyleaoman on
    GitHub) for the contribution.
Comments 0
openSUSE Build Service is sponsored by