- Update to 1.4.0:
* Added
+ Added: ub.Path.relative_to now backports the walk_up feature from
Python 3.12
+ Add keys and values method to IndexableWalker
* Changed
+ Removed support for 3.6 and 3.7
+ ub.hash_data can how hash dataclasses by default
+ Add experimental support for "interpreter" backend in Executor.
+ ub.Path.walk now supports the same signature as the new version in
Python 3.12
+ Support FORCE_COLOR
* Fixed
+ Version checking issue in util-import
OBS-URL: https://build.opensuse.org/request/show/1315402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ubelt?expand=0&rev=7
* Added
+ Added: ub.Path.relative_to now backports the walk_up feature from
Python 3.12
+ Add keys and values method to IndexableWalker
* Changed
+ Removed support for 3.6 and 3.7
+ ub.hash_data can how hash dataclasses by default
+ Add experimental support for "interpreter" backend in Executor.
+ ub.Path.walk now supports the same signature as the new version in
Python 3.12
+ Support FORCE_COLOR
* Fixed
+ Version checking issue in util-import
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ubelt?expand=0&rev=16
Forwarded request #1237402 from glaubitz
- Update to 1.3.7
* Added `requestkw` to `ub.download`.
* Minor test issues.
* `ub.IndexableWalker.diff` for empty inputs
* Bug in `memoize_method` which could produce incorrect results
if methods from different instances are assigned to variables.
* Rare error in `test_copy_directory_cases` test due to list sorting.
* Added module name printout to `schedule_deprecation`
* `ub.hash_data` now supports `datatime.datetime`, `datetime.date`,
`decimal.Decimal` objects.
- Drop no-lib2to3.patch, fixed upstream
- Use Python 3.11 on SLE-15 by default
OBS-URL: https://build.opensuse.org/request/show/1237411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ubelt?expand=0&rev=6
* Added `requestkw` to `ub.download`.
* Minor test issues.
* `ub.IndexableWalker.diff` for empty inputs
* Bug in `memoize_method` which could produce incorrect results
if methods from different instances are assigned to variables.
* Rare error in `test_copy_directory_cases` test due to list sorting.
* Added module name printout to `schedule_deprecation`
* `ub.hash_data` now supports `datatime.datetime`, `datetime.date`,
`decimal.Decimal` objects.
- Drop no-lib2to3.patch, fixed upstream
- Use Python 3.11 on SLE-15 by default
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ubelt?expand=0&rev=14
* Add `ub.IndexableWalker.diff`
* `ub.import_module_from_path` now correctly accepts `PathLike`
objects.
* `ub.modname_to_modpath` fixed in cases where editable
installs use type annotations in their MAPPING definition.
* Support for UNIX special permission (suid/sgid/svtx) codes in
`Path.chmod`.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ubelt?expand=0&rev=10
- update to 1.3.5:
* New wrapper around `pathlib.Path.chmod` in
`ubelt.Path.chmod`. Can now specify string codes like
"u+x" or "+rw". Old stat logic works as it previously did.
* Allow the argument to `ubelt.cmd` to be a `PathLike` object,
which we will expect to be an executable.
* `ub.modname_to_modpath` now handles cases where editable
packages have modules where the name is different than the
package.
* Fixed deprecated usage of `ast.Num`
- Reflow the summary to avoid rpmlint exploding.
OBS-URL: https://build.opensuse.org/request/show/1165818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ubelt?expand=0&rev=3
* New wrapper around `pathlib.Path.chmod` in
`ubelt.Path.chmod`. Can now specify string codes like
"u+x" or "+rw". Old stat logic works as it previously did.
* Allow the argument to `ubelt.cmd` to be a `PathLike` object,
which we will expect to be an executable.
* `ub.modname_to_modpath` now handles cases where editable
packages have modules where the name is different than the
package.
* Fixed deprecated usage of `ast.Num`
- Reflow the summary to avoid rpmlint exploding.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ubelt?expand=0&rev=8