github Erotemic/ubelt v1.3.6
Version 1.3.6

5 months ago

For new stuff: there is a quality of life improvements in ub.Path.chmod, you can use string-codes like ub.Path(...).chmod('+x') now! I think that's pretty neat. There isalso new functionality in ub.IndexableWalker.diff, which lets you compare similar, nested structures.

This update also vendors part of jaraco.windows so no-dependency versions of ubelt can now be installed on windows. The jaraco.windows can still be used, but it is now a truly optional dependency.

For fixed stuff: It looks like editable installs now use type annotations in their MAPPER files, so modname_to_modpath has been updated to account for this. This fixes several issues in experienced by consumers of this package.

There is also a fix that almost nobody will ever notice, but it blocked the above update from getting released for several weeks by causing a single CI job to fail. The library now handles new corner cases on pypy on windows with path related things (getting tests to pass was here far too much work - I nearly dropped pypy or windows support in frustration).

Version 1.3.6 - Released 2024-06-08

Added:

  • Add ub.IndexableWalker.diff

Fixed:

  • Added workarounds for copy / symlinks via ub.Path and ub.symlink on pypy.
  • 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.

Added

  • Support for UNIX special permission (suid/sgid/svtx) codes in Path.chmod.

Changed

  • Moved windows dependencies from requires to optional. Windows users that make
    use of these will need to update their ubelt install or explicitly depend on
    them as well.

What's Changed

Full Changelog: v1.3.5...refs/heads/release

Don't miss a new ubelt release

NewReleases is sending notifications on new releases.