Compare commits

6 Commits

Author SHA256 Message Date
80a3a5b2d8 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
f89da0b532 Accepting request 1237402 from home:glaubitz:branches:devel:languages:python
- 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/1237402
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
f6823f48ab 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
57af2fcc7a - 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
03c209c67e 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
1783e8b204 - 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 5 additions and 24 deletions

View File

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

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

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

View File

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