15
0

- Update to 0.13.0

* Modernized project metadata (#208)
  * Fixed references to old branch (#209)
  * Tested up to Python 3.14 (#208)
  * Drop support for Python 3.8 (#208)
  * Use modern type annotations, clean up lint (#219, #220, #221)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioitertools?expand=0&rev=12
This commit is contained in:
2025-11-13 16:38:24 +00:00
committed by Git OBS Bridge
commit 6da0c647d5
6 changed files with 176 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,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68adc7afe6f428f9b93a118cba3c5f844fb2677bf74b28295882242d51bccd24
size 26993

View File

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

View File

@@ -0,0 +1,85 @@
-------------------------------------------------------------------
Thu Nov 13 13:37:44 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.13.0
* Modernized project metadata (#208)
* Fixed references to old branch (#209)
* Tested up to Python 3.14 (#208)
* Drop support for Python 3.8 (#208)
* Use modern type annotations, clean up lint (#219, #220, #221)
-------------------------------------------------------------------
Mon Nov 4 13:09:07 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.12.0:
* New: added `itertools.batched()` from Python 3.13 (#177)
* New: added `builtins.tuple()` (#152)
* Docs: fixed rendering of shell sections (#183)
* Python: added support for 3.12 and 3.13 (#154, #192)
* Python: dropped support for 3.6 and 3.7 (#154)
* Dev: updated gitignore and contributing guide (#176, #192)
* Dev: use `uv` for creating venv and installing deps when available (#192)
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
- Switch upstream source tarball from PyPi to Github
-------------------------------------------------------------------
Mon Oct 17 12:04:35 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.11.0:
- New: `before_and_after` from `more_itertools` (#111)
- Removed: `loop` parameter is now removed from asyncio functions (#136)
- Docs: fixed docstring for `builtins.max` (#107)
- Docs: can now be built without installing package (#135)
- Python: Added support for Python 3.11 (#133)
- Python: Deprecated support for Python 3.6, to be removed in 0.12.0
- from version 0.10.0:
- New `as_generated()` function for consuming multiple iterables (#99)
- from version 0.10.0b1:
- New `as_generated()` function for consuming multiple iterables (#99)
- from version 0.9.0:
- Python 3.10 support (#84, #97)
- Fixed: `as_completed()` will now cancel pending tasks when the timeout
threshold has been reached.
- Fixed: `zip()` will now gather all tasks correctly when exceptions are
raised, resulting in no pending tasks being unawaited.
- DEPRECATED: `loop` parameters to asyncio functions are ignored, and will
be removed entirely in v0.11.0. This is for 3.10 compatibility, as well
as to follow common practice and guidance around asyncio.
- Drop patches for issues fixed upstream
- aioitertools-remove-loop.patch
- Switch build system to pyproject.toml
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Thu Jan 6 22:21:54 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Add aioitertools-remove-loop.patch for python310 compatibility
gh#omnilib/aioitertools#84
-------------------------------------------------------------------
Tue Aug 17 10:11:54 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.8.0:
- Added `builtins.any()` and `builtins.all()` (#44)
- `builtins.next()` takes an optional `default` parameter (#40, #41)
- `asyncio.gather()` now handles cancellation (#64)
- Better exception handling in `itertools.tee()` (#47)
- Removed dependency on typing_extensions for Python 3.8 and newer (#49)
- Improved documentation and formatting
- Drop patches for issues fixed upstream
- stdlib-typing_extensions.patch
-------------------------------------------------------------------
Thu May 13 17:58:59 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 0.7.1:
- Fix groupby() not working with empty iterables (#39)
- Add stdlib-typing_extensions.patch making typing_extensions
package just an optional requirement (gh#omnilib/aioitertools#49).
-------------------------------------------------------------------
Fri Jul 3 13:03:16 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Initial packaging (v0.7.0)

61
python-aioitertools.spec Normal file
View File

@@ -0,0 +1,61 @@
#
# spec file for package python-aioitertools
#
# Copyright (c) 2022 SUSE LLC
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-aioitertools
Version: 0.13.0
Release: 0
Summary: Itertools and builtins for AsyncIO and mixed iterables
License: MIT
Group: Development/Languages/Python
URL: https://aioitertools.omnilib.dev
Source: https://github.com/omnilib/aioitertools/archive/v%{version}.tar.gz#/aioitertools-%{version}.tar.gz
BuildRequires: %{python_module asyncio}
BuildRequires: %{python_module flit-core > 2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module typing_extensions if %python-base < 3.10}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if 0%{?python_version_nodots} < 310
Requires: python-typing_extensions >= 4.0
%endif
BuildArch: noarch
%python_subpackages
%description
Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables.
%prep
%autosetup -p1 -n aioitertools-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%files %{python_files}
%doc README.md CHANGELOG.md
%license LICENSE
%{python_sitelib}/aioitertools
%{python_sitelib}/aioitertools-%{version}*-info
%changelog