Releases: SciTools/cf-units
v2.1.2
v2.1.1
-
Added a UDUNITS2 -> [La]TeX converter.
cf_units.tex.tex(unit_string)
-
In order to solve the above, a formal UDUNITS2 grammar and a private parser API was added (#140)
-
Support for unicode units (e.g.
cf_units.Unit('π m²')
) (#135, #137) -
Replaced use of private
_Unit
factory function (#131) -
Improve py38 compatibility (#142)
-
Better UDUNITS2 exception handling for py3 (#136)
-
Allow pip install without needing numpy pre-installed (#145)
v2.1.0
v2.0.2
v2.0.1
v2.0.0
Technically, this release should have no breaking changes between v1.x and v2.x.
However, the major change in this release is that udunits is now wrapped via cython, not ctypes. This is in response to costly import times being experienced on distributed filesystems such as Lustre (where gcc was being called to identify the libudunits.so path).
This means that the cf_units/site.cfg is now no longer used to identify the location of libudunits, and standard LD library path definitions may be used instead.