Added
- Support for FreeBSD in
util_platform
ub.Path.copy
andub.Path.move
- Tentative Python 3.11 support
ub.utext
which is a repr2 with new defaults.ub.IndexableWalker.allclose
method to replaceindexable_allclose
Changed
ub.schedule_deprecation
can now accept the strings "soon" or "now" for "when" arguments.ub.schedule_deprecation
can now acceptstacklevel
as as an argument.ub.Path.apppdir
can now be called without arguments.- Deprecate
TempDir
ub.Timer
can now acceptns
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 ofJobPool