17
0

- Update to 3.9.1:

* Made tests far more reliable and fixed python_requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-utils?expand=0&rev=22
This commit is contained in:
2025-08-12 04:03:50 +00:00
committed by Git OBS Bridge
commit 04bf4ad8ae
6 changed files with 194 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,95 @@
-------------------------------------------------------------------
Tue Aug 12 03:55:27 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.9.1:
* Made tests far more reliable and fixed python_requires
-------------------------------------------------------------------
Thu Jun 12 05:01:33 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jun 10 15:16:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sun Feb 4 18:30:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.8.2:
* Windows can also return an OSError instead of a ValueError
for a `fromtimestamp` overflow
-------------------------------------------------------------------
Tue Jan 9 21:32:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.8.1:
* fixed silly typo
- update to 3.8.0:
* Added slicabledeque
- update to 3.7.0:
* Fixed several typing issues and added more thorough tests
- update to 3.6.1:
* Increased `typing-extensions` version requirement to fix #38
- update to 3.6.0:
* Added extra containers such as UniqueList and SlicableDeque.
Added full pyright strict and mypy type checks
- update to 3.5.2:
* Added import shortcuts for container classes
- update to 3.5.1:
* Improved type hinting thanks to @jorenham
- update to 3.5.0:
* Added unique list container
-------------------------------------------------------------------
Tue Dec 13 07:43:32 UTC 2022 - pgajdos@suse.com
- disable flaky test_timeout_generator
-------------------------------------------------------------------
Mon Dec 12 15:15:16 UTC 2022 - pgajdos@suse.com
- version update to 3.4.5
* no upstream changelog, see
https://github.com/wolph/python-utils/commits/develop
- python-six is not required
-------------------------------------------------------------------
Wed Dec 8 09:03:34 UTC 2021 - pgajdos@suse.com
- do not require pytest-runner for build, it is not needed
-------------------------------------------------------------------
Sat Oct 23 16:28:04 UTC 2021 - Axel Braun <axel.braun@gmx.de>
- version 2.5.6
-------------------------------------------------------------------
Fri Mar 20 11:00:23 UTC 2020 - pgajdos@suse.com
- version update to 2.4.0
* added map/remap/scale/rescale function
-------------------------------------------------------------------
Tue Dec 4 12:53:10 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sun Jul 29 11:23:17 UTC 2018 - jengelh@inai.de
- Ensure neutrality/relevance of description.
-------------------------------------------------------------------
Thu May 24 17:40:45 UTC 2018 - toddrme2178@gmail.com
- Update to 2.3.0
* Added several time methods and terminal size detection
- Fix tests
- spec file cleanups
-------------------------------------------------------------------
Tue Nov 7 18:25:29 UTC 2017 - toddrme2178@gmail.com
- initial version

69
python-python-utils.spec Normal file
View File

@@ -0,0 +1,69 @@
#
# spec file for package python-python-utils
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-python-utils
Version: 3.9.1
Release: 0
Summary: Utilities not included with the standard Python install
License: BSD-3-Clause
URL: https://github.com/WoLpH/python-utils
Source: https://files.pythonhosted.org/packages/source/p/python-utils/python_utils-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing-extensions}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-loguru
Requires: python-typing-extensions
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module loguru}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
Python Utils is a collection of Python functions and
classes which make common patterns shorter and easier.
%prep
%setup -q -n python_utils-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
mv pytest.ini{,.hide}
skip='test_timeout_generator' # obs rq#1042418
%pytest -k "not $skip"
mv pytest.ini{.hide,}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/python[-_]utils
%{python_sitelib}/python[-_]utils-%{version}.dist-info
%changelog

View File

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

View File

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