14
0
forked from pool/python-ubelt

Compare commits

8 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
4 changed files with 24 additions and 5 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Nov 4 02:58:49 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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
-------------------------------------------------------------------
Mon Jan 13 12:39:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ubelt
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-ubelt
Version: 1.3.7
Version: 1.4.0
Release: 0
Summary: Python utility belt containing simple tools
License: Apache-2.0
URL: https://github.com/Erotemic/ubelt
Source: https://github.com/Erotemic/ubelt/archive/refs/tags/v%{version}.tar.gz#/ubelt-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6307f1bb29fc1615000e5ff32fef47c9c18435f2a530f6df93ab8fcb5981cba4
size 374636

3
ubelt-1.4.0-gh.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0dd05b81adc4353334e7edcad91031c6da8c7375c738a29979f27ccd85bf4f51
size 376453