14 Commits

Author SHA256 Message Date
3516be8241 Accepting request 1315402 from devel:languages:python
- 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
2025-11-04 17:42:30 +00:00
7930379bc8 - 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/package/show/devel:languages:python/python-ubelt?expand=0&rev=16
2025-11-04 02:59:08 +00:00
0a892f38ba Accepting request 1237411 from devel:languages:python
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
2025-01-13 16:53:28 +00:00
f6e540b73b - 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/package/show/devel:languages:python/python-ubelt?expand=0&rev=14
2025-01-13 13:24:02 +00:00
d0c92fb71d Accepting request 1220153 from devel:languages:python
- Add patch no-lib2to3.patch:
  * Do not attempt to use lib2to3 in a doctest.

OBS-URL: https://build.opensuse.org/request/show/1220153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ubelt?expand=0&rev=5
2024-11-02 15:11:55 +00:00
705e626483 - Add patch no-lib2to3.patch:
* Do not attempt to use lib2to3 in a doctest.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ubelt?expand=0&rev=12
2024-11-02 07:08:35 +00:00
a2ec7c755c Accepting request 1194646 from devel:languages:python
- update to 1.3.6:
  * 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/request/show/1194646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ubelt?expand=0&rev=4
2024-08-19 21:45:14 +00:00
261c90724b - update to 1.3.6:
* 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
2024-08-19 07:09:29 +00:00
b2962c0810 Accepting request 1165818 from devel:languages:python
- 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
2024-04-07 20:11:37 +00:00
741e4ec9a0 - 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/package/show/devel:languages:python/python-ubelt?expand=0&rev=8
2024-04-06 12:26:44 +00:00
b90f19f3b9 Accepting request 1146495 from devel:languages:python
- Reflow the summary to avoid rpmlint exploding.

OBS-URL: https://build.opensuse.org/request/show/1146495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ubelt?expand=0&rev=2
2024-02-14 22:19:08 +00:00
23c347c6d0 - Reflow the summary to avoid rpmlint exploding.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ubelt?expand=0&rev=6
2024-02-14 03:45:18 +00:00
027bd62c6f Accepting request 1131012 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1131012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ubelt?expand=0&rev=1
2023-12-06 22:47:31 +00:00
OBS User buildservice-autocommit
3f1ff26c3d baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ubelt?expand=0&rev=4
2023-12-06 22:47:31 +00:00