github Erotemic/ubelt v1.2.3
Version 1.2.3

latest releases: v1.3.5, v1.3.4, v1.3.3...
17 months ago

Added

  • Support for FreeBSD in util_platform
  • ub.Path.copy and ub.Path.move
  • Tentative Python 3.11 support
  • ub.utext which is a repr2 with new defaults.
  • ub.IndexableWalker.allclose method to replace indexable_allclose

Changed

  • ub.schedule_deprecation can now accept the strings "soon" or "now" for "when" arguments.
  • ub.schedule_deprecation can now accept stacklevel as as an argument.
  • ub.Path.apppdir can now be called without arguments.
  • Deprecate TempDir
  • ub.Timer can now accept ns as a keyword to enable nanosecond resolution.
  • ProgIter.format_message return value has changed.
  • ub.Path.mkdir now returns itself
  • Speedup dict_hist in the basic case by 2x

Fixed

  • Issue in indexable_allclose where tolerances were not respected.
  • Issue in modname_to_modpath with exclude and editable installs.
  • Incompatibility with pathlib in PythonPathContext
  • Fixed issue in progiter with line clears
  • Issue in import_module_from_modname with editable installs where it would try to match modules that had the requested module as a prefix.
  • The timeout argument is now respected in the thread / process case of JobPool

Don't miss a new ubelt release

NewReleases is sending notifications on new releases.